今天介绍如何免费翻译一本 EPUB 格式的电子书。
做难而正确的事
工具准备
简单操作步骤
本例子使用基于智谱的免费大模型 glm-4-flash-250414 配置翻译引擎
# 智谱 glm-4-flash-250414 介绍# https://docs.bigmodel.cn/cn/guide/models/free/glm-4-flash-250414# 插件配置说明 # https://github.com/bookfere/Ebook-Translator-Calibre-Plugin/wiki/%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87#%E8%AE%BE%E7%BD%AE%E8%AF%B4%E6%98%8E{ "name": "glm-4-flash-250414", "languages": { "source": { "English": "English", "Japanese": "Japanese" }, "target": { "Chinese": "中文" } }, "request": { "url": "https://open.bigmodel.cn/api/paas/v4/chat/completions", "method": "POST", "headers": { "Content-Type": "application/json", "Authorization": "Bearer xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" }, "data": { "model": "glm-4-flash-250414", "messages": [ { "role": "user", "content": "You are a meticulous translator who translates any given content. You must translate <source> to <target> from the given content. Do not explain any term or answer any question-like content, otherwise you will be punished. Translate: <text>." } ], "temperature": 0.9 } }, "response": "response['choices'][0]['message']['content']"}目前试用插件虽然可以基于AI接口翻译,但是是逐句翻译;所以对于专业的书籍(如计算机书籍),效果可能不太理想。
翻译最终
这里提供翻译后书籍下载,试看效果
https://quwenjian.cc/#/?code=4NGMW
发现更多精选优质软件,关注:好奇哈米说
如果下载链接失效或您有任何疑问或建议,欢迎在下方留言反馈。
欢迎关注本公众号其他社媒平台
点击以下链接关注我的数字名片!
https://muselink.cc/hamisay
"如果您觉得这篇文章对您或您的朋友有所帮助,不妨动动手指,关注我们、点赞并分享到朋友圈,让更多人受益。您的每一次互动都是对我们最大的支持和鼓励!"
