I have an Question.
i just Want to read pdf data. then i match the maximum similar word in pdf with some Word.
Like Sql word are common in Sql tutorial pdf file. and i want to match Pdf word With Sql Word. so how is it possible. if Anyone have Idea about this so plz share with me asap.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Mohamed AbedallahRank #2,074 · 697 reputationPosted Oct 19, 2017, 6:31 AM EDT
- If the file is searchable PDF files, you can parse the PDF pages and get the text object from it. Then you read these text objects as string and put them in a list and count the frequency of any word you want.
- If the PDF file is not searchable (PDF pages are consist of images), then you need to OCR the PDF file and retrieve the text. Then count the frequency of any word you want.
LEADTOOLS has PDF parser and OCR features, and you can check these features in their online demo.
https://demo.leadtools.com/JavaScript/DocumentViewer/index.html