LingoTweaker (Python)
Python bindings for the LingoTweaker proofreading engine (Rust core, PyO3).
The extension module is imported as lt_py; the distribution is named
lingotweaker.
import lt_py
engine = lt_py.Engine("en-US")
for match in engine.check("I can heard you."):
print(match["rule_id"], match["suggestions"])
This wheel ships code only. Language data is installed separately, one PyPI distribution per language:
pip install lingotweaker lingotweaker-data-en
lt_py then finds the data automatically for a matching language:
import lt_py
engine = lt_py.Engine("en-US")
Each lingotweaker-data-<lang> package exposes its directory as
lingotweaker_data_<lang>.data_dir() if you prefer to pass it explicitly
(lt_py.Engine(..., data_dir=data_dir())) or to set LT_DATA_DIR (which also
accepts a single .pack/.pack.gz file). Per-language packs and archives are
attached to each GitHub Release
as well. See the repository README and data/README.md for how the data tree is
produced.
LingoTweaker is an independent project and includes a port of the legacy
LanguageTool proofreading engine and its rule data. Upstream references and
licenses are kept; see THIRD_PARTY_NOTICES.md in the repository.
License: LGPL-2.1-or-later.
Release files for lingotweaker 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lingotweaker-0.1.1.tar.gz | 1.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lingotweaker-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ x86-64 | Details |
Total release size: 6.9 MB
Release files / lingotweaker-0.1.1.tar.gz
| Download URL | lingotweaker-0.1.1.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce733cb50252c3702299b00deb25d45c9716e00e37f44dc50b7a4767a749d211
|
|
BLAKE2b-256 checksum How to use checksums |
4811fab817231240ef2074b2569934aca1a6fe1c39865809bd19a5829ecb5b3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / lingotweaker-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | lingotweaker-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 5.4 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
1aeffbbbc723ab260580ae11d08df277c36a2465d155d423aa872934274b2eeb
|
|
BLAKE2b-256 checksum How to use checksums |
8ec4ef53d492d800b385f617e625517fac71e08a72d19f9a5d8da246a2896823
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|