Helpful tool to guess correct vietnamese sentence
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vicorrect-0.0.8.tar.gz
(10.5 kB
view details)
File details
Details for the file vicorrect-0.0.8.tar.gz
.
File metadata
- Download URL: vicorrect-0.0.8.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
5917ba6d96e2eb6af112a7d655530959621d0b80a071b26b697265673b19374a
|
|
MD5 |
0e2ae0c6a8c539a445bb5759da811b42
|
|
BLAKE2b-256 |
72746ad1449b7f28d2b391d81eec8933e9cba391e6a0461685a055f1c1624503
|