Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

Search text among pdf files in particular director 7 years 1 month ago #12106

  • ate
  • ate's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
Hi all

Does it possible to implement search across mutiple pdf file with using this library?

Please Log in or Create an account to join the conversation.

Search text among pdf files in particular director 7 years 1 month ago #12107

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
Quick answer: yes but it would be a long process.

Long answer.
The text search in pdf file is a quite slow process.
Normally readers do a page scan, char by char and build a word dictionary. Such a process is weird and sometime rise to wrong result: sometime glyph on the page are represented by diffrent unicode character or kerning between char is uncommon and the word parser read them as separated letter instead a single word.
Three approaces:
1 - if possible parse the pdf file on a server, extract text, make the text corrected with a syntax checker, send the text to the phone aside the pdf file. You could use the RadaeePDF Server.
2 - do the same procedure on the mobile device, at least the text extraction, you could use RadaeePDF SDK.
3 - do a double loop, one on each document, one on each page from each document.... as you may imagine, it will be really long!

During next few days I'll evaluate a different approach with a pdf file digger... I'll be back to you soon.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum