Skip to content

Commit 985b327

Browse files
committed
"El que" re-attach if other relations.
1 parent c1557d1 commit 985b327

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
@@ -89,6 +89,8 @@ def fix_pattern(self, adp, el, que, verb):
8989
eldeprel = 'obl'
9090
elif re.match(r'^acl$', verb.udeprel):
9191
eldeprel = 'nmod'
92+
elif re.match(r'^(xcomp|conj|appos|root)$', verb.udeprel):
93+
eldeprel = verb.deprel
9294
if eldeprel:
9395
attach(el, verb.parent, eldeprel)
9496
attach(verb, el, 'acl:relcl')

0 commit comments

Comments
 (0)