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