Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0abec00

Browse files
Czech adjectival numerals can have Variant=Short.
1 parent 4d9f24c commit 0abec00

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎udapi/block/ud/cs/markfeatsbugs.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def process_node(self, node):
107107
'Animacy': ['Anim', 'Inan'],
108108
'Number': ['Sing', 'Dual', 'Plur'],
109109
'Case': ['Nom', 'Gen', 'Dat', 'Acc', 'Voc', 'Loc', 'Ins'],
110+
'Variant': ['Short'], # sedmer (Mult Short) duch tvój; pól čtverta (Ord Short) komára
110111
'Emph': ['Yes'],
111112
'Foreign': ['Yes']})
112113
else:
@@ -116,6 +117,7 @@ def process_node(self, node):
116117
'Gender': ['Masc', 'Fem', 'Neut'],
117118
'Number': ['Sing', 'Dual', 'Plur'],
118119
'Case': ['Nom', 'Gen', 'Dat', 'Acc', 'Voc', 'Loc', 'Ins'],
120+
'Variant': ['Short'],
119121
'Emph': ['Yes'],
120122
'Foreign': ['Yes']})
121123
elif node.feats['VerbForm'] == 'Part': # participles (except l-participles) are a subtype of adjectives
@@ -390,7 +392,7 @@ def process_node(self, node):
390392
# there the form changes after preposition and PrepCase must be annotated (muž, jehož se bojím VS. muž, bez něhož se neobejdeme).
391393
})
392394
# Feminine personal possessive determiner.
393-
elif re.match(r'^(její|jejie|jejího|jejieho|jejímu|jejiemu|jejím|jejiem|jejiej|jejíma|jejiema|jejích|jejiech|jejími|jejiemi)$', node.form.lower()):
395+
elif re.match(r'^(její|jeje|jejie|jejího|jejieho|jejímu|jejiemu|jejím|jejiem|jejiej|jejíma|jejiema|jejích|jejiech|jejími|jejiemi)$', node.form.lower()):
394396
# The feminine possessive 'její' slightly inflects, unlike 'jeho' and 'jejich'.
395397
# Congruent gender:
396398
# - in PDT, only in singular; masculine and neuter are merged even in nominative
@@ -436,7 +438,7 @@ def process_node(self, node):
436438
'Case': ['Nom', 'Gen', 'Dat', 'Acc', 'Voc', 'Loc', 'Ins']
437439
})
438440
# Feminine relative possessive determiner.
439-
elif re.match(r'^(její|jejie|jejího|jejieho|jejímu|jejiemu|jejím|jejiem|jejiej|jejíma|jejiema|jejích|jejiech|jejími|jejiemi)(ž(e|to)?)$', node.form.lower()):
441+
elif re.match(r'^(její|jeje|jejie|jejího|jejieho|jejímu|jejiemu|jejím|jejiem|jejiej|jejíma|jejiema|jejích|jejiech|jejími|jejiemi)(ž(e|to)?)$', node.form.lower()):
440442
# The feminine possessive 'jejíž' slightly inflects, unlike 'jehož' and 'jejichž'.
441443
# Congruent gender:
442444
# - in PDT, only in singular; masculine and neuter are merged even in nominative

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /