Spelling Correction for Vietnamese Informal Text
Project description
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 iftc
Example Usage
Only spelling correction for acronyms
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:
'bạn ơi, món này giá bao nhiêu thế'
Spelling correction for acronyms and telex
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:
'bạn ơi món này giá bao nhiêu thế'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
iftc-1.0.9.tar.gz
(54.8 kB
view details)
Built Distribution
iftc-1.0.9-py3-none-any.whl
(58.6 kB
view details)
File details
Details for the file iftc-1.0.9.tar.gz
.
File metadata
- Download URL: iftc-1.0.9.tar.gz
- Upload date:
- Size: 54.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c0df10b8ae7940c5f63bb845c0b5762048d74652a423d03b194d307ddd72945 |
|
MD5 | ab93a6d1123dfafc54e9e9f0f7ef1921 |
|
BLAKE2b-256 | 8e9a2decd5baabe267ebd48e82dbc489ba83ee9da6a234baafa39f9cf4f5b52f |
File details
Details for the file iftc-1.0.9-py3-none-any.whl
.
File metadata
- Download URL: iftc-1.0.9-py3-none-any.whl
- Upload date:
- Size: 58.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9dac2f1dd87a69f30fe18e70e1472d353a2db37b66f1e7be24248dbafe399ed |
|
MD5 | 73dbf60ad208f29e8f87c8e333718d73 |
|
BLAKE2b-256 | 9e3f1d64ae4757fbca5361926baaa34f1892b85912a5650474b68b7418628021 |