Skip to main content

Thư viện mã hóa và giải mã văn bản tiếng Việt theo VNI

Project description

VniEncoder

Tác giả: Trịnh Huỳnh Thịnh Khang

Giới thiệu: Thư viện Python này giúp mã hóa và giải mã văn bản tiếng Việt theo phương pháp VNI.

Cài đặt

pip install vniencoder

Cách dùng

from vniencoder import VniEncoder

VniEncoder = VniEncoder()  # Tạo đối tượng

result = VniEncoder.encode("bí chị cửa!!")  # Gọi hàm encode
print(result)  # Kết quả: "bi1 chi5 cua73"

decoded_text = VniEncoder.decode("bi1 chi5 cua73!!")
print(decoded_text)  # Kết quả: "bí chị cửa"

Thông tin liên hệ:

Gmail: trinhhuynhthinhkhang.work@gmail.com

Page Facebook: Nhật ký học tập của Khang

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

vniencoder-0.2.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vniencoder-0.2.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file vniencoder-0.2.0.tar.gz.

File metadata

  • Download URL: vniencoder-0.2.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.10

File hashes

Hashes for vniencoder-0.2.0.tar.gz
Algorithm Hash digest
SHA256 76d4e378bde099fc350ac83a2b6c2af0f4a50c3dfca66da4e4e2e10a6b5bcd57
MD5 3fba6d02d289b9884f51ade0a5b660ec
BLAKE2b-256 80de4b22eaca1da5b5f7c895cf19d3d9d188a0bfab9e351210dce46ff53cf387

See more details on using hashes here.

File details

Details for the file vniencoder-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: vniencoder-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.10

File hashes

Hashes for vniencoder-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 542b810acf51ae12c5efe21cc573e121d159cf4557a4a2a4a6e52b29071a6a9a
MD5 8b01b04d0425e68df909c7d39ce1a184
BLAKE2b-256 8d5cdd35c614a5de71c5e9598207c5f5773b1190ec2d944f56a8f111e0f72295

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page