2011 NLTK-WordNetCorpusReader

From GM-RKB
Jump to navigation Jump to search

Subject Headings: NLTK, WordNet, API

Notes

Quotes

A corpus reader used to access wordnet or its variants.


synsets(self, lemma, pos=None)


lemmas(self, lemma, pos=None)


all_lemma_names(self, pos=None)


all_synsets(self, pos=None)


lemma_count(self, lemma)


path_similarity(self, synset1, synset2, verbose=False, simulate_root=True)


lch_similarity(self, synset1, synset2, verbose=False, simulate_root=True)


wup_similarity(self, synset1, synset2, verbose=False, simulate_root=True)


res_similarity(self, synset1, synset2, ic, verbose=False)


jcn_similarity(self, synset1, synset2, ic, verbose=False)


lin_similarity(self, synset1, synset2, ic, verbose=False)


morphy(self, form, pos=None)


ic(self, corpus, weight_senses_equally=False, smoothing=1.0)

,