1 generate‐ngram
2
3GENERATE-NGRAM(1) General Commands Manual GENERATE-NGRAM(1)
4
5
6
8 generate-ngram
9 - random sentence generator from N-gram
10
12 generate-ngram [options...] {binary_ngram}
13
15 generate-ngram is a tool to generate sentences randomly according to
16 the given N-gram language model. The N-gram model file binary_ngram
17 should be an binary format.
18
20 -n num
21 Number of sentences to generate (default: 10)
22
23 -N
24 Specify which length of N-gram to use (default: available max in
25 the given model)
26
27 -bos
28 Beginning-of-sentence word (default: "<s>")
29
30 -eos
31 End-of-sentence word (default: "</s>")
32
33 -ignore
34 Specify a word to be supressed from output (default: "<UNK")
35
36 -v
37 Verbose output.
38
39 -debug
40 Debug output.
41
43 julius ( 1 ) ,
44 mkbingram ( 1 )
45
47 Copyright (c) 1991-2013 Kawahara Lab., Kyoto University
48
49 Copyright (c) 1997-2000 Information-technology Promotion Agency, Japan
50
51 Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and
52 Technology
53
54 Copyright (c) 2005-2013 Julius project team, Nagoya Institute of
55 Technology
56
58 The same as Julius.
59
60
61
62 12/19/2013 GENERATE-NGRAM(1)