ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
[免费翻译接口](https://www.cnblogs.com/fanyang1/p/9414088.html) ## **google** ``` http://translate.google.cn/translate_a/single?client=gtx&dt=t&dj=1&ie=UTF-8&sl=auto&tl=zh_TW&q=calculate ``` 返回结果: ``` { "sentences": [ { "trans": "計算", "orig": "calculate", "backend": 1 } ], "src": "en", "confidence": 0.9609375, "ld_result": { "srclangs": [ "en" ], "srclangs_confidences": [ 0.9609375 ], "extended_srclangs": [ "en" ] } } ``` ## **Youdao** http://fanyi.youdao.com/translate?&doctype=json&type=AUTO&i=world ! I Love You ``` { "type": "EN2ZH_CN", "errorCode": 0, "elapsedTime": 11, "translateResult": [ [ { "src": "world ! ", "tgt": "世界!" }, { "src": "I Love You", "tgt": "我爱你" } ] ] } ``` type的类型有: >ZH_CN2EN 中文 » 英语 ZH_CN2JA 中文 » 日语 ZH_CN2KR 中文 » 韩语 ZH_CN2FR 中文 » 法语 ZH_CN2RU 中文 » 俄语 ZH_CN2SP 中文 » 西语 EN2ZH_CN 英语 » 中文 JA2ZH_CN 日语 » 中文 KR2ZH_CN 韩语 » 中文 FR2ZH_CN 法语 » 中文 RU2ZH_CN 俄语 » 中文 SP2ZH_CN 西语 » 中文 ## **Bing** ``` http://api.microsofttranslator.com/v2/Http.svc/Translate?appId=AFC76A66CF4F434ED080D245C30CF1E71C22959C&from=&to=en&text=考勤计算 ``` 返回结果: ~~~ <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">Attendance calculation</string> ~~~ ## **Baidu** ``` http://fanyi.baidu.com/transapi?from=auto&to=cht&query=Calculation ``` 返回结果: ``` { "from": "en", "to": "cht", "domain": "all", "type": 2, "status": 0, "data": [ { "dst": "計算", "prefixWrap": 0, "src": "Calculation", "relation": [], "result": [ [ 0, "計算", [ "0|6" ], [], [ "0|6" ], [ "0|6" ] ] ] } ] } ```