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