(self)
| 431 | print "pattern.en.parser.find_prepositions()" |
| 432 | |
| 433 | def test_find_lemmata(self): |
| 434 | # Assert lemmata for nouns and verbs. |
| 435 | v = en.parser.find_lemmata([["cats", "NNS"], ["wearing", "VBG"], ["hats", "NNS"]]) |
| 436 | self.assertEqual(v, [ |
| 437 | ["cats", "NNS", "cat"], |
| 438 | ["wearing", "VBG", "wear"], |
| 439 | ["hats", "NNS", "hat"]]) |
| 440 | print "pattern.en.parser.find_lemmata()" |
| 441 | |
| 442 | def test_named_entity_recognition(self): |
| 443 | # Assert named entities. |
nothing calls this directly
no test coverage detected