fstconvert(1)

🌸 NAME 🌸

fstconvert β€” convert an FST to another type πŸ’… bestie, that's literally the whole job.


✨ SYNOPSIS ✨

fstconvert [OPTIONS] [in.fst [out.fst]]

πŸ’– DESCRIPTION πŸ’–

Converts an FST to another type. That's it, that's the vibe πŸ¦‹ you hand it one flavor of FST, it hands you back another one, no cap.


πŸŽ€ OPTIONS πŸŽ€

okay so real quick before the list: boolean options are the chill ones. You can pass either true or false as the value, OR you can just... say nothing and they'll quietly assume true. Implicit true energy ✨

  • --fst_align[=BOOLEAN] β€” writes FST data aligned wherever it makes sense to. Default: false.
  • --fst_compat_symbols[=BOOLEAN] β€” requires symbol tables to match, when appropriate. Default: true.
  • --fst_default_cache_gc[=BOOLEAN] β€” turns on garbage collection for the cache. Default: true.
  • --fst_default_cache_gc_limit=N β€” sets the cache byte size that makes garbage collection kick in. Default: 1048576.
  • --fst_error_fatal[=BOOLEAN] β€” if true, FST errors are fatal πŸ’€. Otherwise the returned objects get flagged as bad instead β€” like, 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: " " (yes, five whole spaces, she's committed).
  • --fst_read_mode=STRING β€” sets the default file reading mode for mappable files, and your choices are "read" or "map". Default: "read".
  • --fst_type=TYPE β€” sets the output FST type. Default: vector.
  • --fst_verify_properties[=BOOLEAN] β€” verifies the fst properties queried by TestProperties. 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 that nested composite weights get proper I/O 🫢. It must have size 0 (meaning none) or size 2 (open and close parenthesis). Default: no parentheses.
  • --fst_weight_separator=CHARACTER β€” sets the character separator between printed composite weights. Default: comma.
  • --help[=BOOLEAN] β€” shows usage information. Default: false.
  • --helpshort[=BOOLEAN] β€” shows brief usage information. Default: false.
  • --save_relabel_ipairs=FILENAME β€” saves input relabel pairs to a file. Default: do not save.
  • --save_relabel_opairs=FILENAME β€” saves 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:

fstarcsort(1), fstclosure(1), fstcompile(1), fstcompose(1), fstcompress(1), fstconcat(1), fstconnect(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), fstsymbols(1), fstsynchronize(1), fsttopsort(1), fstunion(1)


bestie this page is brought to you by OpenFst 1.8.5 and it's dated Mar 2026 πŸŽ€ good luck out there, you're gonna slay, periodt πŸ’–βœ¨

πŸ“¦ where this page comes from