【问题标题】:Is there a limit on TextBlob translation?TextBlob 翻译有限制吗?
【发布时间】:2014-04-28 15:13:44
【问题描述】:
【问题讨论】:
标签:
python
google-translate
textblob
【解决方案1】:
即使这个问题很老,我也会发布答案以供将来参考。我一直在使用这个 TextBlob 翻译,发现实际限制是每天大约 500 个。
我必须翻译大约 1100 个请求的文件,所以我不得不使用一些 VPN 提供商来更改我的 IP 地址。我建议Windscribe VPN provider
希望对某人有所帮助。
【解决方案3】:
Google 在他们的 Google Translate API 定价页面上声明,您需要设置结算才能使用 translate API。换句话说,没有免费使用层。
重要提示:Google Translate API v2 要求您提供所有帐户的结算信息
可以开始使用服务了。
此文本可在https://cloud.google.com/translate/v2/pricing 上找到。
因此,除非您设置了帐户,否则您根本无法使用翻译 API。
Google 文档将 https://www.googleapis.com/language/translate/v2 列为 API 端点。浏览一下 TextBlob 的源代码,我在任何地方都找不到提到的端点。相反,TextBlob 似乎使用了http://translate.google.com/translate_a/t,并且 Google 的 API 文档中的任何地方都没有提到该 URL。似乎 TextBlob 根本没有使用 Google Translate API。相反,它伪造标题并声称是浏览器。
This 是 TextBlob 改编其翻译功能的模块,在其描述中声明了 No key, no authentication whatsoever。
所以我想使用 TextBlob 翻译文章没有任何使用限制,因为它不使用 API。