Hello guys, I know how to extract data from a pdf but now I need to do something more challenging. What I need to do is some PDF scrapping. Base on some keywords hardcoded into my code, I will need to look for the keyword in that article then extract the paragraph which contains the keyword, as well as where its title and where it is found if possible, something like that:
The problem is, how do I know where the paragraph of the keyword starts and where it ends and how do I extract the title please... My idea was to use punctuation marks like full stops, exclamation marks etc as delimiters but it doesn't seem to be working/efficient.... any idea would be highly appreciated