-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
File and command line? #12
Comments
Great idea @andradadad! I will look into this. |
Second this suggestion, a command line utility for transliteration would be great. Or may be you guys have heard of something like this already in existence? |
Hey @andradadad and @097115, try out the following branch and let me know if it meets your requirements: InstructionsSample command line call to transliterate a Russian text file: Use the Use the Issues
|
Seems to work OK with files, thanks (macOS 10.11, Python 3.7.4). However, with pipes (like, (Also, speaking of Cyrillic letter |
@097115 good catch. Pipes is now supported. Try this and let me know how it goes: echo "АаБбВв" | python cyrtranslit.py -l RU For the problem with Cyrillic letter Ъ, I will create another issue. |
Python 3.8
|
@andradadad thank you for the thorough testing! Current support is only up to Python 3.7: #13 If lack of support for 3.8 is a blocker for you then I can address it as part of this Issue but it will take a bit of time. If not, then I can create another Issue and address it at later date so that I can focus on closing this Issue and merging it to master. |
Seems like working for me (macOS, Python 2.7, 3.7), thanks! Also, when this makes its way to the master, will there be any binary included in the distribution, like a simple wrapper around this |
@097115 I was thinking of just a shell script but maybe you have a better suggestion? |
@georgeslabreche, yeah, pretty much it, a simple shell script. Just to have it so we could use it in pipes right after installing the package. Thanks once again! |
input a .txt and execute it through a command "CyrTranslit -i text.txt"
The text was updated successfully, but these errors were encountered: