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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: iftc-1.1.8.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.8.tar.gz
Algorithm Hash digest
SHA256 1e2095938e4cf3ac4f36a29907e5868140c652616d7dfc0ecdcf88d8d55fd60f
MD5 fbec9e78384feba566ca09affded006b
BLAKE2b-256 e946c54b7e89cfd9c236cbfa373566c6f81afcb57d820423363b7e715a769bba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iftc-1.1.8-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.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fb2a00f6a35f0ce069513523f295ba46c763654cb0a14eb591835d7295c5d094
MD5 52f476fbf2a6b09b62a9435de801c374
BLAKE2b-256 4922fb44a778457afc4e0fc8eacfee4783e3281bf7b85cba80ae6d8b92267ffe

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