You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.
Find a known good source and/or original research paper, preferably with a list of test cases and their results, so I can verify that my own implementation is 100% correct.
Document everything for future claims
The text was updated successfully, but these errors were encountered:
Exact same issue as this one, and there's probably lots more similar issues in other libs/langs :)
For now, the tests written by Nicolas Reynis is a lot more exhaustive than my own tests, so I'm porting them over here. Never found any better, prepared test cases I could use during my limited research.
That paper references An Extension of the String-to-String Correction Problem (by Roy Lowrance and Robert A. Wagner, 1975), which is a variant of the Wagner–Fischer algorithm (with the transposition extension, a la Damerau–Levenshtein)
These papers feels a lot more safer to use as a base for a new code implementation, compared to random blog posts and other implementations found in the wild.
Source: #1
The text was updated successfully, but these errors were encountered: