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
Module containing C implementations of common text algorithms #46311
Comments
Add a module to the standard library containing fast (C) implementations |
I don't think that this should be part of the core standard library. |
I agree with Amaury. Pyhton uses the slogan "batteries included" and not |
The Porter stemming and Levenshtein edit-distance algorithms are not |
Even PHP includes Levenshtein... ;) |
Before having a optimized version of common test algorithms, why not starting by a Python? Write and maintain C code is harder, and I'm not sure that performances are critical for such algorithm. This issue has no patch: if nobody provides a patch, I will close it because I agree with Amaury and Christian (this issue can be solved by an 3rd party module: such module can be written in C). |
I'll close this as suggested in msg106281 in a couple of weeks unless someone objects. |
I've started on a module called 'texttools'. So far it has Levenshtein and Porter (both coded in C). If there's interest I'll put it on PyPI. Suggestions for other additions? |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: