Skip to main content

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 <code>

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.1.tar.gz (6.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page