VookLess

Menu

翻译API初体验:坑爹的有道翻译

因为项目需求需要用到大量的中译英,目前主流的翻译API就四个吧:有道、百度、Google和Deepl,后面两者其实可能更加合适,尤其是Deepl,奈何价格太高,作为一个平民项目自然是承受不起。最终就在国内两家中选择一家。其实做出这个选择已经有差不多半年了,不过最近我在坚持翻译质量的时候发现翻译结果有一些莫名奇妙的错误,我直接把翻译结果贴出来对比一下就一目了然了。

HTML版本-原文
<ol><li>最好的办法:直接升级python到2.7.x及以上,会解决此问题。</li><li>如果不想升级python的话,可以用:<code>pip install requests[security]</code></li><li>另一种已过时的方法:<code>pip install pyopenssl ndg-httpsclient pyasn1</code></li></ol>

去掉HTML版本
最好的办法:直接升级python到2.7.x及以上,会解决此问题。
如果不想升级python的话,可以用:pip install requests[security]
另一种已过时的方法:pip install pyopenssl ndg-httpsclient pyasn1

百度翻译(HTML版本)
< ol > < li > the best way to solve this problem is to upgrade Python to 2.7. X or above. < / Li > < li > if you don't want to upgrade python, you can use & # xff1a; < code > PIP install requests [security] < / code > < / Li > < li > another outdated method & # xff1a; < code > PIP install pyopenssl NDG httpsclient pyasn1 < / code > < / Li > < / OL >

百度翻译(去掉HTML版本)
Best bet: Upgrade Python directly to 2.7.x and above will solve this problem. If you do not want to upgrade Python, use: PIP install requests[security]. PIP install pyopenSSL ndg-httpsclient pyasn1 PIP install pyopenSSL ndg-httpsclient pyasn1

有道翻译(HTML版本)
<ol><li bbb>xff1a; Upgrade Python directly to 2.7.x and above. Will resolve the issue. </li><li bbb>/ li><li> </li><li> </li> > You can use the & # xff1a; <code> PIP install requests[security]</code bbb>/ li> <>> # xff1a> <code>pip install pyopenssl ndg-httpsclient pyasn1</code></li></ol>

有道翻译(去掉HTML版本)
The best way: directly upgrade Python to 2.7. X and above, will solve this problem. If you don't want to upgrade python, you can use: PIP install requests [security]. Another obsolete method: PIP install pyopenssl NDG httpsclient pyasn1

Deepl翻译(HTML版本)
<ol><li>The best thing to do : upgrade python directly to 2.7.x and above , will fix this problem. </li><li>If you don't want to upgrade python , you can use :<code>pip install requests[security]</code></li><li>Another deprecated method :<code>pip install pyopenssl ndg-httpsclient pyasn1</code></li></ol>

实在无力吐槽,有道翻译无论是带HTML标签还是去掉结果都差得离谱,不仅仅没有阅读连贯性,一些乱七八糟的符号也是莫名其妙。百度翻译其实结果也是有问题的,不过问题至少有规律,就可以来规避。

— 于 共写了1884个字
— 文内使用到的标签:

发表评论

邮箱地址不会被公开。 必填项已用*标注