fstunion(1)

πŸ’– fstunion β€” the manual, but make it make sense πŸ’–

okay bestie, so this is fstunion, a User Commands page, and it does exactly one (1) iconic thing: it smashes two FSTs together into their union. that's it. that's the whole job. but she has options, and we're gonna go through every single one because we don't skip. periodt. πŸŽ€


✨ NAME ✨

fstunion β€” create the union of two FSTs πŸ¦‹


🌸 SYNOPSIS 🌸

fstunion [OPTIONS] in1.fst in2.fst [out.fst]

πŸ’… DESCRIPTION πŸ’…

Creates the union of two FSTs. two fsts go in, their union comes out. lowkey the whole page is longer than this description, and honestly? slay. πŸ’€


πŸ‘‘ OPTIONS πŸ‘‘

first things first, the vibe check on booleans: boolean options are chill like that β€” you can pass true or false as a value, or you can just say the option name with no value at all and it'll implicitly be true. no cap. ✨

  • --fst_align[=BOOLEAN] β€” write the FST data all aligned where it's appropriate, like a perfectly tidy shelf 🧚 Default: false.
  • --fst_compat_symbols[=BOOLEAN] β€” requires symbol tables to match, when that's the appropriate thing to require. Default: true.
  • --fst_default_cache_gc[=BOOLEAN] β€” turns on garbage collection of the cache. yes, we're cleaning up after ourselves, that's the vibe 🌈 Default: true.
  • --fst_default_cache_gc_limit=N β€” the cache byte size that triggers the garbage collection ✨ Default: 1048576.
  • --fst_error_fatal[=BOOLEAN] β€” if it's true, FST errors are fatal, like actually fatal, do not pass go πŸ’€ if it's not true, then returned objects get flagged as bad instead: 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 β€” sets the characters used as a separator between printed fields. Default: " ".
  • --fst_read_mode=STRING β€” sets the default file reading mode for mappable files, and it's either "read" or "map", no in-betweens πŸ™ˆ Default: "read".
  • --fst_verify_properties[=BOOLEAN] β€” verifies the fst properties that TestProperties queries. Default: false.
  • --fst_weight_parentheses=STRING β€” sets the characters that enclose the first weight of a printed composite weight (think pair weight, tuple weight, and derived classes) so nested composite weights do proper I/O, no chaos. it must have size 0 (none) or 2 (open and close parenthesis) β€” those are the only two moods. Default: no parentheses.
  • --fst_weight_separator=CHARACTER β€” sets the character separator between printed composite weights. Default: comma.
  • --help[=BOOLEAN] β€” show usage information 🫢 Default: false.
  • --helpshort[=BOOLEAN] β€” show the brief usage information. the tldr of the tldr. Default: false.
  • --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 β€” sets the temporary directory to use. Default: /tmp.
  • --v[=N] β€” sets the verbosity level. Default: 0.

πŸ¦‹ SEE ALSO πŸ¦‹

the whole friend group!! go say hi 🫢


okay that's the whole page, we ate and left absolutely no crumbs πŸ’… this one's from OpenFst 1.8.5, dated Mar 2026, and that's the tea bestie, stan the manual, mwah πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from