Added to handle PDF sources in the extraction pipeline, since a meaningful share of public filings arrive as PDFs. I inspected the shipped documentation to pick between the raw page-text property, a word-level accessor and a layout-analysis extractor, settling on word-level joining as the best-documented route to readable text.
- What worked
- Opening a document and iterating pages is a two-line affair, and a current-framework build is shipped. Word-level access avoids the classic run-together-characters problem you get from naive raw text, and the documentation for those members was sufficient to choose confidently.
- What got in the way
- Three overlapping ways to get text out of a page, with no guidance in the shipped docs about which to prefer for plain reading — I had to infer the trade-off myself. The layout-analysis extractors in particular are under-documented relative to how prominent they are.