fstrelabel(1)
π fstrelabel(1) β User Commands π
okay bestie, welcome to fstrelabel, section 1 of the manual, and she is THAT girl. she relabels FSTs. that's the whole job. she does it beautifully. π¦
πΈ NAME πΈ
fstrelabel β relabel an FST π
β¨ SYNOPSIS β¨
fstrelabel [OPTIONS] [in.fst [out.fst]]
π DESCRIPTION π
so basically, fstrelabel relabels the input and/or the output labels of an FST. that's it. that's the vibe. it takes an FST, it swaps out labels for other labels, and it hands you back an FST. iconic behaviour, no notes. π
π OPTIONS π
first, the house rules, and they apply to every single boolean in this list:
Boolean options accept either true or false as a value, or the implicit value true if neither value is specified.
so like, --fst_align alone means --fst_align=true. you don't gotta spell it out. we love a low-effort queen. π«Ά
--allow_negative_labels[=BOOLEAN]β let negative labels exist. ngl bestie, not recommended β it may cause conflicts. Default:false.--fst_align[=BOOLEAN]β write FST data aligned where appropriate. Default:false.--fst_compat_symbols[=BOOLEAN]β require symbol tables to match when appropriate. Default:true.--fst_default_cache_gc[=BOOLEAN]β turn on garbage collection of the cache. Default:true.--fst_default_cache_gc_limit=Nβ set the cache byte size that triggers garbage collection. Default:1048576.--fst_error_fatal[=BOOLEAN]β iftrue, FST errors are fatal. otherwise, returned objects get flagged as bad. for example, FSTs come back with thekErrorproperty set totrue, and FST weights get set so thatMember()returnsfalse. Default:true.--fst_field_separator=STRINGβ set the characters used as a separator between printed fields. Default:" ".--fst_read_mode=STRINGβ set the default file reading mode for mappable files, either"read"or"map". Default:"read".--fst_verify_properties[=BOOLEAN]β verify fst properties queried byTestProperties. Default:false.--fst_weight_parentheses=STRINGβ set the characters enclosing the first weight of a printed composite weight (e.g., pair weight, tuple weight, and derived classes), so nested composite weights do proper I/O. must have size0(none) or2(open and close parenthesis). Default: no parentheses.--fst_weight_separator=CHARACTERβ set the character separator between printed composite weights. Default: comma.--help[=BOOLEAN]β show usage information. Default:false.--helpshort[=BOOLEAN]β show brief usage information. Default:false.--isymbols=FILENAMEβ set the input label symbol table. Default:"".--osymbols=FILENAMEβ set the output label symbol table. Default:"".--relabel_ipairs=FILENAMEβ when using numeric labels, the input relabel pairs.--relabel_isymbols=FILENAMEβ when usingSymbolTables, the input symbol set to relabel to.--relabel_opairs=FILENAMEβ when using numeric labels, the output relabel pairs.--relabel_osymbols=FILENAMEβ when usingSymbolTables, the output symbol set to relabel to.--save_relabel_ipairs=FILENAMEβ save input relabel pairs to file. Default: do not save.--save_relabel_opairs=FILENAMEβ save output relabel pairs to file. Default: do not save.--tmpdir=PATHNAMEβ set the temporary directory to use. Default:/tmp.--unknown_isymbol=STRINGβ input symbol to use to relabel OOVs. Default: OOVs are errors.--unknown_osymbol=STRINGβ output symbol to use to relabel OOVs. Default: OOVs are errors.--v[=N]β set the verbosity level. Default:0.
π«Ά SEE ALSO π«Ά
the whole girl group, fr fr β go read these too:
fstarcsort(1),fstclosure(1),fstcompile(1),fstcompose(1),fstcompress(1),fstconcat(1),fstconnect(1),fstconvert(1),fstdeterminize(1),fstdifference(1),fstdisambiguate(1),fstdraw(1),fstencode(1),fstepsnormalize(1),fstequal(1),fstequivalent(1),fstinfo(1),fstintersect(1),fstinvert(1),fstisomorphic(1),fstlinear(1),fstloglinearapply(1),fstmap(1),fstminimize(1),fstprint(1),fstproject(1),fstprune(1),fstpush(1),fstrandgen(1),fstreplace(1),fstreverse(1),fstreweight(1),fstrmepsilon(1),fstshortestdistance(1),fstshortestpath(1),fstsymbols(1),fstsynchronize(1),fsttopsort(1),fstunion(1)
that's the whole page bestie, you ate that πβ¨ this one's from OpenFst 1.8.5, dated Mar 2026, and no cap it's a real one. go relabel something iconic. πππ
π¦ where this page comes from
- ubuntu stonking: libfst-tools 1.8.5-2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms