Skip to main content

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 Vietnamese diacrytics
  • Translate acronyms, đổi vần, etc.

Installation

Run the following to install:

pip install vina2vi

Alternatively, you can also install from GitHub like this

pip install git+https://gitlab.com/phunc20/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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vina2vi-0.0.3.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

vina2vi-0.0.3-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file vina2vi-0.0.3.tar.gz.

File metadata

  • Download URL: vina2vi-0.0.3.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for vina2vi-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1db29fe130ca44edf5825b513fc97f1a71c3869a102b342345970bfa96fd2131
MD5 ad977c7259926321557b628207b426d8
BLAKE2b-256 6bf60f878cd400a42d5a4e97c460ec48ebfa737fd1d100bfd9df3ab2dbb3b83b

See more details on using hashes here.

File details

Details for the file vina2vi-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: vina2vi-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for vina2vi-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 99c969d2d77a92433fcabe47173f67114fbe992c92f92d6a3130e4d100f83496
MD5 0779d160039e73653b73e41b08481754
BLAKE2b-256 1ac36264b7297615e842223665fd7d48d95ba2f1be8bc95bd7f727e34bdf8bca

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page