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.6.tar.gz
(54.6 kB
view details)
Built Distribution
iftc-1.0.6-py3-none-any.whl
(58.4 kB
view details)
File details
Details for the file iftc-1.0.6.tar.gz
.
File metadata
- Download URL: iftc-1.0.6.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 | 0674708513f3f26ebf56c90e57800eb28d31bba5a3df45f8a346f63da36f4368 |
|
MD5 | d8b6e53e70475c001b95441847c52d38 |
|
BLAKE2b-256 | 40e440afe97b459b39c87cbe2710abba5ce3bbee4f95768962240d6608fbfac6 |
File details
Details for the file iftc-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: iftc-1.0.6-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 | 873890551e595b7a04e5d7cfb22f2f69cc639b9550ebd0c96abfe94deb8e475d |
|
MD5 | f65c6abc69f9a1bfa511f7ba811a189c |
|
BLAKE2b-256 | d6040a3794dc18eee5c207e4865e4899396acadb13707956edd4c72f18c71901 |