There was an error while loading. Please reload this page.
1 parent 46022c6 commit 0d409b6Copy full SHA for 0d409b6
udapi/block/ud/cs/fixedeprels.py
@@ -12,7 +12,7 @@ def process_node(self, node):
12
abbreviation and its morphological case is unknown.
13
"""
14
for edep in node.deps:
15
- if edep['deprel'] eq 'nmod:na':
+ if edep['deprel'] == 'nmod:na':
16
# The case is unknown. We need 'acc' or 'loc'.
17
# The locative is probably more frequent but it is not so likely with every noun.
18
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