Learn R Programming

⚠️There's a newer version (0.7-16) of this package.Take me there.

tm (version 0.7-9)

Text Mining Package

Description

A framework for text mining applications within R.

Copy Link

Version

Install

install.packages('tm')

Monthly Downloads

64,484

Version

0.7-9

License

GPL-3

Maintainer

Ingo Feinerer

Last Published

October 19th, 2022

Functions in tm (0.7-9)

XMLTextDocument

XML Text Documents
tm_combine

Combine Corpora, Documents, Term-Document Matrices, and Term Frequency Vectors
VCorpus

Volatile Corpora
WeightFunction

Weighting Function
XMLSource

XML Source
ZipSource

ZIP File Source
URISource

Uniform Resource Identifier Source
acq

50 Exemplary News Articles from the Reuters-21578 Data Set of Topic acq
VectorSource

Vector Source
Zipf_n_Heaps

Explore Corpus Term Frequency Characteristics
hpc

Parallelized ‘lapply’
content_transformer

Content Transformers
findAssocs

Find Associations in a Term-Document Matrix
readPlain

Read In a Text Document
readRCV1

Read In a Reuters Corpus Volume 1 Document
plot

Visualize a Term-Document Matrix
getTokenizers

Tokenizers
getTransformations

Transformations
TermDocumentMatrix

Term-Document Matrix
findFreqTerms

Find Frequent Terms
meta

Metadata Management
readDataframe

Read In a Text Document from a Data Frame
crude

20 Exemplary News Articles from the Reuters-21578 Data Set of Topic crude
removeWords

Remove Words from a Text Document
readDOC

Read In a MS Word Document
stripWhitespace

Strip Whitespace from a Text Document
stemDocument

Stem Words
termFreq

Term Frequency Vector
readPDF

Read In a PDF Document
stopwords

Stopwords
stemCompletion

Complete Stems
inspect

Inspect Objects
findMostFreqTerms

Find Most Frequent Terms
readXML

Read In an XML Document
tm_filter

Filter and Index Functions on Corpora
tm_map

Transformations on Corpora
readTagged

Read In a POS-Tagged Word Text Document
weightSMART

SMART Weightings
weightTf

Weight by Term Frequency
readReut21578XML

Read In a Reuters-21578 XML Document
foreign

Read Document-Term Matrices
tokenizer

Tokenizers
weightBin

Weight Binary
removePunctuation

Remove Punctuation Marks from a Text Document
removeSparseTerms

Remove Sparse Terms from a Term-Document Matrix
weightTfIdf

Weight by Term Frequency - Inverse Document Frequency
writeCorpus

Write a Corpus to Disk
tm_reduce

Combine Transformations
removeNumbers

Remove Numbers from a Text Document
tm_term_score

Compute Score for Matching Terms
Corpus

Corpora
Reader

Readers
Source

Sources
DirSource

Directory Source
SimpleCorpus

Simple Corpora
PCorpus

Permanent Corpora
TextDocument

Text Documents
PlainTextDocument

Plain Text Documents
Docs

Access Document IDs and Terms
DataframeSource

Data Frame Source