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

NAME

6       ngraminfo - manual page for ngraminfo 1.3.4
7

DESCRIPTION

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