Skip to content

Commit

Permalink
The ExtPos values must match UPOS from UD rather than Interset pos.
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-zeman committed Nov 22, 2024
1 parent a9f1227 commit 0ad3fdd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/Lingua/Interset/FeatureStructure.pm
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ my %matrix = @_matrix =
'extpos' =>
{
'priority' => 12,
'values' => ['noun', 'adj', 'num', 'verb', 'adv', 'adp', 'conj', 'part', 'int', ''],
'values' => ['noun', 'adj', 'num', 'verb', 'adv', 'adp', 'sconj', 'cconj', 'part', 'intj', ''],
'replacements' =>
[
['part' ],
Expand All @@ -122,8 +122,9 @@ my %matrix = @_matrix =
['num', 'adj' ],
['adv' ],
['adp', 'adv' ],
['conj', 'adp' ],
['int' ]
['sconj', 'adp', 'sconj' ],
['cconj', 'sconj', 'adp' ],
['intj' ]
],
'uname' => 'ExtPos'
},
Expand Down

0 comments on commit 0ad3fdd

Please sign in to comment.