.\" Title: generate\-ngram .\" Author: .\" Generator: DocBook XSL Stylesheets v1.71.0 .\" Date: 10/02/2008 .\" Manual: .\" Source: .\" .TH "GENERATE\-NGRAM" "1" "10/02/2008" "" "" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .SH "NAME" generate\-ngram \- random sentence generator from N\-gram .SH "SYNOPSIS" .HP 15 \fBgenerate\-ngram\fR [\fIoptions\fR...] {\fIbinary_ngram\fR} .SH "DESCRIPTION" .PP \fBgenerate\-ngram\fR is a tool to generate sentences randomly according to the given N\-gram language model. The N\-gram model file \fIbinary_ngram\fR should be an binary format. .SH "OPTIONS" .PP \fB \-n \fR \fInum\fR .RS 3n Number of sentences to generate (default: 10) .RE .PP \fB \-N \fR .RS 3n Specify which length of N\-gram to use (default: available max in the given model) .RE .PP \fB \-bos \fR .RS 3n Beginning\-of\-sentence word (default: "") .RE .PP \fB \-eos \fR .RS 3n End\-of\-sentence word (default: "") .RE .PP \fB \-ignore \fR .RS 3n Specify a word to be supressed from output (default: "