Rdocumentation
powered by
Learn R Programming
⚠️
There's a newer version (0.7-20) of this package.
Take me there.
tm (version 0.7-19)
Text Mining Package
Description
A framework for text mining applications within R.
Copy Link
Link to current version
Version
Version
0.7-20
0.7-19
0.7-18
0.7-17
0.7-16
0.7-15
0.7-14
0.7-12
0.7-11
0.7-10
0.7-9
0.7-8
0.7-7
0.7-6
0.7-5
0.7-4
0.7-3
0.7-2
0.7-1
0.6-2
0.6-1
0.5-10
0.5-9.1
0.5-8.3
0.5-8.1
0.5-7.1
0.5-6
0.5-5
0.5-4.1
0.5-3
0.5-2
0.5-1
0.4
0.3-4.1
0.3-3
0.3-2
0.3-1
0.2-3.7
0.2-1
0.1-1
Install
install.packages('tm')
Monthly Downloads
29,612
Version
0.7-19
License
GPL-3
Maintainer
Kurt Hornik
Last Published
August 13th, 2026
Functions in tm (0.7-19)
Search all functions
getTokenizers
Tokenizers
getTransformations
Transformations
crude
20 Exemplary News Articles from the Reuters-21578 Data Set of Topic crude
content_transformer
Content Transformers
foreign
Read Document-Term Matrices
inspect
Inspect Objects
plot
Visualize a Term-Document Matrix
findFreqTerms
Find Frequent Terms
TermDocumentMatrix
Term-Document Matrix
meta
Metadata Management
readDOC
Read In a MS Word Document
readXML
Read In an XML Document
removeNumbers
Remove Numbers from a Text Document
stripWhitespace
Strip Whitespace from a Text Document
termFreq
Term Frequency Vector
stemCompletion
Complete Stems
removeWords
Remove Words from a Text Document
readTagged
Read In a POS-Tagged Word Text Document
readReut21578XML
Read In a Reuters-21578 XML Document
removePunctuation
Remove Punctuation Marks from a Text Document
removeSparseTerms
Remove Sparse Terms from a Term-Document Matrix
readRCV1
Read In a Reuters Corpus Volume 1 Document
stemDocument
Stem Words
stopwords
Stopwords
readPlain
Read In a Text Document
readDataframe
Read In a Text Document from a Data Frame
tm_term_score
Compute Score for Matching Terms
tm_reduce
Combine Transformations
writeCorpus
Write a Corpus to Disk
weightBin
Weight Binary
weightTfIdf
Weight by Term Frequency - Inverse Document Frequency
tokenizer
Tokenizers
readPDF
Read In a PDF Document
weightSMART
SMART Weightings
weightTf
Weight by Term Frequency
tm_filter
Filter and Index Functions on Corpora
tm_map
Transformations on Corpora
DirSource
Directory Source
Corpus
Corpora
PCorpus
Permanent Corpora
Reader
Readers
SimpleCorpus
Simple Corpora
DataframeSource
Data Frame Source
PlainTextDocument
Plain Text Documents
Source
Sources
TextDocument
Text Documents
Docs
Access Document IDs and Terms
WeightFunction
Weighting Function
tm_combine
Combine Corpora, Documents, Term-Document Matrices, and Term Frequency Vectors
URISource
Uniform Resource Identifier Source
ZipSource
ZIP File Source
XMLSource
XML Source
VectorSource
Vector Source
XMLTextDocument
XML Text Documents
Zipf_n_Heaps
Explore Corpus Term Frequency Characteristics
acq
50 Exemplary News Articles from the Reuters-21578 Data Set of Topic acq
VCorpus
Volatile Corpora
findMostFreqTerms
Find Most Frequent Terms
findAssocs
Find Associations in a Term-Document Matrix
hpc
Parallelized ‘lapply’