mallet_make_instance_list() now accepts an argument phrases (#10).mallet_instance_list_store to load a Java InstanceList object
from disk (#9).cooccurrences()-method.cooccurrences()-method now accepts an argument method to determine the
statistical test to be applied.data.table resulting from the cooccurrences()-method.cooccurrences()-method
has been removed, when renumbering topics.topic_matrix of the cooccurrences()-method has been discarded again. Instead,
the method is now defined for the TopicModel class and the matrix class. If multiple calculations are carried out, it may be much faster to generate the document-term-matrix once outside the cooccurrences()-method, and to apply the method on the matrix.regex has been added to the docs()-method. It can be used to limit the analysis to documents matched by the regular expression.cooccurrences()-method that resulted in an overestimation of the cooccurrence of topics when topics had been renumbered.topics has been introduced in the Topicanalysis class. A topics-document-matrix can #
be stored here. As retrieving the topics-document-matrix can be slow, subsequent operations on this matrix are faster now.cooccurrencs()-method for the TopicModel class now has an argument topic_matrix, so that a topic-document-matrix prepared outside the method can be re-used. May be used for speeding up operations.verbose to Topicanalysis$cooccurrences()-method, which is passed into S4 method cooccurrences().gensim_ldamodel_as_LDA_Gibbs(), gensim_ldamodel_load() and dtm_as_bow() were added as functionality to get a gensim LDA model (prepared in Python) back to an R session.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.