nltk.test.unit.test_wordnet module

Unit tests for nltk.corpus.wordnet See also nltk/test/wordnet.doctest

class nltk.test.unit.test_wordnet.WordnNetDemo[source]

Bases: TestCase

test_retrieve_synset()[source]
test_retrieve_synsets()[source]
test_hyperhyponyms()[source]
test_meronyms_holonyms()[source]
test_antonyms()[source]
test_misc_relations()[source]
test_lch()[source]
test_domains()[source]
test_in_topic_domains()[source]
test_wordnet_similarities()[source]
test_omw_lemma_no_trailing_underscore()[source]
test_iterable_type_for_all_lemma_names()[source]