1NGRAMMARGINALIZE(1) User Commands NGRAMMARGINALIZE(1)
2
3
4
6 ngrammarginalize - manual page for ngrammarginalize 1.3.4
7
9 Marginalize ngram model from input model file.
10
11 Usage: ngrammarginalize [--options] [in.fst [out.fst]]
12
13 PROGRAM FLAGS:
14
15 --backoff_label: type = int64, default = 0
16
17 Backoff label --check_consistency: type = bool, default = false
18 Check model consistency --max_bo_updates: type = int32, default
19 = 10 Max iterations of backoff re-calculation --norm_eps: type =
20 double, default = 0.001 Normalization check epsilon
21
22 LIBRARY FLAGS:
23
24 Flags from: flags.cc
25
26 --help: type = bool, default = false
27
28 show usage information --helpshort: type = bool, default = false
29 show brief usage information --tmpdir: type = string, default =
30 "/tmp" temporary directory --v: type = int32, default = 0 ver‐
31 bosity level
32
33 Flags from: fst.cc
34
35 --fst_align: type = bool, default = false
36
37 Write FST data aligned where appropriate --fst_default_cache_gc:
38 type = bool, default = true Enable garbage collection of cache
39 --fst_default_cache_gc_limit: type = int64, default = 1048576
40 Cache byte size that triggers garbage collection
41 --fst_read_mode: type = string, default = "read" Default file
42 reading mode for mappable files --fst_verify_properties: type =
43 bool, default = false Verify FST properties queried by TestProp‐
44 erties --save_relabel_ipairs: type = string, default = "" Save
45 input relabel pairs to file --save_relabel_opairs: type =
46 string, default = "" Save output relabel pairs to file
47
48 Flags from: ngram-output.cc
49
50 --end_symbol: type = string, default = "</s>"
51
52 Class label for sentence end --start_symbol: type = string,
53 default = "<s>" Class label for sentence start
54
55 Flags from: symbol-table.cc
56
57 --fst_compat_symbols: type = bool, default = true
58
59 Require symbol tables to match when appropriate --fst_field_sep‐
60 arator: type = string, default = " " Set of characters used
61 as a separator between printed fields
62
63 Flags from: util.cc
64
65 --fst_error_fatal: type = bool, default = true
66
67 FST errors are fatal; o.w. return objects flagged as bad: e.g.,
68 FSTs: kError property set, FST weights: not a Member()
69 --ngram_error_fatal: type = bool, default = true NGram errors
70 are fatal if true; otherwise returns objects flagged as bad:
71 e.g., NGramModel::Error() is true
72
73 Flags from: weight.cc
74
75 --fst_weight_parentheses: type = string, default = ""
76
77 Characters enclosing the first weight of a printed composite
78 weight (e.g., pair weight, tuple weight and derived classes) to
79 ensure proper I/O of nested composite weights; must have size 0
80 (none) or 2 (open and close parenthesis) --fst_weight_separator:
81 type = string, default = "," Character separator between printed
82 composite weights; must be a single character
83
84
85
86ngrammarginalize 1.3.4 January 2018 NGRAMMARGINALIZE(1)