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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: iftc-1.2.5.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.5.tar.gz
Algorithm Hash digest
SHA256 cff38112c082f416ab425e6b7f1b7c004b8214cd34dc5480d5de3fa7b46faf9a
MD5 8b6cca1edbe165e476da5c7a00fe178e
BLAKE2b-256 06e03035d11cc3598248759c435aeb8f3ea21a404a0a837289402c5c10df6617

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iftc-1.2.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0b8d20041e802da296ab2ca8e3230dc4661167401cb1872bfa14188c211c2c96
MD5 e29f7fbe49acda452fd09b5a533872e2
BLAKE2b-256 00765e5e1da751701243e4523916450309e076bf5b909119cd9ee43b71689494

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