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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: iftc-1.2.4.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.4.tar.gz
Algorithm Hash digest
SHA256 f265b6bd61bdada3ba83c981e8b3018411c424b0011c1cc19becd503ff40ce83
MD5 a95f3df50f2bc64a06df4127df3bb56d
BLAKE2b-256 33d8ed1f1f3c68dbfc1eb174a792471f1a44a5959ab4500062e3522bbd6e0246

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iftc-1.2.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6d114be17f1827e811a8660f53dc4d95c95a031dae89a248a4ec297700cace97
MD5 432967235635b03d626bb0f69f759aef
BLAKE2b-256 aa98f99a02635d1457c84a6bd565dc16f72f57f9f34fd4c07d3819ce8b686b6f

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