(self)
| 30 | print "pattern.fr.predicative()" |
| 31 | |
| 32 | def test_find_lemma(self): |
| 33 | # Assert the accuracy of the verb lemmatization algorithm. |
| 34 | i, n = 0, 0 |
| 35 | for v1, v2 in fr.inflect.verbs.inflections.items(): |
| 36 | if fr.inflect.verbs.find_lemma(v1) == v2: |
| 37 | i += 1 |
| 38 | n += 1 |
| 39 | self.assertTrue(float(i) / n > 0.80) |
| 40 | print "pattern.fr.inflect.verbs.find_lemma()" |
| 41 | |
| 42 | def test_find_lexeme(self): |
| 43 | # Assert the accuracy of the verb conjugation algorithm. |
nothing calls this directly
no test coverage detected