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

Method test_lexeme

test/test_de.py:147–156  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

145 print "pattern.de.conjugate()"
146
147 def test_lexeme(self):
148 # Assert all inflections of "sein".
149 v = de.lexeme("sein")
150 self.assertEqual(v, [
151 "sein", "bin", "bist", "ist", "sind", "seid", "seiend",
152 "war", "warst", "waren", "wart", "gewesen",
153 "sei", "seien", "seiest", "seiet",
154 u"wäre", u"wärest", u"wären", u"wäret"
155 ])
156 print "pattern.de.inflect.lexeme()"
157
158 def test_tenses(self):
159 # Assert tense recognition.

Callers

nothing calls this directly

Calls 1

lexemeMethod · 0.80

Tested by

no test coverage detected