projects
/
scpubgit/stemmatology.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
31aaf44
)
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
patch
|
blob
|
blame
|
history
diff --git
a/lib/Text/Tradition/Parser/Util.pm
b/lib/Text/Tradition/Parser/Util.pm
index
2cca6e8
..
9110655
100644
(file)
--- a/
lib/Text/Tradition/Parser/Util.pm
+++ b/
lib/Text/Tradition/Parser/Util.pm
@@
-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;