# python 翻译 api
# 基于多种翻译引擎:Google, Yandex, Microsoft(Bing), Baidu, Alibaba, Tencent, NetEase(Youdao), Sogou, Kingsoft(Iciba), Iflytek, Deepl, Caiyun, Argos
#https://pypi.org/project/translators/
#pip install translators
import translators as ts
text="hello, welcome to this world!"
#google翻译
result=ts.google(text,"en","zh-CN")
#阿里翻译
result_alibaba=ts.alibaba(text,"en","zh-CN")
#必应翻译
result_bing=ts.bing(text,"en","zh-CN")
print(result)
print(result_alibaba)
print(result_bing)
python翻译
最新推荐文章于 2023-10-26 19:01:22 发布