commit | 0b6dce4061f3b46a9715bc50fbb289c9835b3c6d | [log] [tgz] |
---|---|---|
author | Akron <nils@diewald-online.de> | Wed Aug 05 12:17:19 2020 +0200 |
committer | Akron <nils@diewald-online.de> | Wed Aug 05 12:17:19 2020 +0200 |
tree | 231c60bdbb14f5935380e885632d10cf1c9368d1 | |
parent | b65e909c4b3136e240fdbcbad6de65780d4aaa08 [diff] |
Replace deprecated MultiTerm add() method from Glemm parser Change-Id: If1126b89447bfa1d427189ff27e9a73158549e4f
diff --git a/lib/KorAP/XML/Annotation/Glemm/Morpho.pm b/lib/KorAP/XML/Annotation/Glemm/Morpho.pm index 61f4d9b..582d89b 100644 --- a/lib/KorAP/XML/Annotation/Glemm/Morpho.pm +++ b/lib/KorAP/XML/Annotation/Glemm/Morpho.pm
@@ -40,8 +40,8 @@ }; }; - $mtt->add( - term => 'glemm/l:' . + $mtt->add_by_term( + 'glemm/l:' . ($composition ? '+' : '_') . ($derivation ? '+' : '_') . $lemma