作为一个从小到大英语都不是很好的人,在浏览一些外国网站的时候,常常会因为语言问题而降低效率 什么?你让我学英语?不存在的 早期我都是使用谷歌翻译作为我的主力翻译工具,但是谷歌翻译的效果有时候不尽如人意(虽然也不错啦) 后来又使用过类似DeepL之类的翻译插件,不过效果都不是非常的好,当遇到一些生僻概念时,单纯的翻译也不能辅助我很好的理解。 ChatGPT带来的翻译变革ChatGPT毋庸置疑会对整个翻译行业产生巨大的冲击,其高准确度的翻译以及对文本的解释能力秒杀市面上绝大多数的翻译插件,以前的佼佼者谷歌翻译和DeepL也难逃一劫。 这个Chrome插件的名称叫:OpenAI Translator,可以直接在这里下载:OpenAI Translator 下载完成后需要填入自己的API,然后就可以愉快使用了 可以填入多个API以实现更快均衡的翻译速度 翻译模式OpenAI Translator一共有5种翻译模式,分别为:
使用方法也十分简单,选中需要翻译的文字,会自动弹出提示框 如图,当选中中文时候会自动翻译为英文 接下来我们通过实际案例来看看这些功能的使用效果吧 翻译下面这段来自特朗普的推特 The 75,000,000 great American Patriots who voted for me, AMERICA FIRST, and MAKE AMERICA GREAT AGAIN, will have a GIANT VOICE long into the future. They will not be disrespected or treated unfairly in any way, shape or form!!! 接下来让我们看看插件的翻译结果: 再来看看翻译专业文献的效果,下面这段节选自(比特币:一种点对点的电子现金系统) A purely peer-to-peer version of electronic cash would allow online payments to be sent directly from one party to another without going through a financial institution. Digital signatures provide part of the solution, but the main benefits are lost if a trusted third party is still required to prevent double-spending. We propose a solution to the double-spending problem using a peer-to-peer network. The network timestamps transactions by hashing them into an ongoing chain of hash-based proof-of-work, forming a record that cannot be changed without redoing the proof-of-work. The longest chain not only serves as proof of the sequence of events witnessed, but proof that it came from the largest pool of CPU power. As long as a majority of CPU power is controlled by nodes that are not cooperating to attack the network, they'll generate the longest chain and outpace attackers. The network itself requires minimal structure. Messages are broadcast on a best effort basis, and nodes can leave and rejoin the network at will, accepting the longest proof-of-work chain as proof of what happened while they were gone. 润色还是使用特朗普的话为例子: The 75,000,000 great American Patriots who voted for me, AMERICA FIRST, and MAKE AMERICA GREAT AGAIN, will have a GIANT VOICE long into the future. They will not be disrespected or treated unfairly in any way, shape or form!!! 润色之后的效果: 75 million American Patriots voted for me, with a shared vision of putting America first and making it great again. Their voices will continue to be heard in the future, and they deserve respect and fair treatment at all times. 再用插件翻译为中文看看 7500万美国爱国者为我投票,共同愿景是让美国置于第一位并使其再次伟大。他们的声音将在未来继续被听到,并且他们应该始终受到尊重和公正对待。 看来还是懂王懂啊 总结让插件来总结一下比特币白皮书的摘要(上文中的那段文字): 分析让插件来分析一下特朗普的推特: 代码解释我们先让GPT4生成一段快排 代码如下: def quick_sort(arr):if len(arr) <= 1: return arr pivot = arr[len(arr) // 2] left = [x for x in arr if x < pivot] middle = [x for x in arr if x == pivot] right = [x for x in arr if x > pivot] return quick_sort(left) + middle + quick_sort(right) # 测试代码 if __name__ == "__main__": unsorted_list = [3, 6, 8, 10, 1, 2, 1, 0, -1, 4] print("Unsorted list:", unsorted_list) sorted_list = quick_sort(unsorted_list) print("Sorted list:", sorted_list) 插件给出的解释如下: 希望能有越来越多的插件被开发出来,以进一步发挥这一伟大创造的威力 |