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] β€” if true, FST errors are fatal πŸ’€. otherwise, the returned objects get flagged as bad instead. for example, FSTs come back with the kError property set to true, and FST weights get set so that Member() returns false. 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 by TestProperties. 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 size 0 (none) or 2 (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 --v is [=N]? yeah. that's the format. we respect it. πŸ‘‘

πŸ‘‘ SEE ALSO πŸ‘‘

the whole friend group, alphabetically slaying:


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