High-performance Amharic phonetic query corrector
Project description
Amharic Corrector
High-performance phonetic query correction library for Amharic.
Changelog
1.0.2
- Added instance-level caching to
AmharicQueryCorrectorto prevent shared state when multiple instances are used with different corpuses. - Minor performance improvements in candidate lookup.
Installation
pip install .
Usage
from amharic_corrector import AmharicQueryCorrector
c = AmharicQueryCorrector("path/to/corpus.json")
print(c.correct_phrase("mekanitu"))
CLI
amharic-correct "Kuratie" --model path/to/corpus.json
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
amharic_corrector-1.0.3.tar.gz
(11.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file amharic_corrector-1.0.3.tar.gz.
File metadata
- Download URL: amharic_corrector-1.0.3.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77f9dde21053802d3ce277e12890254ba9327fa2923174cc61b2eead5a3c80b4
|
|
| MD5 |
15c62fcf887ab6259411d495da330b4a
|
|
| BLAKE2b-256 |
a4fd88a1be215b5e3a810cb3e18082060504d2d6f415fedf2d201f9e3a8410ab
|
File details
Details for the file amharic_corrector-1.0.3-py3-none-any.whl.
File metadata
- Download URL: amharic_corrector-1.0.3-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59d9f101d45dbfb6c1728f4c6fb36f1ba9a93e743fe10b4a5cf19d10fe4bb6aa
|
|
| MD5 |
88106f1944b8ea813e7775878872d307
|
|
| BLAKE2b-256 |
b0729a8bd8ed21f59bffa00b2c52bd4ea7aaed3395c8038229bc04a7e57906f3
|