Skip to main content

Bing translation for python

Project description

Bing Translation For Python

如何安装:

$ pip install bing-translation-for-python

快速上手:

完整文档 Under construction

示例:

这个示例演示了如何将任意一种语言转换为英文

hello.py:

from bing_translation_for_python import Translator
print(Translator('en').translator('你好'))

运行 hello.py

in  $ python ./hello.py
out $ hello.

附加组件[终端翻译工具]

这是一个在你的终端中的快速翻译小工具

安装

$ pip install bing-terminal-translator

项目地址

bing-termina-translator

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page