Learn R Programming

covfefe (version 1.0.0)

phonetic_shift: Shift consonant to phonetically similar consonant

Description

Shift consonant to phonetically similar consonant

Usage

phonetic_shift(word, target)

Value

Character. Transformed word

Arguments

word

Character. Word to transform

target

Character. Consonant to shift (if found)

Examples

Run this code
phonetic_shift("coverage", "v")  # "coferage"

Run the code above in your browser using DataLab