1FSTPRINT(1) User Commands FSTPRINT(1)
2
3
4
6 fstprint - manual page for fstprint 1.8.2
7
9 Prints out binary FSTs in simple text format.
10
11 Usage: fstprint [binary.fst [text.fst]]
12
13 PROGRAM FLAGS:
14
15 --acceptor: type = bool, default = false
16
17 Input in acceptor format? --allow_negative_labels: type = bool,
18 default = false Allow negative labels (not recommended; may
19 cause conflicts)? --isymbols: type = std::string, default = ""
20 Input label symbol table --missing_symbol: type = std::string,
21 default = "" Symbol to print when lookup fails (default raises
22 error) --numeric: type = bool, default = false Print numeric la‐
23 bels? --osymbols: type = std::string, default = "" Output label
24 symbol table --save_isymbols: type = std::string, default = ""
25 Save input symbol table to file --save_osymbols: type =
26 std::string, default = "" Save output symbol table to file
27 --show_weight_one: type = bool, default = false Print/draw arc
28 weights and final weights equal to semiring One? --ssymbols:
29 type = std::string, default = "" State label symbol table
30
31 LIBRARY FLAGS:
32
33 Flags from: flags.cc
34
35 --help: type = bool, default = false
36
37 show usage information --helpshort: type = bool, default = false
38 show brief usage information --tmpdir: type = std::string, de‐
39 fault = "/tmp" temporary directory --v: type = int32_t, default
40 = 0 verbosity level
41
42 Flags from: fst.cc
43
44 --fst_align: type = bool, default = false
45
46 Write FST data aligned where appropriate --fst_default_cache_gc:
47 type = bool, default = true Enable garbage collection of cache
48 --fst_default_cache_gc_limit: type = int64_t, default = 1048576
49 Cache byte size that triggers garbage collection
50 --fst_read_mode: type = std::string, default = "read" Default
51 file reading mode for mappable files --fst_verify_properties:
52 type = bool, default = false Verify FST properties queried by
53 TestProperties --save_relabel_ipairs: type = std::string, de‐
54 fault = "" Save input relabel pairs to file --save_rela‐
55 bel_opairs: type = std::string, default = "" Save output relabel
56 pairs to file
57
58 Flags from: symbol-table.cc
59
60 --fst_compat_symbols: type = bool, default = true
61
62 Require symbol tables to match when appropriate --fst_field_sep‐
63 arator: type = std::string, default = " " Set of charac‐
64 ters used as a separator between printed fields
65
66 Flags from: util.cc
67
68 --fst_error_fatal: type = bool, default = true
69
70 FST errors are fatal; o.w. return objects flagged as bad: e.g.,
71 FSTs: kError property set, FST weights: not a Member()
72
73 Flags from: weight.cc
74
75 --fst_weight_parentheses: type = std::string, default = ""
76
77 Characters enclosing the first weight of a printed composite
78 weight (e.g., pair weight, tuple weight and derived classes) to
79 ensure proper I/O of nested composite weights; must have size 0
80 (none) or 2 (open and close parenthesis) --fst_weight_separator:
81 type = std::string, default = "," Character separator between
82 printed composite weights; must be a single character
83
84
85
86fstprint 1.8.2 July 2018 FSTPRINT(1)