Skip to content

Commit 89b3a76

Browse files
committed
Quick fixes.
1 parent 3e25850 commit 89b3a76

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

udapi/block/ud/fixadvmodbyupos.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def process_node(self, node):
5353
node.deprel = 'nsubj' # it could be also obj, iobj, obl or nmod; just guessing what might be more probable
5454
elif node.upos == 'NOUN':
5555
node.deprel = 'obl'
56+
elif node.upos == 'ADJ':
57+
node.deprel = 'amod'
5658
elif node.upos == 'INTJ':
5759
node.deprel = 'discourse'
5860
elif node.udeprel == 'cc':

0 commit comments

Comments
 (0)