HFST-SUBTRACT(1)

πŸ“¦
version 3.17.1 Β· 2 versions
  • 3.17.1 Β· debian bookworm, debian trixie, nixos 26.05, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 3.17.3 Β· nixpkgs unstable
, in debian bookworm, debian trixie, nixos 26.05, opensuse-leap 16.0, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 Β© 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