(self)
| 76 | print "pattern.es.predicative()" |
| 77 | |
| 78 | def test_find_lemma(self): |
| 79 | # Assert the accuracy of the verb lemmatization algorithm. |
| 80 | i, n = 0, 0 |
| 81 | for v1, v2 in es.inflect.verbs.inflections.items(): |
| 82 | if es.inflect.verbs.find_lemma(v1) == v2: |
| 83 | i += 1 |
| 84 | n += 1 |
| 85 | self.assertTrue(float(i) / n > 0.80) |
| 86 | print "pattern.es.inflect.verbs.find_lemma()" |
| 87 | |
| 88 | def test_find_lexeme(self): |
| 89 | # Assert the accuracy of the verb conjugation algorithm. |
nothing calls this directly
no test coverage detected