Skip to content

Another string distance possibility #4

@richfitz

Description

@richfitz

https://github.com/wsong/Typo-Distance

Thus, for instance, "rlephants" is a fairly likely typo of "elephants" on a QWERTY keyboard, since R is fairly close to E, but "ilephants" is a less likely typo, and therefore would have a higher score. One thing to note is that typoDistance is not commutative, since insertions are considered more costly than deletions.

would need modifications for AZERTY/QWERTZ keyboards etc, but could be interesting to try.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions