Correct Vietnamese Sentence tool
Description
- Adding accents vietnamese sentence tool
Intsallation
pip install vicorrect
Examples:
from vicorrect.model import CorrectVietnameseSentence
dataset = """
trời buồn trời đổ cơn mưa
chim khôn chim đậu cành đa"""
corrector = CorrectVietnameseSentence(verbose=False)
corrector.fit(dataset.splitlines())
testcase = [
"troi buon",
"com chim dau",
"chim dau canh da troi do mua"
]
print(corrector.predict(testcase))
Author
Hanh. Le Van
Release files for vicorrect 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vicorrect-0.0.8.tar.gz | 10.5 kB | Details |
Release files / vicorrect-0.0.8.tar.gz
| Download URL | vicorrect-0.0.8.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5917ba6d96e2eb6af112a7d655530959621d0b80a071b26b697265673b19374a
|
|
BLAKE2b-256 checksum How to use checksums |
72746ad1449b7f28d2b391d81eec8933e9cba391e6a0461685a055f1c1624503
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/43.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.6
|