Skip to content
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

[功能请求] 合并段落时对超长段落进行分割 #230

Open
GoTop opened this issue Mar 12, 2024 · 1 comment
Open

[功能请求] 合并段落时对超长段落进行分割 #230

GoTop opened this issue Mar 12, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@GoTop
Copy link

GoTop commented Mar 12, 2024

设置合并段落字数为1000字后,对于书籍中超过1000字的段落(比如说1500字一段),能否进行分割后再翻译,输出时再合并起来?

现在的插件版本,对于超过合并段落字数的段落,会整段发送去翻译,有时字数实在太多,超出翻译引擎的处理上限,导致翻译失败

是否考虑加入将超长的段落进行分割的功能

可以考虑尽量平均分割,比如1050字的段落分割成525+525字两段,而不是1000+50字两段

@bookfere bookfere added the enhancement New feature or request label Mar 12, 2024
@bookfere bookfere changed the title 设置合并段落字数为1000字后,对于书籍中超过1000字的段落(比如说1500字一段),能否进行分割后再翻译,输出时再合并起来? [功能请求] 合并段落时对超长段落进行分割 Mar 30, 2024
@geminil6
Copy link

目前常遇到超长段落无法翻译的问题。

可否在段落字数超过一定数目时,自动从某个位置(比如1000字符)向前寻找整句标点(例如:中文的“。” “!” “……”,英文的“.” "!" "..."),对段落进行切割,分段调用api进行翻译,然后合并成一段。3ks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants