nlppln.commands.frog_to_saf module

nlppln.commands.frog_to_saf.frog_to_saf(tokens)

Convert frog tokens into a new SAF document

nlppln.commands.frog_to_saf.parse_frog(lines)

Interpret the output of the frog parser. Input should be an iterable of lines (i.e. the output of call_frog) Result is a sequence of dicts representing the tokens