1FSTCOMPILE(1) User Commands FSTCOMPILE(1)
2
3
4
6 fstcompile - manual page for fstcompile 1.8.2
7
9 Creates binary FSTs from simple text format.
10
11 Usage: fstcompile [text.fst [binary.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) --arc_type: type = std::string, default =
20 "standard" Output arc type --fst_type: type = std::string, de‐
21 fault = "vector" Output FST type --isymbols: type = std::string,
22 default = "" Input label symbol table --keep_isymbols: type =
23 bool, default = false Store input label symbol table with FST
24 --keep_osymbols: type = bool, default = false Store output label
25 symbol table with FST --keep_state_numbering: type = bool, de‐
26 fault = false Do not renumber input states --osymbols: type =
27 std::string, default = "" Output label symbol table --ssymbols:
28 type = std::string, default = "" State label symbol table
29
30 LIBRARY FLAGS:
31
32 Flags from: flags.cc
33
34 --help: type = bool, default = false
35
36 show usage information --helpshort: type = bool, default = false
37 show brief usage information --tmpdir: type = std::string, de‐
38 fault = "/tmp" temporary directory --v: type = int32_t, default
39 = 0 verbosity level
40
41 Flags from: fst.cc
42
43 --fst_align: type = bool, default = false
44
45 Write FST data aligned where appropriate --fst_default_cache_gc:
46 type = bool, default = true Enable garbage collection of cache
47 --fst_default_cache_gc_limit: type = int64_t, default = 1048576
48 Cache byte size that triggers garbage collection
49 --fst_read_mode: type = std::string, default = "read" Default
50 file reading mode for mappable files --fst_verify_properties:
51 type = bool, default = false Verify FST properties queried by
52 TestProperties --save_relabel_ipairs: type = std::string, de‐
53 fault = "" Save input relabel pairs to file --save_rela‐
54 bel_opairs: type = std::string, default = "" Save output relabel
55 pairs to file
56
57 Flags from: symbol-table.cc
58
59 --fst_compat_symbols: type = bool, default = true
60
61 Require symbol tables to match when appropriate --fst_field_sep‐
62 arator: type = std::string, default = " " Set of charac‐
63 ters used as a separator between printed fields
64
65 Flags from: util.cc
66
67 --fst_error_fatal: type = bool, default = true
68
69 FST errors are fatal; o.w. return objects flagged as bad: e.g.,
70 FSTs: kError property set, FST weights: not a Member()
71
72 Flags from: weight.cc
73
74 --fst_weight_parentheses: type = std::string, default = ""
75
76 Characters enclosing the first weight of a printed composite
77 weight (e.g., pair weight, tuple weight and derived classes) to
78 ensure proper I/O of nested composite weights; must have size 0
79 (none) or 2 (open and close parenthesis) --fst_weight_separator:
80 type = std::string, default = "," Character separator between
81 printed composite weights; must be a single character
82
83
84
85fstcompile 1.8.2 July 2018 FSTCOMPILE(1)