julius-generate - random sentence generator for Julius
Contents
Copyright
Same as Julius.
JULIUS July 28, 2008 JULIUS-GENERATE(1)
Description
julius-generate randomly generates sentences which are acceptable by the given grammar. It can be used to
check coverage of a grammar in a human basis, by looking up if it may generate non-acceptable sentences.
Examples
julius-generate -n 1 foo
This reads files "foo.dfa" and "foo.dict" and prints one random sentence which would be acceptable
according to them.
Name
julius-generate - random sentence generator for Julius
Options
-n<amount>
Changes the amount of sentences which will be generated (the default is 10).
-t Outputs terminal (category) names instead of words. This needs a .term file, in addition to the
.dfa and the .dict files.
-v Verbose mode. If you use this, only one sentence will be generated, but julius-generate will print
the different choices it had for each word.
-s<string>
Changes the used short-pause model to the indicated one.
See Also
mkdfa
Synopsis
julius-generate[options]<prefix>
Usage
Run julius-generate from the same directory where you have the .dfa and the .dict file from where you
want it to read the grammar, and pass it their prefix. If you don't have those files, you can generate
them with mkdfa.
