translate tool support(google,baidu,iciba,youdao)
Project description
translate utils support google,baidu,iciba,youdao
[introduction]
- support version: python 3.0+
down install
- pip install:
pip install translate-util
DEMO
from translate_util.translate_tool import translate_other2cn,translate_other2en,translate_text
# translate other language to chinese (default use google)
print(translate_other2cn('china'))
# translate other language to english (default use google)
print(translate_other2en('中国'))
# translate other language to de ,support any language
print(translate_text('china', tl='de'))
OTHER SUPPORT
any customization demand,contact me with email
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
translate_util-1.1.0.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for translate_util-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc1b0ee3d137a69b326be9b08e2a59d4c58023ffb0f4acd8a523a5579585dd25 |
|
MD5 | d6193275136fc2017c7801870aa82449 |
|
BLAKE2b-256 | 546599ad2883f20b2e18071bee46ea06e8f75987bf08b1698783f875675b456f |