Description Usage Arguments Value Author(s) Examples
Computes QWERTY Distance for words that have the same number of characters. Distance is computed based on the number of keys a character is away from another character on a QWERTY keyboard
1 | qwerty.dist(wordA, wordB)
|
wordA |
Character vector. Word to be compared |
wordB |
Character vector. Word to be compared |
Numeric value for distance between wordA
and wordB
Alexander Christensen <alexpaulchristensen@gmail.com>
1 2 3 4 5 6 7 8 9 | #Identical values for Damerau-Levenshtein
stringdist::stringdist("big", "pig", method="dl")
stringdist::stringdist("big", "bug", method="dl")
#Different distances for QWERTY
qwerty.dist("big", "pig")
qwerty.dist("big", "bug") # Probably meant to type "bug"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.