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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vniencoder-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 710430d35fdd9c958c8db77b13d3a83e7031d80c1f37ca96b4c2b4aea81526e3
MD5 d2b6202947aa0dd1be1bba97fa1b0a34
BLAKE2b-256 98f9dbdef92d65fded4d280aa9b9650d849899c715376ba7e2b4191bda7140a6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vniencoder-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9e86c2443411a1d067f0a730bf51d9dfbc886f065c6b87d0790d99798195798
MD5 904f0c8f896a39e0472ab553e0e5bfb4
BLAKE2b-256 b743a8315b3a81a329909f53abdb43e1b0517590cc354f8a7cce207221144e95

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