how to search for a specific nouns in a PDF file inside an XML file and print the noun and its root as an output

Eklenme Tarih 1 hour ago
Active 19
Görüntülenme 89
S

how to search for a specific nouns in a PDF file inside an XML file and print the noun and its root as an output