editdistance
editdistance copied to clipboard
Fast implementation of the edit distance(Levenshtein distance)
I would like a way to get the similarity of the 2 strings instead of just the distance. For example with python-Levenshtein I can do: ``` >>> Levenshtein.ratio("ab", "abc") 0.8...
Would it be possible to optionally return the edit operations (insert, del, replace) or at least their counts in addition to the total edit distance?
Hi, I encountered the error message below when I tried to pip install editdistance. I have already installed the latest version Visual Studio C++ as well as the Win 10...
Edit distance include substitution, deletion and insertion. editdistance.eval(a, b) can only get the total value which is this there value added together. But I want this seperate three value, what...
I am trying to find edit distance between two arrays. But I want my own logic to determine whether two elements are equal or not - which is not exact...
Add some test cases by using [hypothesis](https://github.com/HypothesisWorks/hypothesis), a property-based testing library. I also introduce [textdistance](https://github.com/life4/textdistance) as a test oracle and the test cases compare its results with those of it....
Enable library to calculate the length of the longest common subsequence (LCS). > LCS distance is equivalent to Levenshtein distance when only insertion and deletion is allowed (no substitution), or...
Would be great to have `editdistance.eval(a, b, limit=5)` if the result would be `> 5` then it returns `None`
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1 to 3. Release notes Sourced from docker/setup-qemu-action's releases. v3.0.0 Node 20 as default runtime (requires Actions Runner v2.308.0 or later) by @crazy-max in docker/setup-qemu-action#102 Bump @actions/core...
0.8.1: pep517 based build packages some files which should not be packaged and compile time warnings
Looks like .cpp, .h, .pyx and even .gitignore are packaged. build output ```console + /usr/bin/python3 -sBm build -w --no-isolation * Getting build dependencies for wheel... * Building wheel... running build...