@@ -370,7 +370,7 @@ def process_node(self, node):
370370 # meaning future. However, a few imperfective verbs have a separate
371371 # future form (distinct from present form), which gets Tense=Fut
372372 # despite inflecting similarly to present forms.
373- if node .feats ['Mood' ] == 'Ind' and node .feats ['Tense' ] == 'Pres' and node .feats ['Aspect' ] != 'Perf' and re .match (r'((bud|půjd|pojed|polez|pones)(u|eš|e|eme?|ete|ou)|polet(ím|íš|í|íme|íte))' , node .form .lower ()):
373+ if node .feats ['Mood' ] == 'Ind' and node .feats ['Tense' ] == 'Pres' and node .feats ['Aspect' ] != 'Perf' and re .match (r'(ne)?( (bud|půjd|pojed|polez|pones)(u|eš|e|eme?|ete|ou)|polet(ím|íš|í|íme|íte))' , node .form .lower ()):
374374 node .feats ['Tense' ] = 'Fut'
375375 # Passive participles (including the short forms) should be ADJ, not VERB.
376376 # But they keep the verbal features of VerbForm, Voice, Aspect.
@@ -397,7 +397,7 @@ def process_node(self, node):
397397 #----------------------------------------------------------------------
398398 # Words that indicate the speaker's attitude are tagged ADV in UD,
399399 # although the Czech tagsets often treat them as particles.
400- if node .upos == 'PART' and re .fullmatch (r'(asi?|dokonce|jistě|hlavně|hned|možná|opravdu|skoro|skutečně|snad|třeba|určitě|vlastně|vůbec|zajisté|zase|zrovna|zřejmě|zvláště)' , node .lemma ):
400+ if node .upos == 'PART' and re .fullmatch (r'(asi?|až|bezpochyby|bohdá|co| dokonce|jen| jistě|již| hlavně|hned|jednoduše|leda| možná|naopak|nejen|nejspíše?| opravdu|ovšem|patrně|právě|prej|prý|přece|především|rozhodně| skoro|skutečně|snad|spíše?|teda|tedy| třeba|určitě|věru| vlastně|vůbec|zajisté|zase|zrovna|zřejmě|zvlášť |zvláště)' , node .lemma ):
401401 node .upos = 'ADV'
402402 node .feats ['Degree' ] = 'Pos'
403403 node .feats ['Polarity' ] = 'Pos'
0 commit comments