-
Notifications
You must be signed in to change notification settings - Fork 30
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
Extract terms through OCR for non-text source documents #752
Comments
Unfortunately these documents are protected: if I access the PDF and try to copy their contents, I also only get spaces. I don't think this is an issue with Open Terms Archive (or rather, with the dependency @accordproject). However, it is worth reflecting on whether we can detect this automatically and how we should handle such cases, as it is pretty much the PDF equivalent to an HTTP 403. |
And for the record, it is NOT fixed by #836 Considering how fast the answer from accordproject was on the whitespace matter, I suggest we create an issue in their repo to see if they can do something about it (even though I doubt) |
The source file has been vectorised. There is indeed no text in the PDF. The only way to obtain the content would be to use OCR. This could be useful. I'll rename this issue accordingly. Please add other example cases where this would enable extraction! |
An alternative could be https://ds4sd.github.io/docling/ |
With the following declaration (the dedicated branch is here OpenTermsArchive/france-declarations@5d1c1c3 )
i get empty version for
Commerical Terms
and the following wrong version forPrivacy Policy
The snapshots are good.
The text was updated successfully, but these errors were encountered: