Skip to main content

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

Version License Python Platform Dependencies

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.

Contributors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lesp-1.1.1.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

lesp-1.1.1-py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page