ngrammake(1)


NAME

   ngrammake - Make ngram model from input count file.

DESCRIPTION

   Make ngram model from input count file.

SYNOPSIS

   ngrammake [--options] [in.fst [out.fst]]

OPTIONS

   --backoff: type = bool, default = false

          Use backoff smoothing (default: method dependent

   --backoff_label: type = int64, default = 0

          Backoff label

   --bins: type = int64, default = -1

          Number of bins for katz or absolute discounting

   --check_consistency: type = bool, default = false

          Check model consistency

   --count_of_counts: type = string, default = ""

          Read count-of-counts from file

   --discount_D: type = double, default = -1

          Absolute discount value D to use

   --interpolate: type = bool, default = false

          Use interpolated smoothing (default: method dependent)

   --method: type = string, default = "katz"

          One   of:   "absolute",   "katz",  "kneser_ney",  "presmoothed",
          "unsmoothed", "katz_frac", "witten_bell" (default)

   --norm_eps: type = double, default = 0.001

          Normalization check epsilon

   --witten_bell_k: type = double, default = 1

          Witten-Bell hyperparameter K

   --help: type = bool, default = false

          show usage information

   --helpshort: type = bool, default = false

          show brief usage information

   --tmpdir: type = string, default = "/tmp"

          temporary directory

   --v: type = int32, default = 0

          verbose level

   --fst_align: type = bool, default = false

          Write FST data aligned where appropriate

   --fst_default_cache_gc: type = bool, default = true

          Enable garbage collection of cache

   --fst_default_cache_gc_limit: type = int64, default = 1048576

          Cache byte size that triggers garbage collection

   --fst_read_mode: type = string, default = "read"

          Default file reading mode for mappable files

   --fst_verify_properties: type = bool, default = false

          Verify fst properties queried by TestProperties

   --fst_weight_parentheses: type = 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)

   --fst_weight_separator: type = string, default = ","

          Character separator between printed composite weights; must be a
          single character

   --save_relabel_ipairs: type = string, default = ""

          Save input relabel pairs to file

   --save_relabel_opairs: type = string, default = ""

          Save output relabel pairs to file

   --end_symbol: type = string, default = "</s>"

          Class label for sentence start

   --start_symbol: type = string, default = "<s>"

          Class label for sentence start

   --fst_compat_symbols: type = bool, default = true

          Require symbol tables to match when appropriate

   --fst_field_separator: type = string, default = "      "

          Set of characters used as a separator between printed fields

   --fst_error_fatal: type = bool, default = true

   FST errors are fatal; o.w. return objects flagged as bad:
          e.g., FSTs - kError prop. true, FST weights - not  a Member()

   --ngram_error_fatal: type = bool, default = true

   NGram errors are fatal; o.w. return objects flagged as bad:
          e.g., NGramModel::Error() returns true.





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.