generate−ngram
generate−ngram
− random sentence generator from N−gram
generate−ngram [options...] {binary_ngram} |
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.
−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.
julius ( 1 ) ,
mkbingram ( 1 )
Copyright (c) 1997−2000 Information−technology Promotion Agency, Japan
Copyright (c) 1991−2008 Kawahara Lab., Kyoto University
Copyright (c) 2000−2005 Shikano Lab., Nara Institute of Science and Technology
Copyright (c) 2005−2008 Julius project team, Nagoya Institute of Technology
The same as Julius.