def test_tenses(self): # Assert tense of "is". self.assertTrue(nl.PRESENT_3RD_PERSON_SINGULAR in nl.tenses("is")) self.assertTrue("3sg" in nl.tenses("is")) print "pattern.nl.tenses()"
def test_tenses(self): # Assert tense recognition. self.assertTrue((nl.PRESENT, 3, "sg") in nl.tenses("is")) self.assertTrue("3sg" in nl.tenses("is")) print("pattern.nl.tenses()")
def test_tenses(self): # Assert tense of "is". self.assertTrue((nl.PRESENT, 3, "sg") in nl.tenses("is")) self.assertTrue("3sg" in nl.tenses("is")) print "pattern.nl.tenses()"