NGRAMHISTTEST(1)

πŸ“¦
version 1.3.17 Β· 3 versions
, in fedora 44

πŸ’– NAME πŸ’–

ngramhisttest β€” bestie, this is the manual page for ngramhisttest 1.3.17, and she's here to serve. It's giving compiler energy, it's giving tester energy, and honestly? We're obsessed. πŸŽ€βœ¨


✨ DESCRIPTION ✨

Okay so like, the whole vibe of this program is: it compiles and tests equality of HistogramArc models. That's it. That's the job. Compile the thing, check if the models match, periodt. πŸ’…

Usage, copy it exactly bestie:

ngramhisttest [--options]

Now let's get into the flags, because there are a lot of them and they're all kinda iconic in their own nerdy way. πŸ¦‹


🌸 PROGRAM FLAGS 🌸

  • --cfile β€” type = std::string, default = "". The file you're comparing your input file to. Like, the other half of the comparison. 🫢
  • --delta β€” type = double, default = 0.000976562. The comparison/quantization delta. Tiny number, big responsibility. πŸ”₯
  • --ifile β€” type = std::string, default = "". The input file name. The main character of the input situation. πŸ‘‘
  • --ofile β€” type = std::string, default = "". The file for output. Where the receipts go. 🧾
  • --syms β€” type = std::string, default = "". Input file symbols, used for compiling. πŸ’œ

🌈 LIBRARY FLAGS 🌈

These ones come from all over the library, so let's go source by source, no skipping, we're thorough in this house. πŸ’ͺ

Flags from: flags.cc

  • --help β€” type = bool, default = false. Show usage information. Your classic "pls explain urself" button. πŸ’–
  • --helpshort β€” type = bool, default = false. Show brief usage information. For when you're in a rush, bestie. ✨
  • --tmpdir β€” type = std::string, default = "/tmp". Temporary directory. Classic temp vibes. πŸ—‚οΈ
  • --v β€” type = int32_t, default = 0. Verbosity level. Crank it up if you want the program to yap. πŸ—£οΈ

Flags from: fst.cc

  • --fst_align β€” type = bool, default = false. Write FST data aligned where appropriate. So neat, so aligned. πŸ“
  • --fst_default_cache_gc β€” type = bool, default = true. Enable garbage collection of cache. Take out the trash, queen. πŸ—‘οΈ
  • --fst_default_cache_gc_limit β€” type = int64_t, default = 1048576. Cache byte size that triggers garbage collection. Hit that number and the GC wakes up. 😀
  • --fst_read_mode β€” type = std::string, default = "read". Default file reading mode for mappable files. πŸ“–
  • --fst_verify_properties β€” type = bool, default = false. Verify FST properties queried by TestProperties. Trust but verify, fr fr. πŸ”
  • --save_relabel_ipairs β€” type = std::string, default = "". Save input relabel pairs to file. πŸ’Ύ
  • --save_relabel_opairs β€” type = std::string, default = "". Save output relabel pairs to file. πŸ’Ύ

Flags from: symbol-table.cc

  • --fst_compat_symbols β€” type = bool, default = true. Require symbol tables to match when appropriate. Matching outfits, but for tables. πŸ‘―
  • --fst_field_separator β€” type = std::string, default = " ". Set of characters used as a separator between printed fields. Yes, the default is literally a lil string of spaces. 🫧

Flags from: util.cc

  • --fst_error_fatal β€” type = bool, default = true. FST errors are fatal; o.w. return objects flagged as bad: e.g., FSTs: kError property set, FST weights: not a Member().
Heads up bestie: this one defaults to true, so FST errors are fatal. If you flip it off instead, objects come back flagged as bad rather than blowing everything up β€” FSTs get the kError property set, and FST weights come back not a Member(). Know what you're signing up for. πŸ’€

Flags from: weight.cc

  • --fst_weight_parentheses β€” type = std::string, default = "". Characters enclosing the first weight of a printed composite weight (e.g., pair weight, tuple weight and derived classes) to ensure proper I/O of nested composite weights; must have size 0 (none) or 2 (open and close parenthesis). So it's either nothing or a matching pair β€” no in-between, no chaos. 🌸
  • --fst_weight_separator β€” type = std::string, default = ",". Character separator between printed composite weights; must be a single character. One character only, don't get greedy. πŸ’…

And that's the whole page, bestie!! You understood it, you ate it, no crumbs. πŸŽ€πŸ’–βœ¨

This was ngramhisttest 1.3.17, dated February 2022 β€” mwah, take care of her, and go compile something cute. πŸ¦‹πŸ«Ά

πŸ“¦ where this page comes from