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.1.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.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vniencoder-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 79ff5a0ae69deeb6ff546204a17de6a0493055d3fccb31d79927e5f0b71f551e
MD5 9a6f2c2ce91627e2db6deccb8a659d0b
BLAKE2b-256 37542ecf322c375cb59d20e171b5ab3e823f0d013b0d5943cf9c195d321587e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vniencoder-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7a89ba137cb9fdd254580e56477759068c64695c58632912bd0a30ee19e27bb9
MD5 3ad6daa81d25dfecd171fc7f5ad86b21
BLAKE2b-256 43bf52d014522544b84aa902e1991f561b0913ebbc0662d77c3df3f91a7a45b5

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