Skip to content

Commit 5122149

Browse files
Add attribute PhraseExpl.
1 parent 690281b commit 5122149

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

udapi/block/msf/phrase.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ def process_node(self, node):
2828
'polarity': 'PhrasePolarity',
2929
'gender':'PhraseGender',
3030
'animacy':'PhraseAnimacy',
31-
'ords':'Phrase'
31+
'ords':'Phrase',
32+
'expl':'PhraseExpl',
3233
}
3334

3435
# a dictionary where the key is the lemma of a negative particle and the value is a list of the lemmas of their possible children that have a 'fixed' relation
@@ -68,7 +69,8 @@ def write_node_info(self, node,
6869
ords = None,
6970
gender = None,
7071
animacy = None,
71-
aspect = None):
72+
aspect = None,
73+
expl=None):
7274
arguments = locals()
7375
del arguments['self'] # delete self and node from arguments,
7476
del arguments['node'] # we want only grammatical categories

0 commit comments

Comments
 (0)