Metadata-Version: 2.2
Name: LemX
Version: 0.1.7
Summary: A Banglish lemmatizer and word corrector using Levenshtein Distance Developped By Pronoy Kumar Mondal & Sadman Sadik Khan Under the supervision of Md. Sadekur Rahman In colaboration with DIU NLP & ML Research Lab.
Home-page: https://github.com/yourusername/LemX
Author: Pronoy Kumar Mondal
Author-email: pronoy15-14744@diu.edu.bd
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: python-Levenshtein
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# LemX

LemX is a Banglish lemmatizer and word corrector utilizing Levenshtein Distance. It was developed by Pronoy Kumar Mondal and Sadman Sadik Khan also helped by Washik Wali Faieaz and Kawshik Ahmed Ornob under the supervision of Md. Sadekur Rahman, in collaboration with the DIU NLP & ML Research Lab.

## Installation

LemX can be installed directly from PyPI using pip:

```bash
pip install lemx
```

## Usage

### Word Correction & Lemmatization

```python
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}")
```

```bash
# Response
Corrected word for 'amr': amar
```

### Sentence Correction & Lemmatization

```python
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}")
```

```bash
# 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.


