Skip to main content

text translation

Project description

文字翻譯

安裝

pip install google_trans_new_chiou

含入模組

from google_trans_new_chiou import google_translator

使用

translator=google_translator()
word=translator.translate("今天天氣真好",lang_src="zh-TW",lang_tgt="ja",pronounce=True)

傳回值:

['今日は良い天気 ', 'Jīntiān tiānqì zhēn hǎo', 'Kyō wa yoi tenki']

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

google_trans_new_chiou-0.1.0.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

google_trans_new_chiou-0.1.0-py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 3

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