Skip to content

Commit

Permalink
Lemmatization is not UD-style or non-UD-style. (Usually.)
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-zeman committed May 29, 2019
1 parent 48de6ed commit 6b74c8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion udlib.pm
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,9 @@ sub generate_markdown_treebank_overview
if($metadata->{$annotation} eq 'manual native')
{
$md .= "annotated manually";
unless($annotation eq 'XPOS')
# It probably does not make sense to speak about "UD style" lemmatization.
# And it would be definitely wrong with XPOS.
unless($annotation =~ m/^(Lemmas|XPOS)$/)
{
$md .= ", natively in UD style";
}
Expand Down

0 comments on commit 6b74c8b

Please sign in to comment.