limpiar_emojis: Replace emojis with a textual description

View source: R/limpiar_emojis.R

limpiar_emojisR Documentation

Replace emojis with a textual description

Description

Main usage is for pre-processing the text variable as part of Deep Learning pipeline. The most important argument is whether or not to add the emoji tag, which will also print in snake case.

Usage

limpiar_emojis(df, text_var = mention_content, with_emoji_tag = FALSE)

Arguments

df

Name of Data Frame or Tibble Object

text_var

Name of text variable

with_emoji_tag

Whether to replace with snakecase linked words or not

Value

The Data Frame or Tibble object with most emojis cleaned from the text variable

Examples

limpiar_examples %>% dplyr::select(mention_content)

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

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