editdistance icon indicating copy to clipboard operation
editdistance copied to clipboard

Fast implementation of the edit distance(Levenshtein distance)

Results 29 editdistance issues
Sort by recently updated
recently updated
newest added

Looks like because .. https://github.com/roy-ht/editdistance/blob/9e05bc645062f68a5c329ea64a1c31cd142bd185/pyproject.toml#L26-L27 build fails with ```console + /usr/bin/python3 -sBm build -w --no-isolation * Getting build dependencies for wheel... ERROR Missing dependencies: setuptools>=40.8.0 ```

- `python3 -sBm build -w --no-isolation` - because I'm calling `build` with `--no-isolation` I'm using during all processes only locally installed modules - install .whl file in using 'installer` module...

On my MacOS I'm getting the following error on `editdistance` version `0.6.2`: ``` Traceback (most recent call last): File "/Users/markoburazin/kog/manage.py", line 7, in execute_from_command_line(sys.argv) File "/Users/markoburazin/Library/Caches/pypoetry/virtualenvs/kog-6rZ4PL8--py3.11/lib/python3.11/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line...

Since the source distribution is broken (#102 and #106) this breaks downstream packages that depend on editdistance via Panphon (https://github.com/dmort27/panphon) We cannot fix this problem by, for example, including editdistance...

The [.tar.gz for v0.6.2 on PyPI](https://pypi.org/project/editdistance/#files) is missing the `editdistance/bycython.pyx` file, so it can't be installed from there. The .tar.gz linked in the [GitHub Release](https://github.com/roy-ht/editdistance/releases/tag/v0.6.2) has that file.

# Bug Report My research team uses `editdistance` for ML/DL model evaluation. During research, I noticed that sometimes error rates (computed by $\frac{EditDistance}{NumberOfCharacters}$) are little off than expected values. After...

Currently, `pip install editdistance` works on Linux with Python 3.13, but not on Windows, due to compilation errors. Please build wheels for py 3.13, to fix this issue.