No project description provided
Project description
vina2vi
vina2vi
stands for Vietnamese no accent to Vietnamese,
which is a Python package aiming at helping foreigners decrypt messages
in Vietnamese. (More precisely,
foreigners who already know the basics of the language.)
Among other things, this Python package tries to
- Restore from Vietnamese w/o diacrytics to w/ diacrytics
- Translate acronyms, teencode, etc.
Installation
Run the following to install:
pip install vina2vi
Usage
I only work on this project on spare time, and work slowly. So this README will get changed a lot in the future. For the moment, there is not much in the package that is super useful. As time goes by, I will add more.
In [1]: from vina2vi.utils import Vietnamese
In [2]: Vietnamese.is_foreign("Российская Федерация\tRossiyskaya Federatsiya")
Out[2]: True
In [3]: Vietnamese.is_foreign("\n\tRossiyskaya Federatsiya")
Out[3]: False
In [4]: Vietnamese.is_foreign("Tôi nói tiếng Việt Nam\t碎呐㗂越南")
Out[4]: True
In [5]: Vietnamese.is_foreign("Tôi nói tiếng Việt Nam\t")
Out[5]: False
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file vina2vi-0.0.2.tar.gz
.
File metadata
- Download URL: vina2vi-0.0.2.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 003aa7bc37d974004ed8908629cdcf53586ad74ae47561d41ba8a58b27acc8db |
|
MD5 | 61995c8ed1829e85c8f8b412bd4f72e1 |
|
BLAKE2b-256 | 376f00884d87b19fec14f842c2ef84cdeec89716f402f13347bab7e67bfd2216 |
File details
Details for the file vina2vi-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: vina2vi-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7898f27f1653a1ff76840f5208de8535e0e43e30532a083a61111afc3b4f4240 |
|
MD5 | 2ecfdf8f96da1230a3bead32cfb7d294 |
|
BLAKE2b-256 | 5449041f729b55000b501027ad99d8aafaaff492eefa7ea0edef19954e61b2c5 |