-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Levenshtein distance functions to string lib #3648
base: master
Are you sure you want to change the base?
Conversation
Beherith
commented
Aug 29, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the use case for this? Probably worth mentioning in the PR description.
@Beherith What is the status of this? |
Co-authored-by: Citrine <salinecitrine@gmail.com>
Co-authored-by: Citrine <salinecitrine@gmail.com>
Co-authored-by: Citrine <salinecitrine@gmail.com>
Co-authored-by: Citrine <salinecitrine@gmail.com>
Co-authored-by: Citrine <salinecitrine@gmail.com>
Co-authored-by: Citrine <salinecitrine@gmail.com>
Co-authored-by: Citrine <salinecitrine@gmail.com>
@Beherith Is this ready to merge? |
1 similar comment
@Beherith Is this ready to merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests pass
---@param a string | ||
---@param t table, primarily values are strings, keys can be strings too | ||
---@return string, number bestresult, bestscore | ||
function string.FindClosest(a,t) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
function string.FindClosest(a,t) | |
function string.findClosestString(a,t) |