parsed to XML from PDF, in XML it is displayed tokens.How retrieve the data from XML exactly as in PDF(means same line words as single word) in python

前端 未结 0 1653
面向向阳花
面向向阳花 2021-01-28 02:15
for i in root.iter(\'line\'):
       for j in i.iter(\'word\'):
         line_ids=i.get(\'id\')
         words=j.find(\'text\').text\'
Seven
相关标签:
回答
  • 消灭零回复
提交回复
热议问题