1FSTRELABEL(1) User Commands FSTRELABEL(1)
2
3
4
6 fstrelabel - manual page for fstrelabel 1.6.9
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 = string, default = "" Input label symbol table
31 --osymbols: type = string, default = "" Output label symbol ta‐
32 ble --relabel_ipairs: type = string, default = "" Input relabel
33 pairs (numeric) --relabel_isymbols: type = string, default = ""
34 Input symbol set to relabel to --relabel_opairs: type = string,
35 default = "" Output relabel pairs (numeric) --relabel_osymbols:
36 type = string, default = "" Output symbol set to relabel to
37 --unknown_isymbol: type = string, default = "" Input symbol to
38 use to relabel OOVs (default: OOVs are errors) --unknown_osym‐
39 bol: type = string, default = "" Output symbol to use to relabel
40 OOVs (default: OOVs are errors)
41
42 LIBRARY FLAGS:
43
44 Flags from: flags.cc
45
46 --help: type = bool, default = false
47
48 show usage information --helpshort: type = bool, default = false
49 show brief usage information --tmpdir: type = string, default =
50 "/tmp" temporary directory --v: type = int32, default = 0 ver‐
51 bosity level
52
53 Flags from: fst.cc
54
55 --fst_align: type = bool, default = false
56
57 Write FST data aligned where appropriate --fst_default_cache_gc:
58 type = bool, default = true Enable garbage collection of cache
59 --fst_default_cache_gc_limit: type = int64, default = 1048576
60 Cache byte size that triggers garbage collection
61 --fst_read_mode: type = string, default = "read" Default file
62 reading mode for mappable files --fst_verify_properties: type =
63 bool, default = false Verify FST properties queried by TestProp‐
64 erties --save_relabel_ipairs: type = string, default = "" Save
65 input relabel pairs to file --save_relabel_opairs: type =
66 string, default = "" Save output relabel pairs to file
67
68 Flags from: symbol-table.cc
69
70 --fst_compat_symbols: type = bool, default = true
71
72 Require symbol tables to match when appropriate --fst_field_sep‐
73 arator: type = string, default = " " Set of characters used
74 as a separator between printed fields
75
76 Flags from: util.cc
77
78 --fst_error_fatal: type = bool, default = true
79
80 FST errors are fatal; o.w. return objects flagged as bad: e.g.,
81 FSTs: kError property set, FST weights: not a Member()
82
83 Flags from: weight.cc
84
85 --fst_weight_parentheses: type = string, default = ""
86
87 Characters enclosing the first weight of a printed composite
88 weight (e.g., pair weight, tuple weight and derived classes) to
89 ensure proper I/O of nested composite weights; must have size 0
90 (none) or 2 (open and close parenthesis) --fst_weight_separator:
91 type = string, default = "," Character separator between printed
92 composite weights; must be a single character
93
94
95
96fstrelabel 1.6.9 July 2018 FSTRELABEL(1)