View source: R/ngramComponents.R
cleantext | R Documentation |
background function to load.
cleantext(
text,
language = "english",
punct = FALSE,
stop.words = TRUE,
number.words = TRUE
)
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. |
character Vector of cleaned strings.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.