Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
442 views
in Technique[技术] by (71.8m points)

How Can I Add labels or tooltips to PDF text with Python?

I have a PDF. I would like to parse the "Definitions" section, extract the definitions, then parse the document adding a label or tooltip that matches the relevant definition to the text.

I think the text extraction and parsing of definitions can be done with regex and a PDF library.

I cannot find any references to adding labels or tooltips with python to text.

Does anyone have experience with this or know of a library that allows you to create / add labels or tool tips to PDF text please?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...