1NGRAMMARGINALIZE(1) User Commands NGRAMMARGINALIZE(1)
2
3
4
6 ngrammarginalize - manual page for ngrammarginalize 1.3.14
7
9 Marginalize n-gram model from input model file.
10
11 Usage: ngrammarginalize [--options] [in.fst [out.fst]]
12
13 PROGRAM FLAGS:
14
15 --backoff_label: type = int64_t, default = 0
16
17 Backoff label --check_consistency: type = bool, default = false
18 Check model consistency --max_bo_updates: type = int32_t, de‐
19 fault = 10 Max iterations of backoff re-calculation --norm_eps:
20 type = 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 = std::string, de‐
30 fault = "/tmp" temporary directory --v: type = int32_t, default
31 = 0 verbosity 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_t, default = 1048576
40 Cache byte size that triggers garbage collection
41 --fst_read_mode: type = std::string, default = "read" Default
42 file reading mode for mappable files --fst_verify_properties:
43 type = bool, default = false Verify FST properties queried by
44 TestProperties --save_relabel_ipairs: type = std::string, de‐
45 fault = "" Save input relabel pairs to file --save_rela‐
46 bel_opairs: type = std::string, default = "" Save output relabel
47 pairs to file
48
49 Flags from: ngram-output.cc
50
51 --end_symbol: type = std::string, default = "</s>"
52
53 Class label for sentence end --start_symbol: type = std::string,
54 default = "<s>" Class label for sentence start
55
56 Flags from: symbol-table.cc
57
58 --fst_compat_symbols: type = bool, default = true
59
60 Require symbol tables to match when appropriate --fst_field_sep‐
61 arator: type = std::string, default = " " Set of charac‐
62 ters used as a separator between printed fields
63
64 Flags from: util.cc
65
66 --fst_error_fatal: type = bool, default = true
67
68 FST errors are fatal; o.w. return objects flagged as bad: e.g.,
69 FSTs: kError property set, FST weights: not a Member()
70 --ngram_error_fatal: type = bool, default = true NGram errors
71 are fatal if true; otherwise returns objects flagged as bad:
72 e.g., NGramModel::Error() is true
73
74 Flags from: weight.cc
75
76 --fst_weight_parentheses: type = std::string, default = ""
77
78 Characters enclosing the first weight of a printed composite
79 weight (e.g., pair weight, tuple weight and derived classes) to
80 ensure proper I/O of nested composite weights; must have size 0
81 (none) or 2 (open and close parenthesis) --fst_weight_separator:
82 type = std::string, default = "," Character separator between
83 printed composite weights; must be a single character
84
85
86
87ngrammarginalize 1.3.14 February 2022 NGRAMMARGINALIZE(1)