Learn R Programming

text (version 1.5)

textTokenizeAndCount: Tokenize and count

Description

Tokenize and count

Usage

textTokenizeAndCount(data, n_remove_threshold = 3)

Value

A word-frequency data frame (can be saved to a model object or compared in textDomainCompare).

Arguments

data

(string) Language to tokenise and count.

n_remove_threshold

(numeric) Threshold deciding which words to remove

See Also

see textDomainCompare

Examples

Run this code
if (FALSE) {
textTokenizeAndCount(Language_based_assessment_data_8["harmonytexts"])
}

Run the code above in your browser using DataLab