HFST-SHUFFLE(1)

πŸ’– hfst-shuffle β€” the "shuffle two transducers" era πŸ’–

okay so bestie, welcome to hfst-shuffle(1), a User Commands girlie living in the HFST family. no cap, this is the tool that shuffles two transducers. that's the whole vibe. let's get into it πŸ’…


✨ NAME ✨

hfst-shuffle β€” =Shuffle two transducers

(and yes the little = is literally in there, she's iconic like that, we don't question her πŸŽ€)


🌸 SYNOPSIS 🌸

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

πŸ¦‹ DESCRIPTION πŸ¦‹

Shuffle two transducers. that's it. that's the plot. main character behaviour fr fr.


πŸ’œ Common options: πŸ’œ

  • -h, --help β€” prints the help message, the little "hi bestie here's how I work" moment 🫢
  • -V, --version β€” prints version info, so you can find out exactly which girl you're talking to
  • -v, --verbose β€” prints verbosely while processing, she will narrate her whole life to you, and honestly? we love that
  • -q, --quiet β€” only prints fatal erros and requested output. (yes, "erros". the typo is canon. she's been like this since 2018 and we respect her journey 😭)
  • -s, --silent β€” an alias of --quiet, same energy, different name, twin sister core

🌈 Input/Output options: 🌈

  • -1, --input1=INFILE1 β€” reads the first input transducer from INFILE1, that's transducer number one, our first queen πŸ‘‘
  • -2, --input2=INFILE2 β€” reads the second input transducer from INFILE2, the other half of the duo
  • -C, --do-not-convert β€” do not allow transducers to be converted into the same type. like, she will not be doing makeovers today, no conversions, periodt
  • -o, --output=OUTFILE β€” writes the results to OUTFILE, where the magic gets saved πŸ’Ύ

if OUTFILE, or either INFILE1 or INFILE2, is missing or is -, standard streams will be used. so like, the pipes are always open bestie.

INFILE1, INFILE2, or both, must be specified. no inputs, no shuffle, no vibes.

the format of the result depends on the format of INFILE1 and INFILE2 β€” and lowkey, both should have the same format. matching outfits only, it's giving coordinated πŸŽ€


the operation is applied pairwise for INFILE1 and INFILE2, which must have the same number of transducers. like a dance duo, one partner each, no third-wheeling.

but here's the cute part: if INFILE2 has only one transducer, the operation is applied for each transducer in INFILE1, keeping the second transducer constant. one loyal little constant queen holding it down while the other one gets shuffled through everyone. the way that works? obsessed πŸ’–


⭐ EXAMPLES ⭐

hfst-shuffle -o shuffled.hfst cat.hfst dog.hfst

that's it, that's the whole flex. cat meets dog, they shuffle, shuffled.hfst is born. slay 🐱🐢


πŸŽ€ REPORTING BUGS πŸŽ€

found a bug? do NOT suffer in silence bestie, report it:

also, for your scrolling pleasure:


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. (no warranty bestie, she said what she said πŸ’€)

and that's the whole page!! this manual was brought to you by HFST, dated August 2018, on the HFST-SHUFFLE(1) page. stay shuffled, stay iconic, mwah πŸ’…βœ¨πŸ¦‹πŸ’–

πŸ“¦ where this page comes from