Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

What does lazy means in the tm package in R

$
0
0

@hinduja1234 wrote:

I am currently studying text-mining in R .I have one data set for text mining I am very new to it.So I have searched for the code of text mining.

library(tm)

CorpusDescription = tm_map(CorpusDescription, content_transformer(tolower), lazy=TRUE)   #Lowering

CorpusDescription = tm_map(CorpusDescription, PlainTextDocument, lazy=TRUE) # Plain text Document 

CorpusDescription = tm_map(CorpusDescription, removePunctuation, lazy=TRUE)  # removing Punctuation

CorpusDescription = tm_map(CorpusDescription, removeWords, stopwords("english"), lazy=TRUE) # removing stop words 

CorpusDescription = tm_map(CorpusDescription, stemDocument, lazy=TRUE)  # stemming the words

I want to know what does lazy argument signifies in the code.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles