Skip to content

Commit bdc7547

Browse files
committed
Treat fixed multiword prepositions as one.
1 parent ae33a8c commit bdc7547

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

udapi/block/ud/ca/elque.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ def process_node(self, node):
2323
adp = None
2424
if el.prev_node and el.prev_node.upos == 'ADP':
2525
adp = el.prev_node
26+
if adp.udeprel == 'fixed':
27+
adp = adp.parent
2628
parentstr = 'OTHER'
2729
if adp.parent == el:
2830
parentstr = 'el'

0 commit comments

Comments
 (0)