@@ -34,7 +34,7 @@ def process_node(self, node):
3434 aspect = node .feats ['Aspect' ], # srbstina ani chorvatstina vidy nema
3535 form = 'Fin' ,
3636 polarity = self .get_polarity (phrase_nodes ),
37- reflex = self .get_is_reflex (node ,refl ),
37+ expl = self .get_expl_type (node ,refl ),
3838 gender = node .feats ['Gender' ],
3939 animacy = node .feats ['Animacy' ],
4040 ords = phrase_ords
@@ -54,7 +54,7 @@ def process_node(self, node):
5454 aspect = node .feats ['Aspect' ],
5555 form = 'Fin' ,
5656 polarity = self .get_polarity (phrase_nodes ),
57- reflex = self .get_is_reflex (node ,refl ),
57+ expl = self .get_expl_type (node ,refl ),
5858 gender = node .feats ['Gender' ],
5959 animacy = node .feats ['Animacy' ],
6060 ords = phrase_ords
@@ -85,15 +85,15 @@ def process_node(self, node):
8585 aspect = node .feats ['Aspect' ],
8686 form = 'Fin' ,
8787 polarity = self .get_polarity (phrase_nodes ),
88- reflex = self .get_is_reflex (node ,refl ),
88+ expl = self .get_expl_type (node ,refl ),
8989 ords = phrase_ords
9090 )
9191 return
9292
9393 # future tense of perfect verbs
9494 # Upper Sorbian forms the future tense in this way, however, the feats[Aspect] are not listed in the data
9595 # in some languages (e.g. in Russian) these verbs have the Tense Fut, in others (e.g. in Czech) they have the Tense Pres
96- """ if node.feats['Aspect'] == 'Perf' and (node.feats['Tense'] == 'Pres' or node.feats['Tense'] == 'Fut') and node.feats['VerbForm'] != 'Conv':
96+ if node .feats ['Aspect' ] == 'Perf' and (node .feats ['Tense' ] == 'Pres' or node .feats ['Tense' ] == 'Fut' ) and node .feats ['VerbForm' ] != 'Conv' :
9797 refl = [x for x in node .children if x .feats ['Reflex' ] == 'Yes' and x .udeprel == 'expl' ]
9898
9999 phrase_nodes = [node ] + refl
@@ -112,10 +112,10 @@ def process_node(self, node):
112112 form = 'Fin' ,
113113 aspect = 'Perf' ,
114114 polarity = self .get_polarity (phrase_nodes ),
115- reflex =self.get_is_reflex (node,refl),
115+ expl = self .get_expl_type (node ,refl ),
116116 ords = phrase_ords
117117 )
118- return"""
118+ return
119119
120120
121121 # future tense of imperfect verbs and passive voice
@@ -145,7 +145,7 @@ def process_node(self, node):
145145 aspect = node .feats ['Aspect' ],
146146 form = 'Fin' ,
147147 polarity = self .get_polarity (phrase_nodes ),
148- reflex = self .get_is_reflex (node ,refl ),
148+ expl = self .get_expl_type (node ,refl ),
149149 ords = phrase_ords ,
150150 gender = node .feats ['Gender' ],
151151 animacy = node .feats ['Animacy' ]
@@ -166,7 +166,7 @@ def process_node(self, node):
166166 aspect = node .feats ['Aspect' ],
167167 form = 'Fin' ,
168168 polarity = self .get_polarity (phrase_nodes ),
169- reflex = self .get_is_reflex (node ,refl ),
169+ expl = self .get_expl_type (node ,refl ),
170170 ords = phrase_ords
171171 )
172172 return
0 commit comments