HFST-CONJUNCT(1)
β¨ 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:
- Report bugs to <hfst-bugs@helsinki.fi>
- or directly to our bug tracker at: <https://github.com/hfst/hfst/issues>
hfst-conjuncthome page: <https://github.com/hfst/hfst/wiki/HfstConjunct>- General help using HFST software: <https://github.com/hfst/hfst/wiki>
β 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. 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
- 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