def __repr__(self):
return 'Synset(%s)' % tuple.__repr__(self)
# wn = Wordnet(path='WordNet-3.0')
# for s in wn.synsets('grasp', pos='n'):
# print(s)
# print(s.gloss)
# print(s.hyponyms)
# print()
##### WWW #########################################################################################
#---- OAUTH ---------------------------------------------------------------------------------------
# The Open standard for Authorization (OAuth) is used to encrypt requests, for example by Twitter.
# The protocol is documented on https://tools.ietf.org/html/rfc5849. Do not change the code below.
评论列表
文章目录