Hi, I have a query to check. If I want to compare certain key words from a document (word) to be compared in pdf what are the steps that needs to be followed. Say for example the word statment is something like “There are 190 plus countries and USA is the top among them”,. From this statement the keyword for me would be countries and USA and it needs to be compared in the pdf document if those words are present, can someone suggest a step for it.
Hi @Abhi_G_G,
You can use the “Read PDF Text” activity to pull all text from PDF into a string variable (eg. strPDFText).
Then you can use something like strPDFText.Contains(keyword) to return a boolean true or false.
You will need to put together a keyword list either:
- manually
- generated via some logic
- leverage AI to generate keyword based on your context
1 Like