compshs.text.tests package

Submodules

compshs.text.tests.test_feature_selection module

class compshs.text.tests.test_feature_selection.TestFeatureSelection(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_get_df_from_corpus()[source]
test_spacy_doc_from_txt()[source]
test_transform()[source]

compshs.text.tests.test_frequency module

class compshs.text.tests.test_frequency.TestFrequency(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_fit_transform()[source]
test_get_token_names()[source]
test_init_vectorizer()[source]

compshs.text.tests.test_preprocess module

class compshs.text.tests.test_preprocess.TestPreprocess(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_fit()[source]
test_transform()[source]

compshs.text.tests.test_topic_modelling module

class compshs.text.tests.test_topic_modelling.TestTopicModelling(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_fit_transform()[source]
test_get_word_contributions()[source]
test_init_topic_modeler()[source]

Module contents

tests for text