limpiar_accents: Clean accented characters

View source: R/limpiar_accents.R

limpiar_accentsR Documentation

Clean accented characters

Description

Useful for reducing overall number of tokens. Warning: removing accents results in loss of information, so should be done with care.

Usage

limpiar_accents(df, text_var = mention_content)

Arguments

df

Name of Data Frame or Tibble object

text_var

Name of text variable/character vector

Value

Data Frame or Tibble object with accents in the text variable replaced

Examples

limpiar_examples %>% dplyr::select(mention_content)
limpiar_examples %>% limpiar_accents() %>% dplyr::select(mention_content)



jpcompartir/LimpiaR documentation built on April 6, 2024, 5:22 a.m.