(self, word, pos="NN")
| 412 | pass |
| 413 | |
| 414 | def _parents(self, word, pos="NN"): |
| 415 | try: return [w.senses[0] for w in self.wordnet.synsets(word, pos)[0].hypernyms()] |
| 416 | except KeyError: |
| 417 | pass |
| 418 | |
| 419 | #from en import wordnet |
| 420 | #taxonomy.classifiers.append(WordNetClassifier(wordnet)) |