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

NAME

6       ngramprint - manual page for ngramprint 1.3.4
7

DESCRIPTION

9       Print ngram counts and models.
10
11              Usage: ngramprint [--options] [in.fst [out.txt]]
12
13       PROGRAM FLAGS:
14
15       --ARPA: type = bool, default = false
16
17              Print  in  ARPA  format  --backoff: type = bool, default = false
18              Show epsilon backoff transitions when printing --backoff_inline:
19              type  =  bool, default = false Show epsilon backoffs transitions
20              inline with context as a third  field  if  --backoff  are  being
21              printed --backoff_label: type = int64, default = 0 Backoff label
22              --check_consistency: type = bool, default =  false  Check  model
23              consistency  --context_pattern: type = string, default = "" Pat‐
24              tern of contexts to print --include_all_suffixes: type  =  bool,
25              default  = false Include suffixes of contexts --integers: type =
26              bool, default = false Show just  integer  counts  when  printing
27              --negativelogs:  type  = bool, default = false Show negative log
28              probs/counts when printing --symbols: type = string,  default  =
29              ""  Symbol table file. If not empty, causes it to be loaded from
30              the specified file instead of using the  one  inside  the  input
31              FST.
32
33       LIBRARY FLAGS:
34
35       Flags from: flags.cc
36
37       --help: type = bool, default = false
38
39              show usage information --helpshort: type = bool, default = false
40              show brief usage information --tmpdir: type = string, default  =
41              "/tmp"  temporary  directory --v: type = int32, default = 0 ver‐
42              bosity level
43
44       Flags from: fst.cc
45
46       --fst_align: type = bool, default = false
47
48              Write FST data aligned where appropriate --fst_default_cache_gc:
49              type  =  bool, default = true Enable garbage collection of cache
50              --fst_default_cache_gc_limit: type = int64,  default  =  1048576
51              Cache    byte    size    that    triggers   garbage   collection
52              --fst_read_mode: type = string, default =  "read"  Default  file
53              reading  mode for mappable files --fst_verify_properties: type =
54              bool, default = false Verify FST properties queried by TestProp‐
55              erties  --save_relabel_ipairs:  type = string, default = "" Save
56              input  relabel  pairs  to  file  --save_relabel_opairs:  type  =
57              string, default = "" Save output relabel pairs to file
58
59       Flags from: ngram-output.cc
60
61       --end_symbol: type = string, default = "</s>"
62
63              Class  label for sentence end --start_symbol: type = string, de‐
64              fault = "<s>" Class label for sentence start
65
66       Flags from: symbol-table.cc
67
68       --fst_compat_symbols: type = bool, default = true
69
70              Require symbol tables to match when appropriate --fst_field_sep‐
71              arator: type = string, default = "      " Set of characters used
72              as a separator between printed fields
73
74       Flags from: util.cc
75
76       --fst_error_fatal: type = bool, default = true
77
78              FST errors are fatal; o.w. return objects flagged as bad:  e.g.,
79              FSTs:   kError   property  set,  FST  weights:  not  a  Member()
80              --ngram_error_fatal: type = bool, default =  true  NGram  errors
81              are  fatal  if  true;  otherwise returns objects flagged as bad:
82              e.g., NGramModel::Error() is true
83
84       Flags from: weight.cc
85
86       --fst_weight_parentheses: type = string, default = ""
87
88              Characters enclosing the first weight  of  a  printed  composite
89              weight  (e.g., pair weight, tuple weight and derived classes) to
90              ensure proper I/O of nested composite weights; must have size  0
91              (none) or 2 (open and close parenthesis) --fst_weight_separator:
92              type = string, default = "," Character separator between printed
93              composite weights; must be a single character
94
95
96
97ngramprint 1.3.4                 January 2018                    NGRAMPRINT(1)
Impressum