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

Uploaded Source

Built Distribution

iftc-1.2.3-py3-none-any.whl (61.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iftc-1.2.3.tar.gz
  • Upload date:
  • Size: 58.6 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.3.tar.gz
Algorithm Hash digest
SHA256 0d3373b214dcaeba14debbf2136885e76d282f4394c5de1ccb22f1d1ceb57c7d
MD5 6787c9e236859e6a2e5831bc39d4f5d9
BLAKE2b-256 513a41bd3b07152202a1fcc1907d15f5ccee37f2135f0a942c1150cd724d8daa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iftc-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 61.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bba6c6e27875329a186b24d67961d4b9ff5410817571ff5b8a8e29724bc9589f
MD5 a1f0744bc31bd1ac122cb54c0c5d8338
BLAKE2b-256 4684fbc2b49340d585481bd49991530b2d7065b97ae045ab51efe0ea1266c7a3

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