Skip to content

Commit 0d409b6

Browse files
committed
Bug fix.
1 parent 46022c6 commit 0d409b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

udapi/block/ud/cs/fixedeprels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def process_node(self, node):
1212
abbreviation and its morphological case is unknown.
1313
"""
1414
for edep in node.deps:
15-
if edep['deprel'] eq 'nmod:na':
15+
if edep['deprel'] == 'nmod:na':
1616
# The case is unknown. We need 'acc' or 'loc'.
1717
# The locative is probably more frequent but it is not so likely with every noun.
1818
if re.match(r'^(adresát|AIDS|DEM|frank|h|ha|hodina|Honolulu|jméno|koruna|litr|metr|míle|miliarda|milión|mm|MUDr|NATO|obyvatel|OSN|počet|procento|příklad|rok|SSSR|vůz)$', node.lemma):

0 commit comments

Comments
 (0)