(self)
| 649 | print "pattern.en.Chunk.conjunctions()" |
| 650 | |
| 651 | def test_chunk_modifiers(self): |
| 652 | # Assert list of nearby adjectives and adverbs with no role, for VP. |
| 653 | v = en.Sentence(en.parse("Perhaps you should go.")) |
| 654 | self.assertEqual(v.chunk[2].modifiers, [v.chunk[0]]) # should <=> perhaps |
| 655 | print "pattern.en.Chunk.modifiers" |
| 656 | |
| 657 | def test_pnp(self): |
| 658 | # Assert PNP chunk ("with a fork"). |