Extract data from pdf and split data based on Bold format and write into excel column

Can someone help quickly!!
I have a pdf that contains data of word dictionary like first word is written in Bold and definition of this word is unbold.
I need to write these word and their description in excel.

Challenge - I need to segregate the data based on its font then need to convert it into excel column.


You need to use call Textract ML APIs to get the geometry of the words. Based on width you can decide which one is Word and which one is the definition.