1fstencode(1) User Commands fstencode(1)
2
3
4
6 fstencode - encode transducer labels or weights
7
9 fstencode [OPTIONS] in.fst codex [out.fst]
10
12 Encodes transducer labels and/or weights.
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 --decode[=BOOLEAN]
19 Decode labels and/or weights. Default: false.
20
21 --encode_labels[=BOOLEAN]
22 Encode output labels. Default: false.
23
24 --encode_reuse[=BOOLEAN]
25 Reuse an existing codex. Default: false.
26
27 --encode_weights[=BOOLEAN]
28 Encode weights. Default: false.
29
30 --fst_compat_symbols[=BOOLEAN]
31 Require symbol tables to match when appropriate. Default: true.
32
33 --fst_default_cache_gc[=BOOLEAN]
34 Enable garbage collection of cache. Default: true.
35
36 --fst_verify_properties[=BOOLEAN]
37 Verify fst properties queried by TestProperties. Default:
38 false.
39
40 --help Show usage information.
41
42 --fst_field_separator=STRING
43 Set the characters used as a separator between printed fields.
44 Default: " ".
45
46 --fst_weight_parentheses=STRING
47 Set the characters enclosing the first weight of a printed com‐
48 posite weight (e.g., pair weight, tuple weight, and derived
49 classes) to ensure proper I/O of nested composite weights. Must
50 have size 0 (none) or 2 (open and close parenthesis). Default:
51 no parentheses.
52
53 --fst_weight_separator=CHARACTER
54 Set the character separator between printed composite weights.
55 Default: comma.
56
57 --save_relabel_ipairs=FILENAME
58 Save input relabel pairs to file. Default: do not save.
59
60 --save_relabel_opairs=FILENAME
61 Save output relabel pairs to file. Default: do not save.
62
63 --tmpdir=PATHNAME
64 Set the temporary directory to use. Default: /tmp.
65
66 --v[=N]
67 Set the verbosity level. Default: 0.
68
69 --fst_default_cache_gc_limit=N
70 Set the cache byte size that triggers garbage collection.
71 Default: 1048576.
72
74 fstarcsort(1), fstclosure(1), fstcompile(1), fstcompose(1), fstcon‐
75 cat(1), fstconnect(1), fstconvert(1), fstdeterminize(1), fstdiffer‐
76 ence(1), fstdraw(1), fstepsnormalize(1), fstequal(1), fstequivalent(1),
77 fstinfo(1), fstintersect(1), fstinvert(1), fstmap(1), fstminimize(1),
78 fstprint(1), fstproject(1), fstprune(1), fstpush(1), fstrandgen(1),
79 fstrelabel(1), fstreplace(1), fstreverse(1), fstreweight(1), fstrmep‐
80 silon(1), fstshortestdistance(1), fstshortestpath(1), fstsymbols(1),
81 fstsynchronize(1), fsttopsort(1), fstunion(1)
82
83
84
85OpenFst 1.2.7 February 2011 fstencode(1)