Example #1
0
 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()"
Example #2
0
 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()")
Example #3
0
 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()"
Example #4
0
 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()")
Example #5
0
 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()"
Example #6
0
 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()"