1fstprint(1) User Commands fstprint(1)
2
3
4
6 fstprint - print an FST in simple text format
7
9 fstprint [OPTIONS] [binary.fst [text.fst]]
10
12 Prints out binary FSTs in 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 --numeric[=BOOLEAN]
38 Print numeric labels. Default: false.
39
40 --show_weight_one[=BOOLEAN]
41 Print/draw arc weights and final weights equal to Weight::One().
42 Default: false.
43
44 --fst_field_separator=STRING
45 Set the characters used as a separator between printed fields.
46 Default: " ".
47
48 --fst_weight_parentheses=STRING
49 Set the characters enclosing the first weight of a printed com‐
50 posite weight (e.g., pair weight, tuple weight, and derived
51 classes) to ensure proper I/O of nested composite weights. Must
52 have size 0 (none) or 2 (open and close parenthesis). Default:
53 no parentheses.
54
55 --fst_weight_separator=CHARACTER
56 Set the character separator between printed composite weights.
57 Default: comma.
58
59 --isymbols=FILENAME
60 Set the input label symbol table. Default: "".
61
62 --osymbols=FILENAME
63 Set the output label symbol table. Default: "".
64
65 --save_isymbols=FILENAME
66 Save the input symbol table to a file. Default: do not write a
67 table.
68
69 --save_osymbols=FILENAME
70 Save the output symbol table to a file. Default: do not write a
71 table.
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), fstcompile(1), fstcompose(1), fstcon‐
94 cat(1), fstconnect(1), fstconvert(1), fstdeterminize(1), fstdiffer‐
95 ence(1), fstdraw(1), fstencode(1), fstepsnormalize(1), fstequal(1),
96 fstequivalent(1), fstinfo(1), fstintersect(1), fstinvert(1), fstmap(1),
97 fstminimize(1), fstproject(1), fstprune(1), fstpush(1), fstrandgen(1),
98 fstrelabel(1), fstreplace(1), fstreverse(1), fstreweight(1), fstrmep‐
99 silon(1), fstshortestdistance(1), fstshortestpath(1), fstsymbols(1),
100 fstsynchronize(1), fsttopsort(1), fstunion(1)
101
102
103
104OpenFst 1.2.7 February 2011 fstprint(1)