Learn R Programming

covfefe (version 1.0.0)

phonetic_distance: Calculate phonetic distance between words

Description

Uses Soundex codes to measure phonetic similarity.

Usage

phonetic_distance(word1, word2)

Value

Numeric. Distance (0 = identical, higher = more different)

Arguments

word1

Character. First word

word2

Character. Second word

Examples

Run this code
phonetic_distance("coverage", "covfefe")

Run the code above in your browser using DataLab