LT-PARADIGM(1)

πŸ’– lt-paradigm(1) β€” the girlies' guide πŸ’–

okay so bestie, this is a page from the General Commands Manual, and it's all about lt-paradigm, a lil tool that makes listings out of a compiled transducer. yes we're doing finite-state stuff today, and yes you're gonna slay at it. πŸ¦‹


✨ NAME ✨

lt-paradigm β€” generate listings from a compiled transducer. that's the whole vibe. it's giving "I compile transducers and then I print". πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

lt-paradigm [-a | -s | -z | -h] [-e TAG] fst_file
            [input_file [output_file]]

so you hand it an fst_file, and optionally an input_file and an output_file. the flags go up front. simple as. 🌸


🌈 DESCRIPTION 🌈

lt-paradigm prints paths matching input patterns from a transducer. like, you've got a compiled transducer, you've got patterns, and it goes "here are all the paths that match, bestie". ✨

  • fst_file β€” the compiled transducer. the main character, lowkey. πŸ‘‘
  • input_file β€” a list of patterns to be extracted, separated by newlines or nulls. so you can separate them however your heart desires (well, one of those two ways). 🫢
  • output_file β€” all paths matching the patterns in input_file. each path is terminated by a newline, and groups are separated by the separator used in the input. so if you split 'em with nulls, they come back grouped by nulls. it's giving symmetry. πŸͺž

πŸ’… OPTIONS πŸ’…

  • -a, --analyser β€” match patterns on the right side of the transducer rather than the left. flipping the whole thing around, no big deal. πŸ™ˆ
  • -e TAG, --exclude TAG β€” when expanding <*>, do use TAG. (yes, that's literally what the manpage says, and I am not the one to argue with it.) 😭
  • -s, --sort β€” sort the output for each pattern. alphabetised and demure. ✨
  • -z, --null-flush β€” no-op, included for compatibility. it does literally nothing and it's still here. iconic behaviour honestly. πŸ’€
  • -h, --help β€” prints a short help message. your girl always comes through with the help text. πŸŽ€

πŸ” SEE ALSO πŸ”

(the original list has a trailing comma, so. here we are. πŸ“)


Copyright Β© 2022 Apertium. This is free software. You may redistribute copies of it under the terms of the GNU General Public License: https://www.gnu.org/licenses/gpl.html. free as in free, bestie, go wild. πŸ•ŠοΈ


πŸ’€ BUGS πŸ’€

Many... lurking in the dark and waiting for you!

not me reading that at 2am. the manpage really said "they're in the walls". 😭 anyway, keep your eyes open. πŸ”₯


mwah πŸ’– that's the whole page. it came from the Apertium girlies, dated June 30, 2022, and it's filed under LT-PARADIGM(1) in the General Commands Manual. go forth and paradigm, queen. πŸ‘‘πŸ¦‹βœ¨