1NGRAMRANDTEST(1) User Commands NGRAMRANDTEST(1)
2
3
4
6 ngramrandtest - manual page for ngramrandtest 1.3.4
7
9 Generates random data/models.
10
11 Usage: ngramrandtest [--options]
12
13 PROGRAM FLAGS:
14
15 --directory: type = string, default = "."
16
17 directory where files will be placed --max_length: type = int32,
18 default = 1000 Maximum sentence length --mean_length: type =
19 int32, default = 100 maximum mean string length --ngram_max:
20 type = int32, default = 3 maximum n-gram order size --sam‐
21 ple_max: type = int32, default = 10000 maximum sample corpus
22 size --seed: type = int32, default = 1582121520 Randomization
23 seed --thresh_max: type = double, default = 3 maximum threshold
24 size --vars: type = string, default = "" file name for out‐
25 putting variable values --vocabulary_max: type = int32, default
26 = 5000 maximum vocabulary size
27
28 LIBRARY FLAGS:
29
30 Flags from: flags.cc
31
32 --help: type = bool, default = false
33
34 show usage information --helpshort: type = bool, default = false
35 show brief usage information --tmpdir: type = string, default =
36 "/tmp" temporary directory --v: type = int32, default = 0 ver‐
37 bosity level
38
39 Flags from: fst.cc
40
41 --fst_align: type = bool, default = false
42
43 Write FST data aligned where appropriate --fst_default_cache_gc:
44 type = bool, default = true Enable garbage collection of cache
45 --fst_default_cache_gc_limit: type = int64, default = 1048576
46 Cache byte size that triggers garbage collection
47 --fst_read_mode: type = string, default = "read" Default file
48 reading mode for mappable files --fst_verify_properties: type =
49 bool, default = false Verify FST properties queried by TestProp‐
50 erties --save_relabel_ipairs: type = string, default = "" Save
51 input relabel pairs to file --save_relabel_opairs: type =
52 string, default = "" Save output relabel pairs to file
53
54 Flags from: ngram-output.cc
55
56 --end_symbol: type = string, default = "</s>"
57
58 Class label for sentence end --start_symbol: type = string,
59 default = "<s>" Class label for sentence start
60
61 Flags from: symbol-table.cc
62
63 --fst_compat_symbols: type = bool, default = true
64
65 Require symbol tables to match when appropriate --fst_field_sep‐
66 arator: type = string, default = " " Set of characters used
67 as a separator between printed fields
68
69 Flags from: util.cc
70
71 --fst_error_fatal: type = bool, default = true
72
73 FST errors are fatal; o.w. return objects flagged as bad: e.g.,
74 FSTs: kError property set, FST weights: not a Member()
75 --ngram_error_fatal: type = bool, default = true NGram errors
76 are fatal if true; otherwise returns objects flagged as bad:
77 e.g., NGramModel::Error() is true
78
79 Flags from: weight.cc
80
81 --fst_weight_parentheses: type = string, default = ""
82
83 Characters enclosing the first weight of a printed composite
84 weight (e.g., pair weight, tuple weight and derived classes) to
85 ensure proper I/O of nested composite weights; must have size 0
86 (none) or 2 (open and close parenthesis) --fst_weight_separator:
87 type = string, default = "," Character separator between printed
88 composite weights; must be a single character
89
90
91
92ngramrandtest 1.3.4 January 2018 NGRAMRANDTEST(1)