Skip to content

Commit c854a37

Browse files
committed
In old texts, "její" may be spelled as "jeji".
1 parent dd316bb commit c854a37

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

udapi/block/ud/cs/markfeatsbugs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def process_node(self, node):
421421
# there the form changes after preposition and PrepCase must be annotated (muž, jehož se bojím VS. muž, bez něhož se neobejdeme).
422422
})
423423
# Feminine personal possessive determiner.
424-
elif re.match(r'^(její|jeje|jejie|jejího|jejieho|jejímu|jejiemu|jejím|jejim|jejiem|jejiej|jejíma|jejiema|jejích|jejiech|jejími|jejiemi)$', node.form.lower()):
424+
elif re.match(r'^(jej[íi]|jeje|jejie|jejího|jejieho|jejímu|jejiemu|jejím|jejim|jejiem|jejiej|jejíma|jejiema|jejích|jejiech|jejími|jejiemi)$', node.form.lower()):
425425
# The feminine possessive 'její' slightly inflects, unlike 'jeho' and 'jejich'.
426426
# Congruent gender:
427427
# - in PDT, only in singular; masculine and neuter are merged even in nominative
@@ -467,7 +467,7 @@ def process_node(self, node):
467467
'Case': ['Nom', 'Gen', 'Dat', 'Acc', 'Voc', 'Loc', 'Ins']
468468
})
469469
# Feminine relative possessive determiner.
470-
elif re.match(r'^(její|jeje|jejie|jejího|jejieho|jejímu|jejiemu|jejím|jejim|jejiem|jejiej|jejíma|jejiema|jejích|jejiech|jejími|jejiemi)(ž(e|to)?)$', node.form.lower()):
470+
elif re.match(r'^(jej[íi]|jeje|jejie|jejího|jejieho|jejímu|jejiemu|jejím|jejim|jejiem|jejiej|jejíma|jejiema|jejích|jejiech|jejími|jejiemi)(ž(e|to)?)$', node.form.lower()):
471471
# The feminine possessive 'jejíž' slightly inflects, unlike 'jehož' and 'jejichž'.
472472
# Congruent gender:
473473
# - in PDT, only in singular; masculine and neuter are merged even in nominative

0 commit comments

Comments
 (0)