1NGRAMINFO(1) User Commands NGRAMINFO(1)
2
3
4
6 ngraminfo - manual page for ngraminfo 1.3.14
7
9 Prints out various information about an LM.
10
11 Usage: ngraminfo [--options] [in.fst [out.txt]]
12
13 PROGRAM FLAGS:
14
15 --check_consistency: type = bool, default = true
16
17 Check model consistency --norm_eps: type = double, default =
18 0.001 Normalization check epsilon
19
20 LIBRARY FLAGS:
21
22 Flags from: flags.cc
23
24 --help: type = bool, default = false
25
26 show usage information --helpshort: type = bool, default = false
27 show brief usage information --tmpdir: type = std::string, de‐
28 fault = "/tmp" temporary directory --v: type = int32_t, default
29 = 0 verbosity level
30
31 Flags from: fst.cc
32
33 --fst_align: type = bool, default = false
34
35 Write FST data aligned where appropriate --fst_default_cache_gc:
36 type = bool, default = true Enable garbage collection of cache
37 --fst_default_cache_gc_limit: type = int64_t, default = 1048576
38 Cache byte size that triggers garbage collection
39 --fst_read_mode: type = std::string, default = "read" Default
40 file reading mode for mappable files --fst_verify_properties:
41 type = bool, default = false Verify FST properties queried by
42 TestProperties --save_relabel_ipairs: type = std::string, de‐
43 fault = "" Save input relabel pairs to file --save_rela‐
44 bel_opairs: type = std::string, default = "" Save output relabel
45 pairs to file
46
47 Flags from: symbol-table.cc
48
49 --fst_compat_symbols: type = bool, default = true
50
51 Require symbol tables to match when appropriate --fst_field_sep‐
52 arator: type = std::string, default = " " Set of charac‐
53 ters used as a separator between printed fields
54
55 Flags from: util.cc
56
57 --fst_error_fatal: type = bool, default = true
58
59 FST errors are fatal; o.w. return objects flagged as bad: e.g.,
60 FSTs: kError property set, FST weights: not a Member()
61
62 Flags from: weight.cc
63
64 --fst_weight_parentheses: type = std::string, default = ""
65
66 Characters enclosing the first weight of a printed composite
67 weight (e.g., pair weight, tuple weight and derived classes) to
68 ensure proper I/O of nested composite weights; must have size 0
69 (none) or 2 (open and close parenthesis) --fst_weight_separator:
70 type = std::string, default = "," Character separator between
71 printed composite weights; must be a single character
72
73
74
75ngraminfo 1.3.14 February 2022 NGRAMINFO(1)