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

NAME

6       ngrammerge - manual page for ngrammerge 1.3.4
7

DESCRIPTION

9       Merge ngram models.
10
11              Usage:  ngrammerge  [--options]  -ofile=out.fst  in1.fst in2.fst
12              [in3.fst ...]
13
14       PROGRAM FLAGS:
15
16       --alpha: type = double, default = 1
17
18              Weight for first FST --backoff_label: type = int64, default =  0
19              Backoff label --beta: type = double, default = 1 Weight for sec‐
20              ond (and subsequent) FST(s) --check_consistency:  type  =  bool,
21              default = false Check model consistency --complete: type = bool,
22              default = false Complete partial models --context_pattern:  type
23              =  string,  default  =  "" Context pattern for second FST --con‐
24              texts: type = string, default = "" Context  patterns  file  (all
25              FSTs)  --method:  type = string, default = "count_merge" One of:
26              "context_merge",          "count_merge",           "model_merge"
27              "bayes_model_merge",  "histogram_merge"  --norm_eps: type = dou‐
28              ble, default = 0.001 Normalization  check  epsilon  --normalize:
29              type  = bool, default = false Normalize resulting model --ofile:
30              type = string, default = "" Output file --round_to_int:  type  =
31              bool, default = false Round all merged counts to integers
32
33       LIBRARY FLAGS:
34
35       Flags from: flags.cc
36
37       --help: type = bool, default = false
38
39              show usage information --helpshort: type = bool, default = false
40              show brief usage information --tmpdir: type = string, default  =
41              "/tmp"  temporary  directory --v: type = int32, default = 0 ver‐
42              bosity level
43
44       Flags from: fst.cc
45
46       --fst_align: type = bool, default = false
47
48              Write FST data aligned where appropriate --fst_default_cache_gc:
49              type  =  bool, default = true Enable garbage collection of cache
50              --fst_default_cache_gc_limit: type = int64,  default  =  1048576
51              Cache    byte    size    that    triggers   garbage   collection
52              --fst_read_mode: type = string, default =  "read"  Default  file
53              reading  mode for mappable files --fst_verify_properties: type =
54              bool, default = false Verify FST properties queried by TestProp‐
55              erties  --save_relabel_ipairs:  type = string, default = "" Save
56              input  relabel  pairs  to  file  --save_relabel_opairs:  type  =
57              string, default = "" Save output relabel pairs to file
58
59       Flags from: ngram-output.cc
60
61       --end_symbol: type = string, default = "</s>"
62
63              Class  label for sentence end --start_symbol: type = string, de‐
64              fault = "<s>" Class label for sentence start
65
66       Flags from: symbol-table.cc
67
68       --fst_compat_symbols: type = bool, default = true
69
70              Require symbol tables to match when appropriate --fst_field_sep‐
71              arator: type = string, default = "      " Set of characters used
72              as a separator between printed fields
73
74       Flags from: util.cc
75
76       --fst_error_fatal: type = bool, default = true
77
78              FST errors are fatal; o.w. return objects flagged as bad:  e.g.,
79              FSTs:   kError   property  set,  FST  weights:  not  a  Member()
80              --ngram_error_fatal: type = bool, default =  true  NGram  errors
81              are  fatal  if  true;  otherwise returns objects flagged as bad:
82              e.g., NGramModel::Error() is true
83
84       Flags from: weight.cc
85
86       --fst_weight_parentheses: type = string, default = ""
87
88              Characters enclosing the first weight  of  a  printed  composite
89              weight  (e.g., pair weight, tuple weight and derived classes) to
90              ensure proper I/O of nested composite weights; must have size  0
91              (none) or 2 (open and close parenthesis) --fst_weight_separator:
92              type = string, default = "," Character separator between printed
93              composite weights; must be a single character
94
95
96
97ngrammerge 1.3.4                 January 2018                    NGRAMMERGE(1)
Impressum