We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Preparation
import yawlib from yawlib import YLConfig from yawlib import WordNetSQL wn = WordNetSQL(YLConfig.WORDNET_30_PATH)
Accessing information
ss = wn.get_all_synsets() # search by lemma catss = wn.search_senses('cat') # search by synsetid dcat = wn.get_senseinfo_by_sid('102121620') # get definition print(dcat.definition)