Text with lexicon

Supports input that contains lexicon entries, e.g.:

    John|pn_sg|John_PN|masc buys|tv_finsg|buy_V2 everything that isn't a present|noun_sg|present_N .

Note that gender for nouns is optional and assumed to be `UNDEF` by default.

The ACE text and the APE lexicon are extracted from this format to be used with APE.