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