def stemms(self): if self._stemms is None: # Should not occurs self._stemms = uniqify([t.stemm for t in self.meaning_words], lambda x: x.id) return self._stemms
def distincts_meaning_words(self): return uniqify(self.meaning_words, lambda x: x.original)
def distinct_words(self): return uniqify(self.words, lambda x: x.original)