eriq-augustine / clefable

IRC Chatbot
6 stars 0 forks source link

Edit distance comparison for commands #124

Open clefable opened 12 years ago

clefable commented 12 years ago

Reported by dcronin.

When someone does an invalid command, clef should output a "did you mean?" message if it's close enough to one of the valid commands. E.g. "clef: trivai" should result in "Unrecognized command: [trivai]. Did you mean [trivia]? (Try HELP for more information)"

eriq-augustine commented 12 years ago

This is somewhat related to the "Unambiguous Shorthand" feature.

On Mon, Sep 10, 2012 at 10:41 AM, Clefable notifications@github.com wrote:

Reported by dcronin.

When someone does an invalid command, clef should output a "did you mean?" message if it's close enough to one of the valid commands. E.g. "clef: trivai" should result in "Unrecognized command: [trivai]. Did you mean [trivia]? (Try HELP for more information)"

— Reply to this email directly or view it on GitHubhttps://github.com/eriq-augustine/clefable/issues/124.