A command line translator powered by Youdao api
Project description
A command line translator powered by [Youdao api](http://fanyi.youdao.com/openapi).
## usage
translator TEXT
The program can be used with a TEXT to be translated followed.
`shell $translator good 好 --------------------- 美音:[ɡʊd] 英音:[gʊd] 更多释义: n. 好处;善行;慷慨的行为 adj. 好的;优良的;愉快的;虔诚的 adv. 好 n. (Good)人名;(英)古德;(瑞典)戈德 `
translator without any args
It can also be used without any args to enter the interactive mode.
`shell $translator Enter your text to be translated.Type `q` to quit. >>hello 你好 --------------------- 美音:[hɛˈlo, hə-] 英音:[hə'ləʊ; he-] 更多释义: n. 表示问候, 惊奇或唤起注意时的用语 int. 喂;哈罗 n. (Hello)人名;(法)埃洛 >> `
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
File details
Details for the file mec-translator-0.0.4.tar.gz
.
File metadata
- Download URL: mec-translator-0.0.4.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 966a8c91a50a9f3314bd5bb9d8e8d86471dfa28271b0e1489c90f231bea7ab8c |
|
MD5 | 1161661a7b10daa5f49ce53eaba55fd9 |
|
BLAKE2b-256 | 3d9ac667f174e37b92dc590c8d09b9a352c007b0eccf42419423197a2e8b5643 |