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 eithertrueorfalseas a value, or they just go ahead and assumetrueif 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]β iftrue, FST errors are fatal π otherwise, the returned objects are flagged as bad. 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:" ".--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 (like, pair weight, tuple weight, and derived classes) so nested composite weights do their I/O correctly π«Ά must have size0(none) or2(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 ofauto,fifo,lifo,shortest,state, andtop. 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:
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),fstsymbols(1),fstsynchronize(1),fsttopsort(1),fstunion(1)
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
- 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