MCPcopy Index your code
hub / github.com/clips/pattern / test_lexeme

Method test_lexeme

test/test_nl.py:123–129  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

121 print "pattern.nl.conjugate()"
122
123 def test_lexeme(self):
124 # Assert all inflections of "zijn".
125 v = nl.lexeme("zijn")
126 self.assertEqual(v, [
127 "zijn", "ben", "bent", "is", "zijnd", "waren", "was", "geweest"
128 ])
129 print "pattern.nl.inflect.lexeme()"
130
131 def test_tenses(self):
132 # Assert tense recognition.

Callers

nothing calls this directly

Calls 1

lexemeMethod · 0.80

Tested by

no test coverage detected