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

[PROBLEM] ExtractText() Behaviour differences in new version( 3.0.3 to 3.14.0) #427

Open
cyberlord29 opened this issue Nov 25, 2020 · 10 comments

Comments

@cyberlord29
Copy link

Description

We have migrated from v 3.0.3 to 3.14.0 to get the table extraction features.

The extractText function behaviour has changed when the line is part of a table, it seems to parse each cell row by row and then move to the next column , instead of just spitting out the whole row as it did in the previous versions.

Please let me know if you are able to recognize this issue , I can add detailed screenshots etc if you aren't.

Thanks a lot.

@github-actions
Copy link

Welcome! Thanks for posting your first issue. The way things work here is that while customer issues are prioritized, other issues go into our backlog where they are assessed and fitted into the roadmap when suitable. If you need to get this done, consider buying a license which also enables you to use it in your commercial products. More information can be found on https://unidoc.io/

@cyberlord29 cyberlord29 changed the title [PROBLEM] [PROBLEM] ExtractText() Behaviour differences in new version( 3.0.3 to 3.14.0) Nov 25, 2020
@gunnsth
Copy link
Contributor

gunnsth commented Nov 25, 2020

@cyberlord29 Can you define the problem and provide the actual files where the regression can be clearly seen. As such it is not unexpected that the output can change, as long as the quality, in terms of visual comparison is getting better. The engine is still under active development and being refined continuously.

@cyberlord29
Copy link
Author

@gunnsth So here is the PDF Screenshot ,

Screenshot 2020-11-25 at 17 11 19

Here is the output of extractText() of versions v3.0.3 - v3.8.0

Screenshot 2020-11-25 at 17 13 02

Here is the output of extractText() of versions v3.9.0 +

Screenshot 2020-11-25 at 17 10 42

Can we still utilize the legacy behaviour in the newer packages ?

Tables is not an option here as PageText.Tables() is not able to properly parse the table as there are some sparse rows in between, (will add screenshots for those shortly).

Thanks.

@gunnsth
Copy link
Contributor

gunnsth commented Nov 25, 2020

Thanks, that makes sense, we will look into this and get back to you. Might make sense to have some options here as for some cases the tables make sense whereas others not.

@cyberlord29
Copy link
Author

@gunnsth yeah thanks , Please let us know , as we are deciding on a license renewal as well.

@cyberlord29
Copy link
Author

@gunnsth also please let us know if there is any dirty fix to get this behaviour 😅 , Thanks.

@peterwilliams97
Copy link
Contributor

Hi @cyberlord29
It looks like my table extraction code changes caused this problem. Those changes improve extraction of many other types of tables. We can give you a better experience by fixing those changes to work with your table than by reverting the changes,
Are you able to share the PDF file that contains the table with us?

@cyberlord29
Copy link
Author

@peterwilliams97 That sounds great , can you leave an email Id here so I can send it to you ?

@peterwilliams97
Copy link
Contributor

peter.wi

@peterwilliams97 That sounds great , can you leave an email Id here so I can send it to you ?

peter.williams.97@gmail.com

@peterwilliams97
Copy link
Contributor

peterwilliams97 commented Jan 11, 2021 via email

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