Skip to content

Commit c1557d1

Browse files
committed
"El que" re-attach if oblique or nmod.
1 parent cb0149f commit c1557d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

udapi/block/ud/ca/elque.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ def fix_pattern(self, adp, el, que, verb):
8585
eldeprel = 'nsubj'
8686
elif re.match(r'^ccomp$', verb.udeprel):
8787
eldeprel = 'obj'
88+
elif re.match(r'^advcl$', verb.udeprel):
89+
eldeprel = 'obl'
90+
elif re.match(r'^acl$', verb.udeprel):
91+
eldeprel = 'nmod'
8892
if eldeprel:
8993
attach(el, verb.parent, eldeprel)
9094
attach(verb, el, 'acl:relcl')

0 commit comments

Comments
 (0)