tokenizeTweets: tokenizeTweets

Description Usage Arguments Value Examples

View source: R/dataFunctions.R

Description

Splits contents of tweets into words/pairs of words/ triples of words depending on the tokenization number.

Usage

1
tokenizeTweets(tweetDataFrame, tokenNum = 1)

Arguments

tweetDataFrame

Name of the dataframe object containing all tweets (output of loadTweets())

tokenNum

1 - splits into singular words, 2 - splits into pairs of words, 3 - splits into triples of words.

Value

Data frame object containing all Tweets split into n number of words.

Examples

1
tweetDataFrameTokenized <- tokenizeTweets(tweetDataFrame,1)

jakubk28/TwitterDMTools documentation built on June 25, 2021, 4:12 p.m.