-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
翻译流程能够执行,但是无法正确翻译文件 #583
Comments
Please upload the original input file so we can reproduce it |
以上是上传用来翻译的原始文件,翻译服务是google,以下是翻译的翻译版和对照版文件 |
以下是终端中的内容:
To create a public link, set ../../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pymupdf/init.py:276:exception_info(): exception_info: Files after translation: ['Isolation of a Common Receptor for Coxsackie B Viruses and Adenoviruses 2 and 5.pdf', 'Expression of Coxsackie adenovirus receptor and alphav-integrin does not correlate with adenovector targeting in vivo indicating anatomical vector barriers.pdf', 'test1-dual.pdf', 'Expression of Coxsackie adenovirus receptor and alphav-integrin does not correlate with adenovector targeting in vivo indicating anatomical vector barriers-mono.pdf', 'Expression of Coxsackie adenovirus receptor and alphav-integrin does not correlate with adenovector targeting in vivo indicating anatomical vector barriers-dual.pdf', 'test1.pdf', 'test1-mono.pdf', 'IR 20250206 Original IND 31276.pdf', 'IR 20250206 Original IND 31276-dual.pdf', 'Isolation of a Common Receptor for Coxsackie B Viruses and Adenoviruses 2 and 5-mono.pdf', 's10238-005-0076-1.pdf', 'science.275.5304.1320 1.pdf', 'Isolation of a Common Receptor for Coxsackie B Viruses and Adenoviruses 2 and 5-dual.pdf', 'The Coxsackie-adenovirus receptor has elevated expression in human breast cancer.pdf', 'IR 20250206 Original IND 31276-mono.pdf'] |
Expression.of.Coxsackie.adenovirus.receptor.and.alphav-integrin.does.not.correlate.with.adenovector.targeting.in.vivo.indicating.anatomical.vector.barriers.zh-CN.mono.pdf The new backend, YADT, supports translation but may contain some bugs. We appreciate your patience as we work on fixing them gradually. |
我依然怀疑是字体缺失,请问pdf2zh需要使用哪些字体,我想去下载系统字体试试能否解决问题 |
https://github.com/Byaidu/PDFMathTranslate/blob/main/pdf2zh/high_level.py#L382 |
https://github.com/Byaidu/PDFMathTranslate/blob/main/pdf2zh/high_level.py#L382 |
This is the URL prefix. Other strings will be appended to this function, and only after appending will it become a complete URL. |
我手动下载了GoNotoKurrent-Regular.ttf放进了字体册,但是结果依然没有变化。无论如何还是非常感谢你的帮助。 |
https://github.com/Byaidu/PDFMathTranslate/blob/main/pdf2zh/high_level.py#L405 |
这个不是缺字体,是字体子集化失败。这块把fallback改成false吧,应该是能好, @hellofinch 有空试试? |
等这个搞完吧 #586 pdf2zh 2.0 will use YADT as its core, focusing on self-deployment related matters. |
Expression of Coxsackie adenovirus receptor and alphav-integrin does not correlate with adenovector targeting in vivo indicating anatomical vector barriers-mono.pdf
上传文件为中英对照,英文部分正常,翻译部分基本全部缺失。
翻译任意文件均出现类似错误,疑似字体缺失导致,但是翻译过程并没有报错所以不知道到底出现了什么问题。
The text was updated successfully, but these errors were encountered: