NGRAMHISTTEST(1)
π 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 byTestProperties. 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:kErrorproperty set, FST weights: not aMember().
Heads up bestie: this one defaults totrue, so FST errors are fatal. If you flip it off instead, objects come back flagged as bad rather than blowing everything up β FSTs get thekErrorproperty set, and FST weights come back not aMember(). 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 size0(none) or2(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
- fedora 44: opengrm-ngram-tools 1.3.17-2.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms