Skip to main content

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

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)

Uploaded Source

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

Hashes for vicorrect-0.0.8.tar.gz
Algorithm Hash digest
SHA256 5917ba6d96e2eb6af112a7d655530959621d0b80a071b26b697265673b19374a
MD5 0e2ae0c6a8c539a445bb5759da811b42
BLAKE2b-256 72746ad1449b7f28d2b391d81eec8933e9cba391e6a0461685a055f1c1624503

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.8 This release

1 file

0.0.7

1 file

0.0.6

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page