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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79ff5a0ae69deeb6ff546204a17de6a0493055d3fccb31d79927e5f0b71f551e
|
|
| MD5 |
9a6f2c2ce91627e2db6deccb8a659d0b
|
|
| BLAKE2b-256 |
37542ecf322c375cb59d20e171b5ab3e823f0d013b0d5943cf9c195d321587e4
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a89ba137cb9fdd254580e56477759068c64695c58632912bd0a30ee19e27bb9
|
|
| MD5 |
3ad6daa81d25dfecd171fc7f5ad86b21
|
|
| BLAKE2b-256 |
43bf52d014522544b84aa902e1991f561b0913ebbc0662d77c3df3f91a7a45b5
|