smart ascii to unicode cyrillic converter
Project description
cyr
cyr is a simple console program that converts text written in plain ASCII to UTF-8 cyrillic.
About
- Authors: see the
LICENSE
- License: MIT License
- Bug reports: https://github.com/Aleksej10/cyrillic/issues
- git clone https://github.com/Aleksej10/cyrillic
Dependencies
- python (>=3.6)
- torch
- numpy
nohup
Installing
Install through PyPI:
pip install cyr
Download .cyr_nets
and move them to your home directory (mv .cyr_nets ~/
)
Example use
If you know you're going to use it multiple times in a short period of time, it is best to use
it as a daemon to avoid loading nets (which takes most of the time) every time you run it.
Start daemon:
cyr -D
Convert file
in place using daemon:
cyr -d -f file -i
Kill daemon when you're done:
cyr -K
In case of error check ~/.cyr_nohup
for logs.
Check the man
page after installing for more options.
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 cyr-0.0.1.tar.gz
.
File metadata
- Download URL: cyr-0.0.1.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac176f82f1e489749c107c5a1a02e6f46160dfdfb13bd558104cff9590016d7b |
|
MD5 | 7b2c9720d1dacd39665c9439d13fee4d |
|
BLAKE2b-256 | 93c8786cae762647251fcbbd923e0a6abc5a097273a86a9545766d150822fca8 |
File details
Details for the file cyr-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: cyr-0.0.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59a1782b177238f240bfbe6038b14d9cc1a75e292c93985d641c9111d0cf3fe8 |
|
MD5 | f93c58f83dedd310e137406c43584ad6 |
|
BLAKE2b-256 | 827cf57bbc3ac69b5acee72d4201321dc169be932a1048d50927e1314372c31f |