mpdtexpand(1)
π mpdtexpand β the manual, but make it cute π
okay bestie, so this page right here? it's mpdtexpand(1), from the User Commands section, and it's genuinely one of those little utilities that does exactly one thing and does it flawlessly. no notes. let's get into it π
β¨ NAME β¨
mpdtexpand β expand a MPDT as an FST
like. that's the whole personality. it takes a MPDT and expands it into an FST. slay.
πΈ SYNOPSIS πΈ
mpdtexpand [OPTIONS] in.mpdt [out.fst]
so you give it an input MPDT (in.mpdt), and if you want an output file (out.fst). the [OPTIONS] go up front because that's just how these things work, no cap.
π¦ DESCRIPTION π¦
Expands a (bounded-stack) MPDT as an FST.
periodt. that's the description. lowkey iconic that it needs no more than that.
π OPTIONS π
okay so real talk first, bc this matters: boolean options accept either true or false as a value, or the implicit value true if neither value is specified. so like, --connect all by itself = --connect=true. the way that works is so convenient fr fr.
--connect[=BOOLEAN]β trim the output. default:true.--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]β enable garbage collection of the cache. 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, returned objects are flagged as bad β like, 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 (think pair weight, tuple weight, and derived classes) so nested composite weights do proper I/O. it 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. default:false.--keep_parentheses[=BOOLEAN]β keep MPDT parentheses in the result. default:false.--mpdt_parentheses=STRINGβ set the MPDT parenthesis label pairs. default: empty string.--save_relabel_ipairs=FILENAMEβ save input relabel pairs to a file. default: do not save.--save_relabel_opairs=FILENAMEβ save 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.--weight=THRESHOLDβ set the weight threshold. default:"".
π₯ SEE ALSO π₯
mpdtcompose(1), mpdtinfo(1), mpdtreverse(1)
(the whole mpdt friend group, honestly π«Ά go say hi)
ok and a tiny lil heads-up bestie:--fst_weight_parenthesesis not kidding about that size rule. size0or size2, nothing in between. don't test it. π
that's the whole page!! π sending u off with the deets: this is OpenFst 1.8.5, dated Mar 2026, and you just read the mpdtexpand(1) manual. go expand something gorgeous, main character πβ¨π¦
π¦ 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