Skip to content

Commit

Permalink
Merge pull request #86 from musicinmybrain/python-Levenshtein-name
Browse files Browse the repository at this point in the history
Update URL and name for python-Levenshtein
  • Loading branch information
orsinium authored Sep 28, 2023
2 parents 518197a + f31ac6b commit 5f793e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ Supported libraries:
1. [jellyfish](https://github.com/jamesturk/jellyfish)
1. [py_stringmatching](https://github.com/anhaidgroup/py_stringmatching)
1. [pylev](https://github.com/toastdriven/pylev)
1. [python-Levenshtein](https://github.com/ztane/python-Levenshtein)
1. [Levenshtein](https://github.com/maxbachmann/Levenshtein)
1. [pyxDamerauLevenshtein](https://github.com/gfairchild/pyxDamerauLevenshtein)

Algorithms:
Expand Down
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
'extras': [
'jellyfish', # for DamerauLevenshtein
'numpy', # for SmithWaterman and other
'python-Levenshtein', # for Jaro and Levenshtein
'Levenshtein', # for Jaro and Levenshtein
'pyxDamerauLevenshtein', # for DamerauLevenshtein
'rapidfuzz>=2.6.0', # for Jaro, Levenshtein and other
],
Expand All @@ -19,7 +19,7 @@
# common
'jellyfish',
'numpy',
'python-Levenshtein',
'Levenshtein',
'pyxDamerauLevenshtein',
'rapidfuzz>=2.6.0',
# slow
Expand Down Expand Up @@ -62,22 +62,22 @@
'pyxDamerauLevenshtein', # for any iterators
],
'Hamming': [
'python-Levenshtein', # only same length and strings
'Levenshtein', # only same length and strings
'rapidfuzz>=2.6.0', # only same length, any iterators of hashable elements
'jellyfish', # only strings, any length
'distance', # only same length, any iterators
],
'Jaro': [
'rapidfuzz>=2.6.0', # any iterators of hashable elements
'python-Levenshtein', # only text
'Levenshtein', # only text
],
'JaroWinkler': [
'rapidfuzz>=2.6.0', # any iterators of hashable elements
'jellyfish', # only text
],
'Levenshtein': [
'rapidfuzz>=2.6.0', # any iterators of hashable elements
'python-Levenshtein', # only text
'Levenshtein', # only text
# yeah, other libs slower than textdistance
],
}
Expand Down

0 comments on commit 5f793e1

Please sign in to comment.