View source: R/main_functions.R
preprocess_text | R Documentation |
Preprocess text for analysis
preprocess_text(text)
text |
A character string to be preprocessed |
This function preprocesses the input text by converting to lowercase, removing punctuation and digits, and trimming whitespace.
A preprocessed character string
text <- "Hello, World! This is an example text (with 123 numbers)."
preprocess_text(text)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.