我可以使用哪个API来翻译Python中的文本?
我不想使用谷歌或必应。还有别的东西吗?
谷歌一直说“日限值超过”,必应翻译前3-4个问题,然后我得到“找不到与请求凭证相关的活跃的Azure Market Place Translator订阅”
发布于 2016-03-14 16:53:20
我做了这个脚本,如果您想要检查它:https://github.com/mouuff/Google-Translate-API:)
非常容易使用:
to_translate = 'Hola como estas?'
print("%s >> %s" % (to_translate, translate(to_translate)))
print("%s >> %s" % (to_translate, translate(to_translate, 'fr')))应该打印>>你好,你好吗?
那么霍拉·科莫·埃斯塔斯呢?>> Bonjour的评论是肯定的?
https://stackoverflow.com/questions/35993468
复制相似问题