fstsymbols(1)
π fstsymbols(1) β manipulate FST symbol tables π
okay bestie, welcome to the fstsymbols page π
this is a User Command, and she does exactly one thing and she does it flawlessly: she messes with the symbol tables that are glued onto an FST. set them, clear them, relabel them. that's the whole gig. iconic.
β¨ SYNOPSIS β¨
fstsymbols [OPTIONS] [in.fst [out.fst]]
πΈ DESCRIPTION πΈ
lowkey the whole vibe: fstsymbols performs operations (set, clear, relabel) on the symbol tables attached to an FST. that's it. no cap. π
π¦ OPTIONS π¦
okay so first, the ground rules for booleans, and this is important so listen up π«Ά: Boolean options accept either true or false as a value, or the implicit value true if neither value is specified. so if you just yeet the flag in there with no value, congrats, you passed true. main character energy.
--allow_negative_labels[=BOOLEAN]β let negative labels exist. not recommended tho, and it may cause conflicts π Default:false.--clear_isymbols[=BOOLEAN]β wipe the input symbol table clean. Default:false.--clear_osymbols[=BOOLEAN]β wipe the output symbol table clean. 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 cache. Default:true.--fst_default_cache_gc_limit=Nβ set the cache byte size that triggers the garbage collection moment. Default:1048576.--fst_error_fatal[=BOOLEAN]β iftrue, FST errors are fatal π. otherwise, the returned objects get flagged as bad instead. 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:" ". (yeah that's five spaces, counting is a skill fr fr)--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 (think pair weight, tuple weight, and derived classes) so the I/O of nested composite weights stays proper. must have size0(none) or2(open and close parenthesis) β any other length is a no π. 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 the brief usage information, for when you're in a hurry. Default:false.--isymbols=FILENAMEβ set the input label symbol table. Default:"".--osymbols=FILENAMEβ set the output label symbol table. Default:"".--relabel_ipairs=FILENAMEβ the input relabel pairs (numeric labels).--relabel_opairs=FILENAMEβ the output relabel pairs (numeric labels).--save_isymbols=FILENAMEβ save the FST file's input symbol table out to a file. Default: do not save.--save_osymbols=FILENAMEβ save the FST file's output symbol table out to a file. Default: do not save.--save_relabel_ipairs=FILENAMEβ save the input relabel pairs to a file. Default: do not save.--save_relabel_opairs=FILENAMEβ save the output relabel pairs to a file. Default: do not save.--tmpdir=PATHNAMEβ set the temporary directory to use. Default:/tmp.--v[=N]β set the verbosity level. Default:0.--verify[=BOOLEAN]β verify FST properities before saving (typo and all, she's doing her best π).
psst β notice how the boolean flags are written[=BOOLEAN]with brackets, but--vis[=N]? yeah. that's the format. we respect it. π
π SEE ALSO π
the whole friend group, alphabetically slaying:
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),fstrelabel(1),fstreplace(1),fstreverse(1),fstreweight(1),fstrmepsilon(1),fstshortestdistance(1),fstshortestpath(1),fstsynchronize(1),fsttopsort(1),fstunion(1)
that's the whole page bestie, go relabel something and feel powerful ππ
this one's from OpenFst 1.8.5, dated Mar 2026 β mwah, tysm for reading, stan fstsymbols(1) πβ¨
π¦ 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