Learn R Programming

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

tm (version 0.7-11)

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-11

License

GPL-3

Maintainer

Last Published

February 5th, 2023

Functions in tm (0.7-11)

PCorpus

Permanent Corpora
SimpleCorpus

Simple Corpora
Reader

Readers
DirSource

Directory Source
Docs

Access Document IDs and Terms
tm_combine

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

Data Frame Source
URISource

Uniform Resource Identifier Source
Corpus

Corpora
VCorpus

Volatile Corpora
acq

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

Vector Source
XMLTextDocument

XML Text Documents
XMLSource

XML Source
WeightFunction

Weighting Function
TextDocument

Text Documents
Source

Sources
ZipSource

ZIP File Source
Zipf_n_Heaps

Explore Corpus Term Frequency Characteristics
content_transformer

Content Transformers
findMostFreqTerms

Find Most Frequent Terms
getTokenizers

Tokenizers
getTransformations

Transformations
foreign

Read Document-Term Matrices
hpc

Parallelized ‘lapply’
findAssocs

Find Associations in a Term-Document Matrix
inspect

Inspect Objects
tm_reduce

Combine Transformations
tm_term_score

Compute Score for Matching Terms
stripWhitespace

Strip Whitespace from a Text Document
termFreq

Term Frequency Vector
readDataframe

Read In a Text Document from a Data Frame
tokenizer

Tokenizers
removeWords

Remove Words from a Text Document
readPDF

Read In a PDF Document
stemCompletion

Complete Stems
weightBin

Weight Binary
readXML

Read In an XML Document
removeNumbers

Remove Numbers from a Text Document
plot

Visualize a Term-Document Matrix
weightSMART

SMART Weightings
readDOC

Read In a MS Word Document
weightTf

Weight by Term Frequency
findFreqTerms

Find Frequent Terms
readRCV1

Read In a Reuters Corpus Volume 1 Document
readPlain

Read In a Text Document
stopwords

Stopwords
stemDocument

Stem Words
readTagged

Read In a POS-Tagged Word Text Document
readReut21578XML

Read In a Reuters-21578 XML Document
crude

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

Term-Document Matrix
tm_filter

Filter and Index Functions on Corpora
meta

Metadata Management
tm_map

Transformations on Corpora
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
PlainTextDocument

Plain Text Documents