Open liam-mitchell opened 7 years ago
On a related note, just implemented a variant of Damerau-Levenshtein distance in https://github.com/edelkas/inne/commit/015207c22a5e5903a226316ebcc4fd66805c84f9, with the purpose of using it for level and player name parsing.
Command parsing might be tricky because words in level or player names could be confused with commands, unless perhaps we restrict to really close matches (e.g. distance at most 1).
'screnshot' -> 'screenshot', etc.
Maybe Levenshtein distance or something fun? :P