Beispiel #1
0
 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
Beispiel #2
0
 def distincts_meaning_words(self):
     return uniqify(self.meaning_words, lambda x: x.original)
Beispiel #3
0
 def distinct_words(self):
     return uniqify(self.words, lambda x: x.original)
Beispiel #4
0
 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
Beispiel #5
0
 def distincts_meaning_words(self):
     return uniqify(self.meaning_words, lambda x: x.original)
Beispiel #6
0
 def distinct_words(self):
     return uniqify(self.words, lambda x: x.original)