correct_elongation: Correct Elongation

Description Usage Arguments Value Author(s) Examples

View source: R/correct_elongation.R

Description

correct_elongation replaces elongated words with their standard form.

Usage

1

Arguments

text

The text variable.

words

Character vector containing words whose elongated form is to be corrected.

Value

Returns a character vector with elongated words replaced by their standard form.

Author(s)

Achilleas Passias

Examples

1
2
3
text <- c("whyyyyy", "whaaaat", "nooo")

correct_elongation(text)

achilleas-251/txtprocess documentation built on March 30, 2020, 12:43 a.m.