edit_contractions: Edit Contractions

Description Usage Arguments Value Author(s) Examples

View source: R/edit_contractions.R

Description

edit_contractions replaces contractions with their expanded form.

Usage

1

Arguments

text

The text variable.

Value

Returns a character vector with contractions replaced by their expanded form.

Author(s)

Achilleas Passias

Examples

1
2
3
4
5
6
7
8
9
text <- c(
        "I'm fine.",
        "Couldn't be worse?",
        "'cause",
        "You'll stay with us.",
        "Yes ma'am."
        )

edit_contractions(text)

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