1fstrandgen(1) User Commands fstrandgen(1)
2
3
4
6 fstrandgen - generate random paths through an FST
7
9 fstrandgen [OPTIONS] [in.fst [out.fst]]
10
12 Generates random paths through an FST.
13
15 Boolean options accept either true or false as a value, or the implicit
16 value true if neither value is specified.
17
18 --fst_compat_symbols[=BOOLEAN]
19 Require symbol tables to match when appropriate. Default: true.
20
21 --fst_default_cache_gc[=BOOLEAN]
22 Enable garbage collection of cache. Default: true.
23
24 --fst_verify_properties[=BOOLEAN]
25 Verify fst properties queried by TestProperties. Default:
26 false.
27
28 --help Show usage information.
29
30 --fst_field_separator=STRING
31 Set the characters used as a separator between printed fields.
32 Default: " ".
33
34 --fst_weight_parentheses=STRING
35 Set the characters enclosing the first weight of a printed com‐
36 posite weight (e.g., pair weight, tuple weight, and derived
37 classes) to ensure proper I/O of nested composite weights. Must
38 have size 0 (none) or 2 (open and close parenthesis). Default:
39 no parentheses.
40
41 --fst_weight_separator=CHARACTER
42 Set the character separator between printed composite weights.
43 Default: comma.
44
45 --save_relabel_ipairs=FILENAME
46 Save input relabel pairs to file. Default: do not save.
47
48 --save_relabel_opairs=FILENAME
49 Save output relabel pairs to file. Default: do not save.
50
51 --select=TYPE
52 Set the selection type, one of uniform, log_prob, and
53 fast_log_prob. Default: uniform.
54
55 --tmpdir=PATHNAME
56 Set the temporary directory to use. Default: /tmp.
57
58 --max_length=LENGTH
59 Set the maximum path length. Default: 2147483647.
60
61 --npath=INTEGER
62 Set the number of paths to generate. Default: 1.
63
64 --seed=INTEGER
65 Set the seed for the random number generator. Default:
66 1299100605.
67
68 --v[=N]
69 Set the verbosity level. Default: 0.
70
71 --fst_default_cache_gc_limit=N
72 Set the cache byte size that triggers garbage collection.
73 Default: 1048576.
74
76 fstarcsort(1), fstclosure(1), fstcompile(1), fstcompose(1), fstcon‐
77 cat(1), fstconnect(1), fstconvert(1), fstdeterminize(1), fstdiffer‐
78 ence(1), fstdraw(1), fstencode(1), fstepsnormalize(1), fstequal(1),
79 fstequivalent(1), fstinfo(1), fstintersect(1), fstinvert(1), fstmap(1),
80 fstminimize(1), fstprint(1), fstproject(1), fstprune(1), fstpush(1),
81 fstrelabel(1), fstreplace(1), fstreverse(1), fstreweight(1), fstrmep‐
82 silon(1), fstshortestdistance(1), fstshortestpath(1), fstsymbols(1),
83 fstsynchronize(1), fsttopsort(1), fstunion(1)
84
85
86
87OpenFst 1.2.7 February 2011 fstrandgen(1)