File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88from udapi .core .block import Block
99import logging
1010
11- class MsfPhrase (Block ):
11+ class Phrase (Block ):
1212
1313 def process_node (self , node ):
1414 """
Original file line number Diff line number Diff line change 44features as Phrase* attributes in MISC of their head word.
55"""
66
7- import udapi .block .msf .msfphrase
7+ import udapi .block .msf .phrase
88
9- class Conditional (udapi .block .msf .msfphrase . MsfPhrase ):
9+ class Conditional (udapi .block .msf .phrase . Phrase ):
1010
1111 def process_node (self , node ):
1212 if (node .feats ['VerbForm' ] == 'Part' or node .feats ['VerbForm' ] == 'PartRes' ) or node .feats ['VerbForm' ] == 'Fin' :
Original file line number Diff line number Diff line change 44features as Phrase* attributes in MISC of their head word.
55"""
66
7- import udapi .block .msf .msfphrase
7+ import udapi .block .msf .phrase
88
9- class Converb (udapi .block .msf .msfphrase . MsfPhrase ):
9+ class Converb (udapi .block .msf .phrase . Phrase ):
1010
1111 def process_node (self , node ):
1212 # condition node.upos == 'VERB' to prevent copulas from entering this branch
Original file line number Diff line number Diff line change 44features as Phrase* attributes in MISC of their head word.
55"""
66
7- import udapi .block .msf .msfphrase
7+ import udapi .block .msf .phrase
88
9- class Future (udapi .block .msf .msfphrase . MsfPhrase ):
9+ class Future (udapi .block .msf .phrase . Phrase ):
1010
1111 def process_node (self , node ):
1212 # future tense for Serbian and Croatian
Original file line number Diff line number Diff line change 44features as Phrase* attributes in MISC of their head word.
55"""
66
7- import udapi .block .msf .msfphrase
7+ import udapi .block .msf .phrase
88
9- class Imperative (udapi .block .msf .msfphrase . MsfPhrase ):
9+ class Imperative (udapi .block .msf .phrase . Phrase ):
1010
1111 def process_node (self , node ):
1212 # the condition node.upos == 'VERB' ensures that copulas do not enter this branch
Original file line number Diff line number Diff line change 44features as Phrase* attributes in MISC of their head word.
55"""
66
7- import udapi .block .msf .msfphrase
7+ import udapi .block .msf .phrase
88
9- class Infinitive (udapi .block .msf .msfphrase . MsfPhrase ):
9+ class Infinitive (udapi .block .msf .phrase . Phrase ):
1010
1111 def process_node (self ,node ):
1212 if node .feats ['VerbForm' ] == 'Inf' and node .upos == 'VERB' :
Original file line number Diff line number Diff line change 44features as Phrase* attributes in MISC of their head word.
55"""
66
7- import udapi .block .msf .msfphrase
7+ import udapi .block .msf .phrase
88
9- class Past (udapi .block .msf .msfphrase . MsfPhrase ):
9+ class Past (udapi .block .msf .phrase . Phrase ):
1010
1111 def get_person_for_langs_with_simple_past (self , node , person ):
1212 """
Original file line number Diff line number Diff line change 44features as Phrase* attributes in MISC of their head word.
55"""
66
7- import udapi .block .msf .msfphrase
7+ import udapi .block .msf .phrase
88
9- class Present (udapi .block .msf .msfphrase . MsfPhrase ):
9+ class Present (udapi .block .msf .phrase . Phrase ):
1010
1111 def process_node (self ,node ):
1212 # the condition VerbForm == 'Fin' ensures that there are no transgressives between the found verbs
You can’t perform that action at this time.
0 commit comments