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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size vicorrect-0.0.8.tar.gz (10.5 kB) | File type Source | Python version None | Upload date | Hashes View |