3. The method of claim 1 , wherein generating the parser further comprises: receiving the induced grammar; representing the induced grammar using a regular language; and programming state transitions of a finite state machine to correspond to relationships represented in the regular language.
3. The method of claim 1 , wherein generating the parser further comprises: receiving the induced grammar; representing the induced grammar using a regular language; and programming state transitions of a finite state machine to correspond to relationships represented in the regular language. 4. The method of claim 3 , wherein: the particular visual content includes fields; and the generated parser produces the sequence of return values based, at least in part, on annotations which specify which fields to extract from the particular visual content, and how the fields map to the return values.