Skip to content

Commit 75ec0ff

Browse files
committed
Bug fix.
1 parent 4883468 commit 75ec0ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

udapi/block/ud/id/fixgsd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def merge_reduplication(self, node):
328328
# The following will also fix cases where there was an n-dash ('–') instead of a hyphen ('-').
329329
root.text = root.compute_text()
330330
# In some cases the non-/sub-/anti- prefix is annotated as the head of the phrase and the above pattern does not catch it.
331-
elif first.ord == node.ord+2 and re.match(r'^(non|sub|anti|multi|kontra')$', node.form.lower()):
331+
elif first.ord == node.ord+2 and re.match(r'^(non|sub|anti|multi|kontra)$', node.form.lower()):
332332
prefix = node
333333
stem = first # here it is not the first part at all
334334
hyph = stem.prev_node

0 commit comments

Comments
 (0)