Skip to content

Commit 46022aa

Browse files
committed
Do not set Polarity=Neg for abstract nodes corresponding to the particle "ne".
1 parent a2f73fd commit 46022aa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/Treex/Block/T2A/GenerateEmptyNodes.pm

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,10 @@ sub guess_and_set_morphology
197197
elsif($tlemma eq '#Neg')
198198
{
199199
$anode->set_tag('PART');
200-
$anode->iset()->set_hash({'pos' => 'part', 'polarity' => 'neg'});
200+
# It would make sense to set polarity=neg but we currently do not have it
201+
# for overt "ne" particles and the UD validator does not allow Polarity
202+
# with particles in Czech.
203+
$anode->iset()->set_hash({'pos' => 'part'}); #, 'polarity' => 'neg'});
201204
$anode->set_form('ne') if($language eq 'cs');
202205
}
203206
# Empty verb that cannot be copied from an overt node but it has overt dependents.

0 commit comments

Comments
 (0)