Skip to content

Commit 78b5427

Browse files
committed
Remove agreement features from predicates.
1 parent 75cc308 commit 78b5427

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

udapi/block/mwe/msfcreateabstract.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,11 @@ def process_node(self, node):
3535
subject.feats[f] = node.misc[msf]
3636
subject.misc[msf] = node.misc[msf]
3737
subject.misc['MSFFunc'] = 'No'
38+
# Regardless of whether it had a subject or not, the agreement features
39+
# should be removed from the verb.
40+
###!!! We also may want to check if the pre-existing subject has all the features.
41+
node.misc['MSFNumber'] = ''
42+
node.misc['MSFPerson'] = ''
43+
node.misc['MSFGender'] = ''
44+
node.misc['MSFAnimacy'] = ''
45+
node.misc['MSFPolite'] = ''

0 commit comments

Comments
 (0)