Skip to content

加粗字体不能识别格式,翻译后使用样式标签进行表示。 #310

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
5 tasks done
B-le-B opened this issue Apr 30, 2025 · 3 comments
Open
5 tasks done
Labels
bug Something isn't working

Comments

@B-le-B
Copy link

B-le-B commented Apr 30, 2025

Before you submit

  • I have searched existing issues
  • I spent at least 5 minutes investigating and preparing this report
  • I confirmed this is not caused by a network issue
  • I have fully read and understood the README
  • I am certain that this issue is with BabelDOC itself and can be reproduced through the BabelDOC cli

Environment

- OS:windows11
- Python:3.12
- BabelDOC:0.3.30

Describe the bug

正文中,加粗字体不能识别格式,翻译后使用样式标签进行表示。

Image

Steps to Reproduce

No response

Expected Behavior

No response

Relevant Log Output or Screenshots


Original PDF File

4-EN.pdf

Additional Context

No response

@B-le-B B-le-B added the bug Something isn't working label Apr 30, 2025
@awwaawwa
Copy link
Member

awwaawwa commented May 1, 2025

可以用更强的大模型重试,比如deepseek。这是你的大模型给我样式标签也翻译成中文了。

不过这块提示词确实要优化,后续做。

@B-le-B
Copy link
Author

B-le-B commented May 1, 2025

可以用更强的大模型重试,比如deepseek。这是你的大模型给我样式标签也翻译成中文了。

不过这块提示词确实要优化,后续做。

谢谢。在PDFMathTranslate就没问题。

@lastsummerx
Copy link

翻译deepseek-r1的论文也遇到了类似的情况

  1. 开头的描述没了
  2. 多了一些html标签
  3. 公式的分号没了

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants