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

Uploaded Source

Built Distribution

iftc-1.2.6-py3-none-any.whl (61.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iftc-1.2.6.tar.gz
  • Upload date:
  • Size: 58.7 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.6.tar.gz
Algorithm Hash digest
SHA256 c1cd033834940ae1408ed0b00a0bcd7a4e0113d01d5bfb74b2f710fc5364092c
MD5 c4ee06b3e9bf4e53359ffa848974f23b
BLAKE2b-256 b22b456af287c440b3543629eba32068141c0cf8f06c5269e432459c5d94ab86

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iftc-1.2.6-py3-none-any.whl
  • Upload date:
  • Size: 61.4 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d9ec4ca7c78235c2f6cd8c84f852ab8a08a174985c1260fa3ca3d7d313822105
MD5 4c4c39580123e9d96547a37781c83ea5
BLAKE2b-256 590562de9e77f7a5e820aa5d161c327ac1bf5a4cac7c5154c807cd94e23ce374

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