1fstcompile(1) User Commands fstcompile(1)
2
3
4
6 fstcompile - compile text FSTs to binary FSTs
7
9 fstcompile [OPTIONS] [text.fst [binary.fst]]
10
12 Creates binary FSTs from a simple text format.
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 --acceptor[=BOOLEAN]
19 Input in acceptor format. Default: false.
20
21 --allow_negative_labels[=BOOLEAN]
22 Allow negative labels (not recommended; may cause conflicts).
23 Default: false.
24
25 --fst_compat_symbols[=BOOLEAN]
26 Require symbol tables to match when appropriate. Default: true.
27
28 --fst_default_cache_gc[=BOOLEAN]
29 Enable garbage collection of cache. Default: true.
30
31 --fst_verify_properties[=BOOLEAN]
32 Verify fst properties queried by TestProperties. Default:
33 false.
34
35 --help Show usage information.
36
37 --keep_isymbols[=BOOLEAN]
38 Store input label symbol table with FST. Default: false.
39
40 --keep_osymbols[=BOOLEAN]
41 Store output label symbol table with FST. Default: false.
42
43 --keep_state_numbering[=BOOLEAN]
44 Do not renumber input states. Default: false.
45
46 --arc_type=TYPE
47 Set the output arc type. Default: standard.
48
49 --fst_field_separator=STRING
50 Set the characters used as a separator between printed fields.
51 Default: " ".
52
53 --fst_type=TYPE
54 Set the output FST type. Default: vector.
55
56 --fst_weight_parentheses=STRING
57 Set the characters enclosing the first weight of a printed com‐
58 posite weight (e.g., pair weight, tuple weight, and derived
59 classes) to ensure proper I/O of nested composite weights. Must
60 have size 0 (none) or 2 (open and close parenthesis). Default:
61 no parentheses.
62
63 --fst_weight_separator=CHARACTER
64 Set the character separator between printed composite weights.
65 Default: comma.
66
67 --isymbols=FILENAME
68 Set the input label symbol table. Default: "".
69
70 --osymbols=FILENAME
71 Set the output label symbol table. Default: "".
72
73 --save_relabel_ipairs=FILENAME
74 Save input relabel pairs to file. Default: do not save.
75
76 --save_relabel_opairs=FILENAME
77 Save output relabel pairs to file. Default: do not save.
78
79 --ssymbols=FILENAME
80 Set the state label symbol table. Default: "".
81
82 --tmpdir=PATHNAME
83 Set the temporary directory to use. Default: /tmp.
84
85 --v[=N]
86 Set the verbosity level. Default: 0.
87
88 --fst_default_cache_gc_limit=N
89 Set the cache byte size that triggers garbage collection.
90 Default: 1048576.
91
93 fstarcsort(1), fstclosure(1), fstcompose(1), fstconcat(1), fstcon‐
94 nect(1), fstconvert(1), fstdeterminize(1), fstdifference(1), fst‐
95 draw(1), fstencode(1), fstepsnormalize(1), fstequal(1), fstequiva‐
96 lent(1), fstinfo(1), fstintersect(1), fstinvert(1), fstmap(1), fstmini‐
97 mize(1), fstprint(1), fstproject(1), fstprune(1), fstpush(1), fstrand‐
98 gen(1), fstrelabel(1), fstreplace(1), fstreverse(1), fstreweight(1),
99 fstrmepsilon(1), fstshortestdistance(1), fstshortestpath(1), fstsym‐
100 bols(1), fstsynchronize(1), fsttopsort(1), fstunion(1)
101
102
103
104OpenFst 1.2.7 February 2011 fstcompile(1)