Learn R Programming

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

tm (version 0.5-9.1)

Text Mining Package

Description

A framework for text mining applications within R.

Copy Link

Version

Install

install.packages('tm')

Monthly Downloads

53,395

Version

0.5-9.1

License

GPL (>= 2)

Maintainer

Last Published

July 10th, 2013

Functions in tm (0.5-9.1)

Dictionary

Dictionary
readPlain

Read In a Text Document
getTokenizers

List Available Tokenizers
PCorpus

Permanent Corpus Constructor
XMLSource

XML Source
removeWords

Remove Words from a Text Document
VectorSource

Vector Source
DirSource

Directory Source
weightBin

Weight Binary
findAssocs

Find Associations in a Term-Document Matrix
plot

Visualize a Term-Document Matrix
getTransformations

List Available Transformations
FunctionGenerator

Function Generator
readRCV1

Read In a Reuters Corpus Volume 1 Document
stemDocument

Stem Words
tm_combine

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

Weighting Function
readReut21578XML

Read In a Reuters-21578 XML Document
meta

Meta Data Management
TextRepository

Text Repository
crude

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

SMART Weightings
number

The Number of Rows/Columns/Dimensions/Documents/Terms of a Term-Document Matrix
as.PlainTextDocument

Create Objects of Class PlainTextDocument
getReaders

List Available Readers
removeSparseTerms

Remove Sparse Terms from a Term-Document Matrix
tm_tag_score

Compute a Tag Score
GmaneSource

Gmane Source
URISource

Uniform Resource Identifier Source
getFilters

List Available Filters
findFreqTerms

Find Frequent Terms
readGmane

Read In a Gmane RSS Feed
tm_map

Transformations on Corpora
searchFullText

Full Text Search
stemCompletion

Complete Stems
tm_intersect

Intersection between Documents and Words
ReutersSource

Reuters-21578 XML Source
PlainTextDocument

Plain Text Document
TermDocumentMatrix

Term-Document Matrix
stripWhitespace

Strip Whitespace from a Text Document
Reuters21578Document

Reuters-21578 Text Document
inspect

Inspect Objects
readXML

Read In an XML Document
weightTf

Weight by Term Frequency
stopwords

Stopwords
readTabular

Read In a Text Document
termFreq

Term Frequency Vector
RCV1Document

RCV1 Text Document
tm_filter

Filter and Index Functions on Corpora
getSources

List Available Sources
Zipf_n_Heaps

Explore Corpus Term Frequency Characteristics
tm_reduce

Combine Transformations
readDOC

Read In a MS Word Document
removeNumbers

Remove Numbers from a Text Document
makeChunks

Split a Corpus into Chunks
Source

Access Sources
VCorpus

Volatile Corpus
TextDocument

Access and Modify Text Documents
dissimilarity

Dissimilarity
DataframeSource

Data Frame Source
foreign

Read Document-Term Matrices
preprocessReut21578XML

Preprocess the Reuters-21578 XML archive.
acq

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

Tokenizers
names

Row, Column, Dim Names, Document IDs, and Terms
sFilter

Statement Filter
removePunctuation

Remove Punctuation Marks from a Text Document
weightTfIdf

Weight by Term Frequency - Inverse Document Frequency
readPDF

Read In a PDF Document
materialize

Materialize Lazy Mappings
prescindMeta

Prescind Document Meta Data
writeCorpus

Write a Corpus to Disk