HFST-TXT2FST(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-TXT2FST β€” the manual page, bestie edition πŸ’…

okay so real talk: this is the hfst-txt2fst manual page, section 1 of User Commands. She's from the HFST family, she takes an AT&T or prolog format file and she turns it into a binary transducer. Glow-up complete. ✨


🌸 NAME 🌸

hfst-txt2fst β€” =Convert AT&T or prolog format into a binary transducer

(no fr, that stray = at the start of the description is literally in the original, I'm not touching it, she's iconic as she is 🫢)


✨ SYNOPSIS ✨

hfst-txt2fst [OPTIONS...] [INFILE]

πŸ’– DESCRIPTION πŸ’–

Convert AT&T or prolog format into a binary transducer. That's the whole job. She does one thing and she ate. πŸ‘‘

πŸŽ€ Common options:

  • -h, --help β€” Print help message
  • -V, --version β€” Print version info
  • -v, --verbose β€” Print verbosely while processing (she will narrate, and honestly? let her)
  • -q, --quiet β€” Only print fatal erros and requested output
  • -s, --silent β€” Alias of --quiet

πŸ¦‹ Input/Output options:

  • -i, --input=INFILE β€” Read input transducer from INFILE
  • -o, --output=OUTFILE β€” Write output transducer to OUTFILE

🌈 Text and format options:

  • -f, --format=FMT β€” Write result using FMT as backend format
  • -e, --epsilon=EPS β€” Interpret string EPS as epsilon in att format
  • -p, --prolog β€” Read prolog format instead of att
  • -j, --disjunct β€” Disjunct multiple transducers in input

🧚 Other options:

  • -C, --check-negative-epsilon-cycles β€” Issue a warning if there are epsilon cycles with a negative weight in the transducer

⚠️ okay the fine print, and this part is important so pay attention bestie:

If OUTFILE or INFILE is missing or -, standard streams will be used. If FMT is not given, OpenFst's tropical format will be used. The possible values for FMT are { foma, openfst-tropical, openfst-log, sfst, optimized-lookup-weighted, optimized-lookup-unweighted }. If EPS is not given, @0@ will be used.

Space in transition symbols must be escaped as '@_SPACE_@' when using att format. no cap, the space will simply not behave otherwise πŸ™ˆ


😭 REPORTING BUGS 😭

Report bugs to <hfst-bugs@helsinki.fi> or directly to our bug tracker at: <https://github.com/hfst/hfst/issues>


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 one's HFST, dated August 2018, and it lives at HFST-TXT2FST(1). go forth and convert, you absolute main character πŸŽ€βœ¨

πŸ“¦ where this page comes from