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 0bfdccb

Browse files
Czech features.
1 parent 5b19027 commit 0bfdccb

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,15 @@ def process_node(self, node):
646646
'VerbForm': ['Fin'],
647647
'Mood': ['Cnd']
648648
})
649+
elif node.form.lower() == 'byšta':
650+
self.check_required_features(node, ['Mood', 'Person', 'Number'])
651+
self.check_allowed_features(node, {
652+
'Aspect': ['Imp'],
653+
'VerbForm': ['Fin'],
654+
'Mood': ['Cnd'],
655+
'Person': ['2', '3'],
656+
'Number': ['Dual']
657+
})
649658
else:
650659
self.check_required_features(node, ['Mood', 'Person', 'Number'])
651660
self.check_allowed_features(node, {
@@ -798,7 +807,8 @@ def process_node(self, node):
798807
self.check_allowed_features(node, {
799808
'Degree': ['Pos', 'Cmp', 'Sup'],
800809
'Polarity': ['Pos', 'Neg'],
801-
'Emph': ['Yes']
810+
'Emph': ['Yes'],
811+
'Abbr': ['Yes']
802812
})
803813
# ADPOSITIONS ##########################################################
804814
elif node.upos == 'ADP':

0 commit comments

Comments
(0)

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