1FSTREPLACE(1) User Commands FSTREPLACE(1)
2
3
4
6 fstreplace - manual page for fstreplace 1.8.2
7
9 Recursively replaces FST arcs with other FST(s).
10
11 Usage: fstreplace root.fst rootlabel [rule1.fst label1 ...]
12 [out.fst]
13
14 PROGRAM FLAGS:
15
16 --call_arc_labeling: type = std::string, default = "input"
17
18 Which labels to make non-epsilon on the call arc: one of: "in‐
19 put" (default), "output", "both", "neither" --epsilon_on_re‐
20 place: type = bool, default = false Call/return arcs are epsilon
21 arcs? --return_arc_labeling: type = std::string, default =
22 "neither" Which labels to make non-epsilon on the return arc:
23 one of: "input", "output", "both", "neither" (default) --re‐
24 turn_label: type = int64_t, default = 0 Label to put on return
25 arc
26
27 LIBRARY FLAGS:
28
29 Flags from: flags.cc
30
31 --help: type = bool, default = false
32
33 show usage information --helpshort: type = bool, default = false
34 show brief usage information --tmpdir: type = std::string, de‐
35 fault = "/tmp" temporary directory --v: type = int32_t, default
36 = 0 verbosity level
37
38 Flags from: fst.cc
39
40 --fst_align: type = bool, default = false
41
42 Write FST data aligned where appropriate --fst_default_cache_gc:
43 type = bool, default = true Enable garbage collection of cache
44 --fst_default_cache_gc_limit: type = int64_t, default = 1048576
45 Cache byte size that triggers garbage collection
46 --fst_read_mode: type = std::string, default = "read" Default
47 file reading mode for mappable files --fst_verify_properties:
48 type = bool, default = false Verify FST properties queried by
49 TestProperties --save_relabel_ipairs: type = std::string, de‐
50 fault = "" Save input relabel pairs to file --save_rela‐
51 bel_opairs: type = std::string, default = "" Save output relabel
52 pairs to file
53
54 Flags from: symbol-table.cc
55
56 --fst_compat_symbols: type = bool, default = true
57
58 Require symbol tables to match when appropriate --fst_field_sep‐
59 arator: type = std::string, default = " " Set of charac‐
60 ters used as a separator between printed fields
61
62 Flags from: util.cc
63
64 --fst_error_fatal: type = bool, default = true
65
66 FST errors are fatal; o.w. return objects flagged as bad: e.g.,
67 FSTs: kError property set, FST weights: not a Member()
68
69 Flags from: weight.cc
70
71 --fst_weight_parentheses: type = std::string, default = ""
72
73 Characters enclosing the first weight of a printed composite
74 weight (e.g., pair weight, tuple weight and derived classes) to
75 ensure proper I/O of nested composite weights; must have size 0
76 (none) or 2 (open and close parenthesis) --fst_weight_separator:
77 type = std::string, default = "," Character separator between
78 printed composite weights; must be a single character
79
80
81
82fstreplace 1.8.2 July 2018 FSTREPLACE(1)