textFeats | R Documentation |
This function creates a data.frame with features based on a text vector
textFeats(text, auto = TRUE, contains = NA, prc = FALSE)
text |
Character vector |
auto |
Boolean. Auto create some useful parameters? |
contains |
Character vector. Which columns do you wish to add with a contains (counter) string validator? |
prc |
Boolean. Also add percentage of each column compared with length? |
data.frame with additional features based on text
.
Other Data Wrangling:
balance_data()
,
categ_reducer()
,
cleanText()
,
date_cuts()
,
date_feats()
,
file_name()
,
formatHTML()
,
holidays()
,
impute()
,
left()
,
normalize()
,
num_abbr()
,
ohe_commas()
,
ohse()
,
quants()
,
removenacols()
,
replaceall()
,
replacefactor()
,
textTokenizer()
,
vector2text()
,
year_month()
,
zerovar()
Other Text Mining:
cleanText()
,
ngrams()
,
remove_stopwords()
,
replaceall()
,
sentimentBreakdown()
,
textCloud()
,
textTokenizer()
,
topics_rake()
textFeats("Bernardo Lares")
textFeats("Bernardo Lares 123!", prc = TRUE)
textFeats("I'm 100% Lares...", contains = c("Lares", "lares"))
textFeats(c("GREAT library!!", "Have you tried this 2?", "Happy faces :D :-)"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.