nltk.test.unit.test_corenlp module

Mock test for Stanford CoreNLP wrappers.

nltk.test.unit.test_corenlp.setup_module(module)[source]
nltk.test.unit.test_corenlp.teardown_module(module)[source]
class nltk.test.unit.test_corenlp.TestTokenizerAPI[source]

Bases: unittest.case.TestCase

test_tokenize()[source]
class nltk.test.unit.test_corenlp.TestTaggerAPI[source]

Bases: unittest.case.TestCase

test_pos_tagger()[source]
test_ner_tagger()[source]
test_unexpected_tagtype()[source]
class nltk.test.unit.test_corenlp.TestParserAPI[source]

Bases: unittest.case.TestCase

test_parse()[source]
test_dependency_parser()[source]