Metadata-Version: 2.1
Name: iftc
Version: 1.0.2
Summary: Spelling Correction for Vietnamese Informal Text
Home-page: https://gitlab.ftech.ai/nlp/research/ift-correction
Author: namph
Author-email: namph@ftech.ai
License: MIT
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: Vietnamese
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.4
Description-Content-Type: text/markdown
Requires-Dist: nltk
Requires-Dist: pandas
Requires-Dist: xlrd
Requires-Dist: dill

# IFT Correction

IFT Correction(Informal Text Correction) is a library of spelling correction for Vietnamese informal text type(informal text is the type of text as daily communication messages)

## Installation

```
pip install -i https://test.pypi.org/simple/ iftc
```

## Example Usage

### Only spelling correction for acronyms

```python
from iftc.spelling_corrector import acronym_correction

corrected_text = acronym_correction('b ơi, món này giá bn thế')
print(corrected_text)
```

This should print:

```console
'bạn ơi, món này giá bao nhiêu thế'
```

### Spelling correction for acronyms and telex

```python
from iftc.spelling_corrector import telex_correction

corrected_text = telex_correction('b ơi, mons nayd giá bn thế')
print('corrected text: {0}'.format(corrected_text))
```

This should print:

```console
'bạn ơi món này giá bao nhiêu thế'
```
