I am trying to use Textract to analyze legal documents and I have an issue with the query system. There are multiple attorneys listed on each complaint and I am trying to get a list of all of them as well as all their State Bar Numbers. Unfortunately, I can only get Textract to return one per document. Is it possible to get more than one response for a query?
As an example of the documents I'm working with, I am trying to extract the attorney information which is on the top left of the document at this link. As you can see, there are two attorneys, (Carney R. Shegerian, Esq. and Anthony Nguyen, Esq.) along with two State Bar numbers, (State Bar No. 150461 and State Bar No. 259154.)
Thank you for your answer, but the documents I'm analyzing aren't arranged as key-value pairs, (I wish they were though!) Here's an example of the format I'm looking to parse. I'll edit my original answer to include this. https://images.law.com/contrib/content/uploads/documents/403/10688/JOHN-DOE-v.-OGLETREE-COMPLAINT-FOR-FILING.pdf