"Google翻译"对比“翻译api" [英] "google translate" vs "translate api"

查看:134
本文介绍了"Google翻译"对比“翻译api"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我听说将会收取Translate API的费用,但是到底是什么使我们无法使用免费的Google Translate服务形成表单?此处免费?否则,免费服务的局限性是什么?

I hear that the Translate API will be charged for, but what exactly prevents us form using the free Google Translate service here for free ? Otherwise put, what are the limitations of the free service?

推荐答案

根据下面的链接,没有什么可以阻止您的.

According to the link below, nothing prevents you.

>://translate.googleapis.com/translate_a/single?client=gtx&sl=en&tl=es&dt=t&q=Hello

将您的请求content-type设置为application/json,它可以解决怪异的格式问题.在Google网站上进行了一段时间的抨击后,我发现了uri模式.

Set your requests content-type to application/json and it fixes the weird formatting, I found the uri pattern after bashing around the google websites for a while.

我不建议将其翻译成圣经,但本周我做了约一万个单词,没有任何问题.

I wouldn't recommend translating the bible with it but I've done ~10k words this week without an issue.

如果有人想知道另一个有效的client值,

If anyone finds another working client value I'd love to know.

这篇关于"Google翻译"对比“翻译api"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆