We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e25850 commit 89b3a76Copy full SHA for 89b3a76
udapi/block/ud/fixadvmodbyupos.py
@@ -53,6 +53,8 @@ def process_node(self, node):
53
node.deprel = 'nsubj' # it could be also obj, iobj, obl or nmod; just guessing what might be more probable
54
elif node.upos == 'NOUN':
55
node.deprel = 'obl'
56
+ elif node.upos == 'ADJ':
57
+ node.deprel = 'amod'
58
elif node.upos == 'INTJ':
59
node.deprel = 'discourse'
60
elif node.udeprel == 'cc':
0 commit comments