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.2.tar.gz (11.1 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.2-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file amharic_corrector-1.0.2.tar.gz.

File metadata

  • Download URL: amharic_corrector-1.0.2.tar.gz
  • Upload date:
  • Size: 11.1 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.2.tar.gz
Algorithm Hash digest
SHA256 7043f7f42f82211156c519281e4eff388ca5ac9e2ccc6bac6d3dbdf0b7dff14d
MD5 61c73319c530801e23ebf1ae24348383
BLAKE2b-256 ada23414a6bc36fe7e71a20dbfbb06fa70fe833a820ad4140669973e4873a900

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for amharic_corrector-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e2c0ef9d4b179a44207dbedd5cfd8735b112dbee78efa94b114816a0ef58403f
MD5 ce3c21885067cedf9d7c53063a399735
BLAKE2b-256 b00220fabf8fcea6e68cc2acb1f2d3e338313ecebb6dbf15bfb7bcb96cc1512e

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