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.2.1.tar.gz (55.0 kB view details)

Uploaded Source

Built Distribution

iftc-1.2.1-py3-none-any.whl (58.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for iftc-1.2.1.tar.gz
Algorithm Hash digest
SHA256 880fc388b7818dbb131b840631d5757052fdaccbd4eab5c70766f6ca4152d62e
MD5 d62474a0bd7b5e0b8bdb835cad30b6c9
BLAKE2b-256 9ba3f0c7f4450437ad6b45a76f70a8fbaa23975dda11835a43654b3996925fba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iftc-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 58.7 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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 338974055ea96b12f58e40a49afa7a9016beeec44db09e67b300bdc1655aa541
MD5 259f6bf082d2109fe9fb13b78686c98d
BLAKE2b-256 9fd33a92bfaf8df2eddd2b60bf7782a2f9ac91e42981d59873adbc055cbe1a1b

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