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.1.1.tar.gz (4.3 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.1.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for vniencoder-0.1.1.tar.gz
Algorithm Hash digest
SHA256 78323dd775a65bf08db7bc61559f5c4b61bb75040ae445856e7a427f977eb656
MD5 38476c42a62c6ca701fa2bec6955122c
BLAKE2b-256 cf1a3f97ee1a16ae4160ca03a5f734b4611a3024f73eb82342581504d9b70a72

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vniencoder-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.0 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3f8fd2d376d86c70e519ad01af12754913397307e78e743f209a1c7dcaad9e2e
MD5 9dca6ba493d90bfa3bb730baa945bfbe
BLAKE2b-256 201117dde638856171d8dc0c9bb8ca4b74aa899602b69ab07c7ee2360526dfbd

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