Top "Tm" questions

The `tm` package (shorthand for Text Mining Infrastructure in R) provides a framework for text mining applications within R.

How to convert vector of characters to corpus input for the DocumentTermMatrix function from tm package in R?

I am new to tm package. I'd like to use DocumentTermMatrix function to create DT- Matrix for further text-mining analysis …

r tm
Frequency Per Term - R TM DocumentTermMatrix

I'm very new to R and cannot quite wrap my head around DocumentTermMatrixs. I have a DocumentTermMatrix created with the …

r tm term-document-matrix
stemCompletion is not working

I am using tm package for text analysis of repair data, Reading data into data frame, converting to Corpus object, …

tm
R: find most frequent group of words in corpus

Is there an easy way how to find not only most frequent terms, but also expressions (so more than one …

tm corpus word-frequency
How to recreate same DocumentTermMatrix with new (test) data

Suppose I have text based training data and testing data. To be more specific, I have two data sets - …

r machine-learning nlp text-mining tm
R tm package used for predictive analytics. How one classifies a new document?

This is a general question about the procedures concerning text mining. Suppose one has a Corpus of documents classified as …

r tm
Keep document ID with R corpus

I have searched stackoverflow and the web and can only find partial solutions OR some that don't work due to …

r text text-mining tm corpus
Error faced while using TM package's VCorpus in R

I am facing the below error while working on the TM package with R. library("tm") Loading required package: NLP …

r text-mining tm text-analysis