fstshortestpath(1)

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

okay so bestie, this is fstshortestpath(1), a User Commands page from the OpenFst crew, and it's literally here to find shortest paths in an FST. that's the vibe. let's get into it πŸ¦‹


✨ NAME ✨

fstshortestpath β€” find shortest paths in an FST πŸ‘‘


🌸 SYNOPSIS 🌸

fstshortestpath [OPTIONS] [in.fst [out.fst]]

πŸ’… DESCRIPTION πŸ’…

Finds shortest path(s) in an FST. that's it, that's the whole job. it eats an FST, it spits out the shortest path(s), slay ✨


πŸŽ€ OPTIONS πŸŽ€

okay first, the rule for booleans, and this is important so listen up:

Boolean options accept either true or false as a value, or they just go ahead and assume true if you don't specify anything at all. no cap. πŸ™ˆ

now the full roster, every single one, no skipping:

  • --delta=VALUE β€” sets the comparison/quantization delta. Default: 0.000976562.
  • --fst_align[=BOOLEAN] β€” write FST data aligned where appropriate, because sometimes things just want to be lined up properly πŸ’… Default: false.
  • --fst_compat_symbols[=BOOLEAN] β€” require symbol tables to match when appropriate. Default: true.
  • --fst_default_cache_gc[=BOOLEAN] β€” enable garbage collection of the cache. yes, cache gets a lil cleanup era 🧹 Default: true.
  • --fst_default_cache_gc_limit=N β€” set the cache byte size that triggers garbage collection. Default: 1048576.
  • --fst_error_fatal[=BOOLEAN] β€” if true, FST errors are fatal πŸ’€ otherwise, the returned objects are flagged as bad. 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: " ".
  • --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 (like, pair weight, tuple weight, and derived classes) so nested composite weights do their I/O correctly 🫢 must have size 0 (none) or 2 (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, the lil baby version. Default: false.
  • --nshortest=N β€” return N-shortest paths. Default: 1.
  • --nstate=NUMBER β€” set the state number threshold. Default: -1.
  • --queue_type=TYPE β€” set the queue type, one of auto, fifo, lifo, shortest, state, and top. Default: auto.
  • --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.
  • --unique[=BOOLEAN] β€” return unique strings. Default: false.
  • --v[=N] β€” set the verbosity level. Default: 0.
  • --weight=THRESHOLD β€” set the weight threshold. Default: "".

🌈 SEE ALSO 🌈

the whole friend group, fr fr:


and that's the whole page bestie, you ate it πŸ’– this was OpenFst 1.8.5, dating all the way back to Mar 2026 β€” iconic behavior from the OpenFst girlies, mwah πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from