Passed
test.demonstrator_test.DemonstratorTestCase.test_topic_modeling (from pytest)
Standard Output
Accessing user input ... 1 text files. 1 topics. 1 iterations. Using external stopwords list. Tokenizing <FileStorage: 'document.txt' ('text/plain')> ... Accessing external stopwords list ... Determining hapax legomena ... Removing stopwords and hapax legomena from corpus ... Accessing corpus vocabulary ... LDA training ... Accessing topics ... Accessing doc-topic-matrix ... Creating interactive heatmap ...
Standard Error
DEBUG dariah_topics.preprocessing: Tokenizing document ... DEBUG dariah_topics.preprocessing: Lowering all characters ... INFO dariah_topics.preprocessing: Creating document-term matrix for small corpus ... DEBUG dariah_topics.preprocessing: Updating document in document-term matrix ... INFO dariah_topics.preprocessing: Determining hapax legomena ... DEBUG dariah_topics.preprocessing: Small corpus model ... DEBUG dariah_topics.preprocessing: Tokenizing document ... DEBUG dariah_topics.preprocessing: Lowering all characters ... INFO lda: n_documents: 1 INFO lda: vocab_size: 15 INFO lda: n_words: 40 INFO lda: n_topics: 1 INFO lda: n_iter: 1 INFO lda: <0> log likelihood: -165 INFO lda: <0> log likelihood: -165 INFO dariah_topics.postprocessing: Accessing topics from lda model ...