Byaidu / PDFMathTranslate

PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero

Home Page:https://pdf2zh.com

Repository from Github https://github.comByaidu/PDFMathTranslateRepository from Github https://github.comByaidu/PDFMathTranslate

glossary专业词库无法全局替换

xxxYe opened this issue · comments

在提问之前...

  • 我已经尝试了PDFMathTranslate-next,并在PDFMathTranslate-next提交了issue
  • 我已经搜索了现有的 issues
  • 我在提问题之前至少花费了 5 分钟来思考和准备
  • 我已经认真且完整的阅读了 wiki
  • 我已经认真检查了问题和网络环境无关(包括但不限于Google不可用,模型下载失败)

使用的环境

最新的babeldoc

请选择安装方式

pip

描述你的问题

我自己写了一个test.csv文件进行测试,为了好辨认acne(痤疮)我定义翻译成“痘痘”
source,target
element,元素
passive,非能动
acne,痘痘
在引言部分,所有的acne都能翻译成“痘痘”,但到了正文时,又变成最初的“痤疮”了。因此,我觉得它没有做到全局都替换。。。

如何复现

  1. 执行 '...'
  2. 选择 '....'
  3. 出现问题

预期行为

No response

相关 Logs


原始PDF文件

No response

还有别的吗?

No response

术语表的功能还在调试阶段,感谢反馈。
请关注最近的版本,可能会有所改善。
: )

好滴好滴!!感谢感谢!!

最新的BabelDOC不支持此仓库