Learn R Programming

tm (version 0.7-14)

Text Mining Package

Description

A framework for text mining applications within R.

Copy Link

Version

Install

install.packages('tm')

Monthly Downloads

61,449

Version

0.7-14

License

GPL-3

Maintainer

Last Published

August 13th, 2024

Functions in tm (0.7-14)

XMLTextDocument

XML Text Documents
getTokenizers

Tokenizers
findAssocs

Find Associations in a Term-Document Matrix
findFreqTerms

Find Frequent Terms
foreign

Read Document-Term Matrices
findMostFreqTerms

Find Most Frequent Terms
content_transformer

Content Transformers
readPDF

Read In a PDF Document
readDataframe

Read In a Text Document from a Data Frame
plot

Visualize a Term-Document Matrix
readDOC

Read In a MS Word Document
crude

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

Remove Words from a Text Document
meta

Metadata Management
stemCompletion

Complete Stems
TermDocumentMatrix

Term-Document Matrix
hpc

Parallelized ‘lapply’
stripWhitespace

Strip Whitespace from a Text Document
readReut21578XML

Read In a Reuters-21578 XML Document
removePunctuation

Remove Punctuation Marks from a Text Document
readXML

Read In an XML Document
getTransformations

Transformations
termFreq

Term Frequency Vector
tm_filter

Filter and Index Functions on Corpora
readTagged

Read In a POS-Tagged Word Text Document
removeNumbers

Remove Numbers from a Text Document
tokenizer

Tokenizers
removeSparseTerms

Remove Sparse Terms from a Term-Document Matrix
weightBin

Weight Binary
readPlain

Read In a Text Document
inspect

Inspect Objects
tm_map

Transformations on Corpora
weightTfIdf

Weight by Term Frequency - Inverse Document Frequency
writeCorpus

Write a Corpus to Disk
readRCV1

Read In a Reuters Corpus Volume 1 Document
stopwords

Stopwords
stemDocument

Stem Words
tm_term_score

Compute Score for Matching Terms
tm_reduce

Combine Transformations
weightTf

Weight by Term Frequency
weightSMART

SMART Weightings
TextDocument

Text Documents
Source

Sources
VCorpus

Volatile Corpora
URISource

Uniform Resource Identifier Source
DataframeSource

Data Frame Source
ZipSource

ZIP File Source
Corpus

Corpora
Zipf_n_Heaps

Explore Corpus Term Frequency Characteristics
SimpleCorpus

Simple Corpora
Reader

Readers
DirSource

Directory Source
Docs

Access Document IDs and Terms
VectorSource

Vector Source
PlainTextDocument

Plain Text Documents
PCorpus

Permanent Corpora
WeightFunction

Weighting Function
tm_combine

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

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

XML Source