Many shelters in the US are run be religious organizations and discriminate against gay people, too. This is particularly a problem because LGBTQ make up a sizeable chunk of homeless youth (think: kids getting kicked out by parents).
I've written similar code for investment banks, to extract financial reporting data from PDFs. It's shocking to think how much of the financial world runs on this kind of tin-cans-on-a-piece-of-string solution.
https://aws-samples.github.io/amazon-textract-textractor/not...
It's very consistent, though pricey.