Yields a list of tenses for this language, excluding negations. Each tense is a (tense, person, number, mood, aspect)-tuple.
(self)
| 1360 | |
| 1361 | @property |
| 1362 | def TENSES(self): |
| 1363 | """ Yields a list of tenses for this language, excluding negations. |
| 1364 | Each tense is a (tense, person, number, mood, aspect)-tuple. |
| 1365 | """ |
| 1366 | a = set(TENSES[id] for id in self._format) |
| 1367 | a = a.union(set(TENSES[id] for id in self._default.keys())) |
| 1368 | a = a.union(set(TENSES[id] for id in self._default.values())) |
| 1369 | a = sorted(x[:-2] for x in a if x[-2] is False) # Exclude negation. |
| 1370 | return a |
| 1371 | |
| 1372 | def lemma(self, verb, parse=True): |
| 1373 | """ Returns the infinitive form of the given verb, or None. |