Example #1
0
 def test_modified_role(self):
     self.assertEqual(separate_syntax_part("Instrument<+Plural>"), ("Instrument", "<+Plural>", None))
Example #2
0
 def test_no_role(self):
     self.assertEqual(separate_syntax_part("NP"), ("NP", None, None))
     self.assertEqual(separate_syntax_part("V"), ("V", None, None))
     self.assertEqual(separate_syntax_part("V<+neutre>"), ("V", "<+neutre>", None))
Example #3
0
 def test_simple_role(self):
     self.assertEqual(separate_syntax_part("Agent"), ("Agent", None, None))
Example #4
0
 def test_restructured_role(self):
     self.assertEqual(separate_syntax_part("Theme.poss"), ("Theme", None, "poss"))