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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file lesp-1.1.1.tar.gz.

File metadata

  • Download URL: lesp-1.1.1.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.0

File hashes

Hashes for lesp-1.1.1.tar.gz
Algorithm Hash digest
SHA256 30e21d7749484b258661bcdee3425653109b711a7f93e26cb67f596ca604f3a5
MD5 efdd3b381a278b3b4877e308279d56e7
BLAKE2b-256 e431728863d7ef1e4ba249753347ec93e43a9d7cd5c9f2e5dfc922475a3644e5

See more details on using hashes here.

File details

Details for the file lesp-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: lesp-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.0

File hashes

Hashes for lesp-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 761a8f6fa40a0a9a5b453e790c686a5cdd61e28406150d35f1f3bc77feaff44a
MD5 2087a522662d7078983ae6ea9482903a
BLAKE2b-256 6533e30e6ee8ae0139fb06d97e4f9db3ae8ce588c95dd479ef268a159700b136

See more details on using hashes here.

Supported by

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