Skip to content
This repository has been archived by the owner on Nov 30, 2020. It is now read-only.

Use Levensthein distance to approximate correctness of entries for !register and !addroles #74

Open
tigressine opened this issue Feb 9, 2019 · 0 comments

Comments

@tigressine
Copy link
Owner

And associated opposite commands.

If we match strings and say that the Levensthein distance can be 0 or 1 then that allows for 1 letter typos.

!register cs1_hensal
!register #cs1_szumlanski

With a 1 character difference tolerance both of these commands would work! Could make distance <= 2 if we were feeling ballsy and no class names are 2 changes apart... Or maybe they'd all have to be 4 changes apart?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants