How can one automate the extraction of a relevant title from a given document (docx, pdf, etc..)?
Some thoughts:
- Intuitively likely to be the first line in the text
- Cannot be something like a date, "all rights reserved", "Harvard University - Faculty of Law" etc.
- Might be in the footer
- The human brain solves this immediately (by filtering out common names and numbers)
I'm using textract in python to extract the whole text, which limits the solution to be based on text only. Let me know if you are familiar with any other packages.