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 SpellingCorrector
corrector = SpellingCorrector()
corrected_text = corrector.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 detect spelling error
from iftc.spelling_corrector import SpellingCorrector
corrector = SpellingCorrector()
text, word_candidates = corrector.detect_spelling_error('b ơi, món này giá bn thế')
print(word_candidates)
Metadata
Release files for iftc 1.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iftc-1.2.6.tar.gz | 58.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iftc-1.2.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 120.1 kB
Release files / iftc-1.2.6.tar.gz
| Download URL | iftc-1.2.6.tar.gz |
|---|---|
| Size | 58.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1cd033834940ae1408ed0b00a0bcd7a4e0113d01d5bfb74b2f710fc5364092c
|
|
BLAKE2b-256 checksum How to use checksums |
b22b456af287c440b3543629eba32068141c0cf8f06c5269e432459c5d94ab86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.16
|
Release files / iftc-1.2.6-py3-none-any.whl
| Download URL | iftc-1.2.6-py3-none-any.whl |
|---|---|
| Size | 61.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9ec4ca7c78235c2f6cd8c84f852ab8a08a174985c1260fa3ca3d7d313822105
|
|
BLAKE2b-256 checksum How to use checksums |
590562de9e77f7a5e820aa5d161c327ac1bf5a4cac7c5154c807cd94e23ce374
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.16
|