We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 562f986 commit 75d3ef1Copy full SHA for 75d3ef1
1 file changed
django/app1/app1.py
@@ -1,6 +1,9 @@
1
import nltk
2
"""nltk.download()"""
3
from nltk.corpus import wordnet as wn
4
+
5
panda = wn.synset('panda.n.01')
6
7
hyper = lambda s: s.hypernyms()
8
9
list(panda.closure(hyper))
0 commit comments