pdtcompose(1)
π pdtcompose(1) π
okay bestie, welcome to pdtcompose, a lil User Commands girlie from the OpenFst 1.8.5 era. she's here to smash a PDT and an FST together into one iconic combo. let's get into it π«Ά
πΈ NAME πΈ
pdtcompose β compose a PDT and an FST β¨
π¦ SYNOPSIS π¦
pdtcompose [OPTIONS] in.pdt in.fst [out.pdt]
pdtcompose [OPTIONS] in.fst in.pdt [out.pdt]
notice how she takes them in either order? yeah. queen behavior. π
π DESCRIPTION π
Composes a PDT and an FST.
that's it. that's the whole vibe. she takes your pushdown transducer and your regular transducer, matches them up, and gives you the composed result. no cap. π
β¨ OPTIONS β¨
okay so first the rules of the house, listen up:
Boolean options accept either true or false as a value, or the implicit value true if neither value is specified. so like, --connect alone = --connect=true. slay.
--compose_filter=STRINGβ the composition filter, bestie. it's one of'expand','expand_paren', and'paren'. Default:'paren'. π--connect[=BOOLEAN]β trims the output. Default:true. clean it up, periodt. βοΈ--fst_align[=BOOLEAN]β writes FST data aligned where appropriate. Default:false.--fst_compat_symbols[=BOOLEAN]β requires symbol tables to match when appropriate. Default:true. no mismatched tables on her watch. π«--fst_default_cache_gc[=BOOLEAN]β enables garbage collection of the cache. Default:true. she cleans up after herself, unlike some people π--fst_default_cache_gc_limit=Nβ sets 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. for example, FSTs are returned with thekErrorproperty set totrue, and FST weights set so thatMember()returnsfalse. Default:true. > bestie this one is literally life or death for your run, read it twice π--fst_field_separator=STRINGβ sets the characters used as a separator between printed fields. Default:" ". (yes that's the default, exactly as written, don't come for me)--fst_read_mode=STRINGβ sets the default file reading mode for mappable files, either"read"or"map". Default:"read".--fst_verify_properties[=BOOLEAN]β verifies fst properties queried byTestProperties. Default:false.--fst_weight_parentheses=STRINGβ sets the characters enclosing the first weight of a printed composite weight (e.g., pair weight, tuple weight, and derived classes) to ensure proper I/O of nested composite weights. must have size0(none) or2(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. the classic. π--helpshort[=BOOLEAN]β shows brief usage information. Default:false.--left_pdt[=BOOLEAN]β first argument is the PDT iftrue, second argument iffalse. Default:true. this is the whole "which one goes first" situation, and she's letting you decide π«Ά--pdt_parentheses=STRINGβ sets the PDT parenthesis label pairs.--save_relabel_ipairs=FILENAMEβ saves input relabel pairs to file. Default: do not save.--save_relabel_opairs=FILENAMEβ saves output relabel pairs to file. Default: do not save.--tmpdir=PATHNAMEβ sets the temporary directory to use. Default:/tmp. ποΈ--v[=N]β sets the verbosity level. Default:0. crank it up if you want the tea β
π SEE ALSO π
fstcompose(1), pdtexpand(1), pdtinfo(1), pdtreplace(1), pdtreverse(1), pdtshortestpath(1)
the whole squad fr fr π
and that's the page, bestie!! this manual page is brought to you by OpenFst 1.8.5, dated Mar 2026. go compose something iconic β¨π πΈ no cap, you got this. π
π¦ 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