replace_contraction(text.var, contraction = qdapDictionaries::contractions, replace = NULL, ignore.case = TRUE, sent.cap = TRUE)
contractions
data set.TRUE
replaces without regard to
capitalization.TRUE
capitalizes the beginning of every
sentence.Returns a vector with contractions replaced.
This function replaces contractions with long form.
## <strong>Not run</strong>: # x <- c("Mr. Jones isn't going.", # "Check it out what's going on.", # "He's here but didn't go.", # "the robot at t.s. wasn't nice", # "he'd like it if i'd go away") # # replace_contraction(x) # ## <strong>End(Not run)</strong>
bracketX
,
qprep
,
replace_abbreviation
,
replace_number
,
replace_symbol