View source: R/limpiar_repeat_chars.R
limpiar_repeat_chars | R Documentation |
Removes multiple vowels (holaaaa) and normalises common laughing patterns (jajaja, jejeje, ajajaaaaja). Useful for visualisations, and reducing the overall number of tokens present in the text variable.
limpiar_repeat_chars(df, text_var = mention_content)
df |
Name of the Data Frame or Tibble object |
text_var |
Name of the text variable/character vector. Default is mention_content |
Data Frame or Tibble object with most repeat vowels & laughing patterns removed from the text variable
limpiar_examples %>% dplyr::select(mention_content)
limpiar_examples %>% limpiar_repeat_chars() %>% dplyr::select(mention_content)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.