HFST-SUBTRACT(1)
β¨ hfst-subtract β¨
okay bestie, welcome to hfst-subtract(1) β it lives in the User Commands section of the manual, and it's about to become your new obsession π
π NAME π
hfst-subtract β =Subtract (minus) two transducers
(yes the = is in the original name, we don't question it, we respect it π«Ά)
πΈ SYNOPSIS πΈ
hfst-subtract [OPTIONS...] [INFILE1 [INFILE2]]
π DESCRIPTION π
Subtract (minus) two transducers. that's the whole vibe. one transducer minus another, math but make it fst π₯
π Common options π
-h,--helpβ print the help message, aka the "what does this even do" button π-V,--versionβ print version info, so you know exactly which era of HFST you're dealing with β-v,--verboseβ print verbosely while processing; she's chatty and she's telling you everything π-q,--quietβ only print fatal erros and requested output (spelling is theirs, we keep it fr fr) π€«-s,--silentβ alias of--quiet, same energy, different name, iconic π
π¦ Input/Output options π¦
-1,--input1=INFILE1β read the first input transducer from INFILE1-2,--input2=INFILE2β read the second input transducer from INFILE2-C,--do-not-convertβ do not allow transducers to be converted into the same type π«-o,--output=OUTFILEβ write results to OUTFILE πΎ
π Flag diacritics π
-F,--harmonize-flagsβ harmonize flag diacritics β¨-H,--do-not-harmonizeβ do not harmonize π«
If OUTFILE, or either INFILE1 or INFILE2 is missing or -, standard streams will be used. INFILE1, INFILE2, or both, must be specified. Format of result depends on format of INFILE1 and INFILE2; both should have the same format. no cap, keep those formats matching bestie π
The operation is applied pairwise for INFILE1 and INFILE2 that must have the same number of transducers. If INFILE2 has only one transducer, the operation is applied for each transducer in INFILE1 keeping the second transducer constant. it's giving very flexible, very demure π§
π₯ EXAMPLES π₯
hfst-subtract -o catdog.hfst cat.hfst dog.hfst
subtracts transducers. that's it, that's the example, and honestly? slay π
π REPORTING BUGS π
Report bugs to <hfst-bugs@helsinki.fi> or directly to our bug tracker at: <https://github.com/hfst/hfst/issues>
hfst-subtract home page: <https://github.com/hfst/hfst/wiki/HfstSubtract> General help using HFST software: <https://github.com/hfst/hfst/wiki>
found a bug? tell them!! they literally want to know, bestie π«Ά
π COPYRIGHT π
Copyright Β© 2017 University of Helsinki, License GPLv3: GNU GPL version 3 <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
and that's the whole page, bestie!! this little legend is brought to you by HFST, dated August 2018, and it's page HFST-SUBTRACT(1) in the manual β go subtract something, you absolute main character πβ¨ππ¦πΈπ π«Ά
π¦ where this page comes from
- debian bookworm: hfst 3.16.0-5 Β· GPL-3.0-or-later
- debian trixie: hfst 3.16.2-1+b1 Β· GPL-3.0-or-later
- nixos 26.05: hfst 3.16.2
- opensuse-leap 16.0: hfst 3.16.0-bp160.1.11 Β· Apache-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND GPL-3.0-only
- ubuntu jammy: hfst 3.15.4-2 Β· GPL-3.0-or-later
- ubuntu noble: hfst 3.16.0-5build4 Β· GPL-3.0-or-later
- ubuntu questing: hfst 3.16.2-1
- ubuntu resolute: hfst 3.16.2-1build2 Β· GPL-3.0-or-later
- ubuntu stonking: hfst 3.17.1-6 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms