Skip to content

Add a limit parameter to the {Weighted,}Levenshtein distance.#48

Merged
tdebatty merged 1 commit into
tdebatty:masterfrom
NationalBI:levenshtein-limits
Jun 27, 2018
Merged

Add a limit parameter to the {Weighted,}Levenshtein distance.#48
tdebatty merged 1 commit into
tdebatty:masterfrom
NationalBI:levenshtein-limits

Conversation

@ewanmellor

Copy link
Copy Markdown
Contributor

Add a limit parameter to Levenshtein and WeightedLevenshtein's distance
methods. This causes the calculation to exit early if the limit is reached.
This means that if the caller only cares about strings with a small distance,
they can terminate early if the strings are found to be very different.

Add a limit parameter to Levenshtein and WeightedLevenshtein's distance
methods.  This causes the calculation to exit early if the limit is reached.
This means that if the caller only cares about strings with a small distance,
they can terminate early if the strings are found to be very different.
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.1%) to 95.05% when pulling 624fe28 on NationalBI:levenshtein-limits into 495656d on tdebatty:master.

@tdebatty tdebatty merged commit 2a345e0 into tdebatty:master Jun 27, 2018
@tdebatty

Copy link
Copy Markdown
Owner

Thank you!

@tdebatty

Copy link
Copy Markdown
Owner

Just released version 1.2.0
Should be available on Maven Central within a few hours...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants