Skip to main content

Spelling Correction for Vietnamese Informal Text

Project description

IFT Correction

IFT Correction(Informal Text Correction) is a library of spelling correction for Vietnamese informal text type(informal text is the type of text as daily communication messages)

Installation

pip install iftc

Example Usage

Only spelling correction for acronyms

from iftc.spelling_corrector import SpellingCorrector

corrector = SpellingCorrector()

corrected_text = corrector.acronym_correction('b ơi, món này giá bn thế')
print(corrected_text)

This should print:

'bạn ơi, món này giá bao nhiêu thế'

Spelling correction for detect spelling error

from iftc.spelling_corrector import SpellingCorrector

corrector = SpellingCorrector()

text, word_candidates = corrector.detect_spelling_error('b ơi, món này giá bn thế')
print(word_candidates)

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

iftc-1.1.5.tar.gz (54.9 kB view details)

Uploaded Source

Built Distribution

iftc-1.1.5-py3-none-any.whl (58.6 kB view details)

Uploaded Python 3

File details

Details for the file iftc-1.1.5.tar.gz.

File metadata

  • Download URL: iftc-1.1.5.tar.gz
  • Upload date:
  • Size: 54.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for iftc-1.1.5.tar.gz
Algorithm Hash digest
SHA256 dfa3bccbb701ce5a43d970a61c926be1bfaa35f3a5e050e8240e54a525731c4f
MD5 28ed6666b8f2f4466583e82962cfd87a
BLAKE2b-256 5f55579a293cf6a8b2ecb832e7db01f36bd5085642ce4b21760c0ffc3ca06da8

See more details on using hashes here.

File details

Details for the file iftc-1.1.5-py3-none-any.whl.

File metadata

  • Download URL: iftc-1.1.5-py3-none-any.whl
  • Upload date:
  • Size: 58.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for iftc-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c3604c4e652e942cf74186ec66593ac87189d38af0890781c6905dc95bbda1b5
MD5 7eac3bea46795a45986e555518d70ee3
BLAKE2b-256 8942cd70e1b3c3321851492c0440e4af3a50e534d203f9748416fa79ad9bc72d

See more details on using hashes here.

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