cleantext {doc2concrete} | R Documentation |
Text Cleaner
Description
background function to load.
Usage
cleantext(
text,
language = "english",
punct = FALSE,
stop.words = TRUE,
number.words = TRUE
)
Arguments
text |
character Vector of strings to clean. |
language |
character Language to use for cleaning. Default is "english". |
punct |
logical Should punctuation be kept as tokens? Default is TRUE. |
stop.words |
logical Should stop words be kept? default is TRUE. |
number.words |
logical Should numbers be converted to words? default is TRUE. |
Value
character Vector of cleaned strings.
[Package doc2concrete version 0.6.0 Index]