generate-ngram man page

generate-ngram

generate-ngram
— random sentence generator from N-gram

Synopsis

generate-ngram [options...] {binary_ngram}

Description

generate-ngram is a tool to generate sentences randomly according to the given N-gram language model. The N-gram model file binary_ngram should be an binary format.

Options

-n num
Number of sentences to generate (default: 10)
-N
Specify which length of N-gram to use (default: available max in the given model)
-bos
Beginning-of-sentence word (default: "<s>")
-eos
End-of-sentence word (default: "</s>")
-ignore
Specify a word to be supressed from output (default: "<UNK")
-v
Verbose output.
-debug
Debug output.

See Also

julius ( 1 ) , mkbingram ( 1 )

License

The same as Julius.

Info

10/02/2008