replace_emoji: Replace Emojis With Words/Identifier
Description
Replaces emojis with word equivalents or a token identifier for use in the
sentimentr package. Not that this function will coerce the text to
ASCII using
Encoding(x) <- "latin1"; iconv(x, "latin1", "ASCII", "byte").
The function replace_emoji replaces emojis with text representations
while replace_emoji_identifier replaces with a unique identifier that
corresponds to lexicon::hash_sentiment_emoji for use in the
sentimentr package.