Skip to content

Commit 3f57dce

Browse files
committed
Attachment of "el".
1 parent d63c6f8 commit 3f57dce

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

udapi/block/ud/ca/elque.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,8 @@ def fix_pattern(self, adp, el, que, verb):
7777
if len(adp.deps) == 1:
7878
adp.deps[0]['parent'] = el
7979
adp.deps[0]['deprel'] = 'case'
80+
if el.parent == que:
81+
###!!! Just a temporary change. In the end it will be attached elsewhere.
82+
el.parent = verb
83+
if len(el.deps) == 1:
84+
el.deps[0]['parent'] = verb

0 commit comments

Comments
 (0)