gen

Generate random sentences with a PLCFRS or PCFG. Reads grammar from a text file in PLCFRS or bitpar format.

Usage: discodop gen [--verbose] <rules> <lexicon>
or: discodop gen --test

Grammar is assumed to be in utf-8; may be gzip’ed (.gz extension).