Skip to content

Commit 9e6b1fb

Browse files
committed
ml features
1 parent 339eabe commit 9e6b1fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

udapi/block/ud/ml/markfeatsbugs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def process_node(self, node):
3636
elif node.upos == 'ADJ':
3737
self.check_allowed_features(node, {
3838
'VerbForm': ['Part'],
39+
'NumType': ['Ord'],
3940
'Abbr': ['Yes'],
4041
'Foreign': ['Yes'],
4142
'Typo': ['Yes']})
@@ -116,7 +117,7 @@ def process_node(self, node):
116117
else:
117118
self.check_required_features(node, ['NumType', 'NumForm', 'Case'])
118119
self.check_allowed_features(node, {
119-
'NumType': ['Card'],
120+
'NumType': ['Card', 'Frac'],
120121
'NumForm': ['Word'],
121122
'Number': ['Plur'],
122123
'Case': ['Nom', 'Gen', 'Dat', 'Ben', 'Acc', 'Voc', 'Loc', 'Abl', 'Ins', 'Cmp', 'Com', 'All'],

0 commit comments

Comments
 (0)