R/topic_modelling.R
Method was replicated from topicmodels publication on the
Journal of Statistical Software by Grun and Hornik, 2011.
This function prints the terms tf-idf values in quartiles.
The rule of thumb used in the journal is to use the value immediately before the mean when
deciding the filtering threshold for FilterDFMByTFIDF
.
PrintTermTFIDF(dfm_quanteda)
dfm_quanteda | A Document Frequency Matrix as defined in the quanteda package. |
---|
Prints the terms TF-IDF on the console.