HFST-CONJUNCT(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-CONJUNCT ✨

okay bestie, welcome to hfst-conjunct(1) from the HFST crew β€” it lives in the User Commands section of the manual and it is genuinely one of the most useful little tools in the whole toolkit, no cap πŸ’–


πŸŽ€ NAME πŸŽ€

hfst-conjunct β€” Conjunct (intersect, AND) two transducers

like... it's the "AND" girlie of transducer land. both sides gotta agree or nothing gets through. periodt.


🌸 SYNOPSIS 🌸

hfst-conjunct [OPTIONS...] [INFILE1 [INFILE2]]

πŸ¦‹ DESCRIPTION πŸ¦‹

Conjunct (intersect, AND) two transducers πŸ’…

that's it, that's the whole vibe. take two transducers, keep only the parts where both of them say yes. intersection core. main character energy only.


πŸ’œ Common options: πŸ’œ

  • -h, --help β€” Print help message. your girl when you're lost πŸ₯Ί
  • -V, --version β€” Print version info. receipts, basically.
  • -v, --verbose β€” Print verbosely while processing. she talks you through it πŸ—£οΈ
  • -q, --quiet β€” Only print fatal erros and requested output. yes it says "erros" in the original, we keep the sacred text exactly as it is πŸ’€
  • -s, --silent β€” Alias of --quiet. same energy, different name ✨

🌈 Input/Output options: 🌈

  • -1, --input1=INFILE1 β€” Read first input transducer from INFILE1
  • -2, --input2=INFILE2 β€” Read second input transducer from INFILE2
  • -C, --do-not-convert β€” Do not allow transducers to be converted into the same type. like, no glow-ups, no makeovers, they stay exactly as they are πŸš«πŸ’…
  • -o, --output=OUTFILE β€” Write results to OUTFILE

🧚 Flag diacritics: 🧚

  • -F, --harmonize-flags β€” Harmonize flag diacritics
  • -H, --do-not-harmonize β€” Do not harmonize
⚠️ real talk: if OUTFILE, or either INFILE1 or INFILE2 is missing or -, standard streams will be used. and INFILE1, INFILE2, or both, must be specified. you cannot just run it into the void, bestie 😭

the format of the result depends on the format of INFILE1 and INFILE2; both should have the same format. matching fits, matching energy 🫢

and here's the important structural tea: the operation is applied pairwise for INFILE1 and INFILE2 that must have the same number of transducers. but if INFILE2 has only one transducer, the operation is applied for each transducer in INFILE1 keeping the second transducer constant. so one side can just be the loyal constant gf while the other side cycles through πŸ”₯


πŸ‘‘ EXAMPLES πŸ‘‘

hfst-conjunct -o dog.hfst cat_or_dog.hfst dog_or_mouse.hfst

look at her go. cat_or_dog AND dog_or_mouse β†’ dog. iconic. ate and left no crumbs 🐢


πŸ’€ REPORTING BUGS πŸ’€

found a bug? spill it, don't sit on it:


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. like genuinely none, bestie, do not come for us πŸ™ˆ

okay that's the whole page, you're all caught up πŸ’– this was the HFST girlies, HFST, August 2018, signing off β€” HFST-CONJUNCT(1) out, mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from