nltk.test.unit.test_corenlp module
Mock test for Stanford CoreNLP wrappers.
-
class nltk.test.unit.test_corenlp.TestParserAPI[source]
Bases: TestCase
-
test_dependency_parser()[source]
-
test_parse()[source]
-
class nltk.test.unit.test_corenlp.TestTaggerAPI[source]
Bases: TestCase
-
test_ner_tagger()[source]
-
test_pos_tagger()[source]
-
test_unexpected_tagtype()[source]
-
class nltk.test.unit.test_corenlp.TestTokenizerAPI[source]
Bases: TestCase
-
test_tokenize()[source]
-
nltk.test.unit.test_corenlp.setup_module(module)[source]
-
nltk.test.unit.test_corenlp.teardown_module(module)[source]