1NGRAMMAKE(1)                     User Commands                    NGRAMMAKE(1)
2
3
4

NAME

6       ngrammake - manual page for ngrammake 1.3.4
7

DESCRIPTION

9       Make ngram model from input count file.
10
11              Usage: ngrammake [--options] [in.fst [out.fst]]
12
13       PROGRAM FLAGS:
14
15       --backoff: type = bool, default = false
16
17              Use   backoff  smoothing  (default:  method  dependent)  --back‐
18              off_label: type = int64, default = 0 Backoff label --bins:  type
19              =  int64,  default = -1 Number of bins for katz or absolute dis‐
20              counting --check_consistency: type = bool, default = false Check
21              model consistency --count_of_counts: type = string, default = ""
22              Read count-of-counts from  file  --discount_D:  type  =  double,
23              default  =  -1  Absolute  discount value D to use --interpolate:
24              type  =  bool,  default  =  false  Use  interpolated   smoothing
25              (default:  method  dependent) --method: type = string, default =
26              "katz" One of: "absolute", "katz", "kneser_ney",  "presmoothed",
27              "unsmoothed", "katz_frac", "witten_bell" --norm_eps: type = dou‐
28              ble,  default  =  0.001  Normalization  check   epsilon   --wit‐
29              ten_bell_k:  type = double, default = 1 Witten-Bell hyperparame‐
30              ter K
31
32       LIBRARY FLAGS:
33
34       Flags from: flags.cc
35
36       --help: type = bool, default = false
37
38              show usage information --helpshort: type = bool, default = false
39              show  brief usage information --tmpdir: type = string, default =
40              "/tmp" temporary directory --v: type = int32, default =  0  ver‐
41              bosity level
42
43       Flags from: fst.cc
44
45       --fst_align: type = bool, default = false
46
47              Write FST data aligned where appropriate --fst_default_cache_gc:
48              type = bool, default = true Enable garbage collection  of  cache
49              --fst_default_cache_gc_limit:  type  =  int64, default = 1048576
50              Cache   byte   size    that    triggers    garbage    collection
51              --fst_read_mode:  type  =  string, default = "read" Default file
52              reading mode for mappable files --fst_verify_properties: type  =
53              bool, default = false Verify FST properties queried by TestProp‐
54              erties --save_relabel_ipairs: type = string, default =  ""  Save
55              input  relabel  pairs  to  file  --save_relabel_opairs:  type  =
56              string, default = "" Save output relabel pairs to file
57
58       Flags from: ngram-output.cc
59
60       --end_symbol: type = string, default = "</s>"
61
62              Class label for sentence  end  --start_symbol:  type  =  string,
63              default = "<s>" Class label for sentence start
64
65       Flags from: symbol-table.cc
66
67       --fst_compat_symbols: type = bool, default = true
68
69              Require symbol tables to match when appropriate --fst_field_sep‐
70              arator: type = string, default = "      " Set of characters used
71              as a separator between printed fields
72
73       Flags from: util.cc
74
75       --fst_error_fatal: type = bool, default = true
76
77              FST  errors are fatal; o.w. return objects flagged as bad: e.g.,
78              FSTs:  kError  property  set,  FST  weights:  not   a   Member()
79              --ngram_error_fatal:  type  =  bool, default = true NGram errors
80              are fatal if true; otherwise returns  objects  flagged  as  bad:
81              e.g., NGramModel::Error() is true
82
83       Flags from: weight.cc
84
85       --fst_weight_parentheses: type = string, default = ""
86
87              Characters  enclosing  the  first  weight of a printed composite
88              weight (e.g., pair weight, tuple weight and derived classes)  to
89              ensure  proper I/O of nested composite weights; must have size 0
90              (none) or 2 (open and close parenthesis) --fst_weight_separator:
91              type = string, default = "," Character separator between printed
92              composite weights; must be a single character
93
94
95
96ngrammake 1.3.4                  January 2018                     NGRAMMAKE(1)
Impressum