projects
/
scpubgit/stemmatology.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
a7f4020
)
fix Lexeme to handle empty wordform list input
Tara L Andrews [Thu, 7 Jun 2012 00:35:45 +0000 (
02:35
+0200)]
lib/Text/Tradition/Collation/Reading/Lexeme.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Text/Tradition/Collation/Reading/Lexeme.pm
b/lib/Text/Tradition/Collation/Reading/Lexeme.pm
index
98814e0
..
b6c7693
100644
(file)
--- a/
lib/Text/Tradition/Collation/Reading/Lexeme.pm
+++ b/
lib/Text/Tradition/Collation/Reading/Lexeme.pm
@@
-3,6
+3,7
@@
package Text::Tradition::Collation::Reading::Lexeme;
use Moose;
use JSON ();
use Module::Load;
+use Text::Tradition::Collation::Reading::WordForm;
=head1 NAME
@@
-78,6
+79,7
@@
has 'wordform_matchlist' => (
'matching_form' => 'get',
'add_matching_form' => 'push',
},
+ default => sub { [] },
);
has 'is_disambiguated' => (