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.dev1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vina2vi-0.0.3.dev1.tar.gz
  • Upload date:
  • Size: 4.8 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.dev1.tar.gz
Algorithm Hash digest
SHA256 c85aee914429500dabceaee9e529b0c4f4025fe8273edef1971de93af0a2afc7
MD5 e4724ff30b97201349110f6c471663cf
BLAKE2b-256 89e4f84f8cc5034f18b469d1b9fc78dcb42bc6f82d7f52aa3587d2044ca14022

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for vina2vi-0.0.3.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 d3ec5842ff1ca662cf44bc27b5b2913dde3f4eb39d96a8274f8929876ccd42fc
MD5 c6e425682160bb619ac18b8c5b9cd396
BLAKE2b-256 1532f128fb96958871c7582fcc542ad97056112ebbecd565d24f498f61ccd7bd

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