fst-train(1)
π fst-train π
okay bestie, gather round, because this is fst-train from the fst-train manual, and she's literally all about learning transducer weights β¨ no cap, that's the whole NAME situation right there. it's giving "teach the machine by showing it examples" energy and honestly? we're obsessed π
β¨ SYNOPSIS β¨
fst-train [ options ] file [ input-file ]
so you pass a file, and optionally an input-file, and sprinkle some options in there like the little garnish on a strawberry π that's the vibe, periodt.
π OPTIONS π
-t fileβ pulls in multiple transducers, and she does it the exact same wayfst-infl2does. same energy, different girlie π«Ά-bβ this one's for supervised training with disambiguated data. yes bestie, it's a whole mode π-dβ disambiguates the analyses symbolically, and the deets on how are literally sitting in the man pages offst-infl2. go read those, iykyk π-qβ quiet mode π€« (iconic behaviour honestly, sometimes you just don't wanna hear it)
πΈ DESCRIPTION πΈ
okay so here's the tea: fst-train is used to learn statistical weights for the transducers transitions based on training data. that's the whole main character moment right there π
and the training is either unsupervised β which is the default, btw, she's the standard β or supervised, which you get with option -b. two modes, one legend.
π¦ supervised mode (-b)
in supervised mode, your input contains fully disambiguated data β that means both the surface form AND the analysis form, side by side, no mystery π
the format restrictions here are identical to the ones that apply for lexicon entries. and this part matters so listen up: all operators other than the colon operator (:) are interpreted literally. literally literally. no games π
π« unsupervised mode (the default)
in unsupervised mode, the input data is just surface strings. that's it, that's the whole input. and the format is identical to the input format of fst-infl and fst-infl2. same vibe, same rules β¨
π§ where the weights go
the transducer weights get stored in files whose names you get by appending .prob to the names of the transducer files. so like, automatic naming, very slay, no manual labour required π
π BUGS π
No bugs are known so far.
and honestly? not me being suspicious of that, but okay bestie, we'll take the win πβ¨ flawless queen behaviour fr fr
π SEE ALSO π
fst-infl2fst-compiler
go give them a lil visit, they're all in the same friend group π«Ά
π AUTHOR π
Helmut Schmid, Institute for Computational Linguistics, University of Stuttgart, Email: schmid@ims.uni-stuttgart.de
This software is available under the GNU Public License. π±
and that's a wrap, bestie!! this page came to you courtesy of the fst-train(1) manual, October 2005 edition β yes, she's an elder but she still ate πππ¦ mwah, go train some transducers, love u bye ππ
π¦ where this page comes from
- debian bookworm: sfst 1.4.7b-1+b1
- debian trixie: sfst 1.7.0-1 Β· GPL-2.0-or-later
- ubuntu jammy: sfst 1.4.7b-1build2
- ubuntu noble: sfst 1.4.7b-1build2
- ubuntu questing: sfst 1.7.0-1
- ubuntu resolute: sfst 1.7.0-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: sfst 1.7.0-1build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms