Learn R Programming

lares (version 4.7)

cleanText: Clean text

Description

This function lets the user clean text into getting only alphanumeric characters and no accents/symbols on letters.

Usage

cleanText(text, spaces = TRUE, lower = TRUE)

Arguments

text

Character Vector

spaces

Boolean. Keep spaces?

lower

Boolean. Transform all to lower case?

See Also

Other Data Wrangling: balance_data, calibrate, categ_reducer, date_feats, dateformat, formatNum, formatTime, holidays, impute, left, normalize, numericalonly, ohse, one_hot_encoding_commas, rbind_full, removenacols, removenarows, replaceall, right, textFeats, textTokenizer, vector2text, year_month, year_week

Other Text Mining: replaceall, sentimentBreakdown, textCloud, textFeats, textTokenizer