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 -i https://test.pypi.org/simple/ 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.2.tar.gz
(54.6 kB
view details)
Built Distribution
iftc-1.0.2-py3-none-any.whl
(58.4 kB
view details)
File details
Details for the file iftc-1.0.2.tar.gz
.
File metadata
- Download URL: iftc-1.0.2.tar.gz
- Upload date:
- Size: 54.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc06fef08811ccf384a319754f36251f7b991f8cedca047034d15103d2a7ed21 |
|
MD5 | b9f5dae42b39b5966fabdd127d6054f6 |
|
BLAKE2b-256 | e3b05e00e356cd423f782aa000b5ed11e7f015ac28b0aa3e302c1750e89009ef |
File details
Details for the file iftc-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: iftc-1.0.2-py3-none-any.whl
- Upload date:
- Size: 58.4 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 | 04d14a3c3a9ff6599d7f0122473821877ee40e2883037657556cbf690ea31875 |
|
MD5 | eb8089ca67fe0a6a32c545ca662babbf |
|
BLAKE2b-256 | 440b28b2f6393245f1e6b2ec38126352c9e6eb5bf5082e72beb56e3c1b8f975c |