LESP is a lightweight, efficient spelling proofreader written in Python. It's designed to be easy to use and lightweight, while still providing a decent result when checking for spelling errors. Resource consumption is kept to a minimum, and the program is designed to be as fast as possible.
Project description
LESP - Lightweight Efficient Spelling Proofreader
Welcome to LESP - Lightweight Efficient Spelling Proofreader!
LESP is a lightweight, efficient spelling proofreader for Python, designed to be easy to use and resource-friendly.
Features
- Lightweight and efficient
- Easy to use
- Cross-platform (Linux, Windows, macOS)
- No external dependencies
Installation
pip install lesp
Usage
from lesp.autocorrect import Proofreader
proofreader = Proofreader()
is_correct = proofreader.is_correct("apgle") # False
if not is_correct:
similar_word = proofreader.get_similar("apgle")
print("Did you mean:", similar_word) # Did you mean: apple
For detailed usage and configuration options, check the documentation.
Contributing
Contributions are welcome! Check out the GitHub repository and feel free to open issues or pull requests.
License
This project is licensed under the BSD 3-Clause License. See the LICENSE file for details.
Acknowledgements
Thanks to Google 10000 English and English Word List for contributing to the wordlist.
Contact
For discussions or support, join the Discord Server or DM @lyubomirt.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.