Skip to main content

A Banglish lemmatizer and word corrector using Levenshtein Distance Developped By Pronoy Kumar Mondal Under the supervision of Md. Sadekur Rahman.

Project description

LemX

LemX is a Banglish lemmatizer and word corrector utilizing Levenshtein Distance. It was developed by Pronoy Kumar Mondal, Washik Wali Faieaz and Kawshik Ahmed Ornob under the supervision of Md. Sadekur Rahman.

Installation

LemX can be installed directly from PyPI using pip:

pip install lemx

Usage

Word Correction & Lemmatization

from lemx import LemX

lemmatizer = LemX()

# Correct and lemmatize a single word
incorrect_word = "amr"
corrected_word = lemmatizer.correct_word(incorrect_word)

print(f"Corrected word for '{incorrect_word}': {corrected_word}")
# Response
Corrected word for 'amr': amar

Sentence Correction & Lemmatization

from lemx import LemX

lemmatizer = LemX()

# Correct and lemmatize a sentence
sentence = "ajkei ami valo asi"
corrected_sentence = lemmatizer.correct_sentence(sentence)

print(f"Corrected sentence: {corrected_sentence}")
# Response
ajke ami valo achi

Features

  • Banglish Word Lemmatization: Converts inflected forms to their base forms.
  • Banglish Word Correction: Uses Levenshtein Distance for error correction.
  • Lightweight & Easy to Use: Simple API for seamless integration.

Contributing

We welcome contributions! If you'd like to improve LemX, feel free to:

  • Open an issue for bug reports or feature requests.
  • Submit a pull request with your improvements.

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

lemx-0.1.8.tar.gz (28.8 kB view details)

Uploaded Source

Built Distribution

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

lemx-0.1.8-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file lemx-0.1.8.tar.gz.

File metadata

  • Download URL: lemx-0.1.8.tar.gz
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for lemx-0.1.8.tar.gz
Algorithm Hash digest
SHA256 319f181be9ff3d420ce495fa1f1e75e42158d7e8ed7fb41a0b3aa2f5b71e6fb3
MD5 052245067d89bef8f951603106470b71
BLAKE2b-256 6e59811ac6894ef0ba5a88535a731b4ff15dc145064beffcc97525f2add89361

See more details on using hashes here.

File details

Details for the file lemx-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: lemx-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 28.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for lemx-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 49b27fa6b91a3ad5059e24765a29b55cdaee5e948475d42f8e3b403ff64fb3a3
MD5 87e8ca5e5f8a22cb6b03d94aefc09e86
BLAKE2b-256 e491c40a95b1d6fa0a42c82bea727ee257c4ef62faa1de2265952829a6b61d06

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