make cmp_str a noop except for the tradition that needs it
Tara L Andrews [Wed, 22 Feb 2012 20:09:52 +0000 (21:09 +0100)]
lib/Text/Tradition/Parser/Util.pm

index 2cca6e8..9110655 100644 (file)
@@ -141,6 +141,7 @@ Don't use this. Really.
 sub cmp_str {
     my( $reading ) = @_;
     my $word = $reading->text();
+    return $word unless $reading->collation->tradition->name =~ /158/;
     $word = lc( $word );
     $word =~ s/\W//g;
     $word =~ s/v/u/g;