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

pdf文本分割部分逻辑有bug #5

Open
SaySai opened this issue Jun 14, 2023 · 2 comments
Open

pdf文本分割部分逻辑有bug #5

SaySai opened this issue Jun 14, 2023 · 2 comments

Comments

@SaySai
Copy link

SaySai commented Jun 14, 2023

image
这里对超出MAX_LENGTH的sentence进行切割的逻辑有问题,第二次循环,index就等于MAX_LENGTH了,substring(index, MAX_LENGTH)=substring(MAX_LENGTH, MAX_LENGTH),然后就跳出循环了,相当于直接截断了,并没有分割后加进去

@bigcyy
Copy link
Owner

bigcyy commented Jun 15, 2023

我个人目前没有精力维护项目,如果你解决了这个问题可以提pr。

@XZhiNan
Copy link

XZhiNan commented Dec 15, 2023

这个pdf里面得内容是什么样子

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

No branches or pull requests

3 participants