Extract structured information from a text.