Skip to main content

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 AmharicQueryCorrector to 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)

Uploaded Source

Built Distribution

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

amharic_corrector-1.0.3-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

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

Hashes for amharic_corrector-1.0.3.tar.gz
Algorithm Hash digest
SHA256 77f9dde21053802d3ce277e12890254ba9327fa2923174cc61b2eead5a3c80b4
MD5 15c62fcf887ab6259411d495da330b4a
BLAKE2b-256 a4fd88a1be215b5e3a810cb3e18082060504d2d6f415fedf2d201f9e3a8410ab

See more details on using hashes here.

File details

Details for the file amharic_corrector-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for amharic_corrector-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 59d9f101d45dbfb6c1728f4c6fb36f1ba9a93e743fe10b4a5cf19d10fe4bb6aa
MD5 88106f1944b8ea813e7775878872d307
BLAKE2b-256 b0729a8bd8ed21f59bffa00b2c52bd4ea7aaed3395c8038229bc04a7e57906f3

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