getCorpus: getCorpus

Description Usage Arguments Value Author(s)

View source: R/getCorpus.r

Description

Creating corpus object by using tm R package a from messages.

Usage

1
getCorpus(textVector, hashtag = FALSE, elim_words)

Arguments

textVector

Character Message of tweet

hashtag

logical remove hashtag from corpus

elim_words

character the words to be removed from corpus

Value

Return a tm corpus of message purged by mentions and links.

Author(s)

Istituto per la Bioeconomia Firenze Italy Alfonso Crisci alfonso.crisci@ibe.cnr.it


alfcrisci/rTwChannel documentation built on March 22, 2020, 6:09 p.m.