The OpenGrm NGram library is used for making and modifying n-gramlanguage models encoded as weighted finite-state transducers(FSTs). It makes use of functionality in the OpenFst library tocreate, access and manipulate n-gram models.

USAGE:

Assuming you've installed under the default =/usr/local=, the GRMbinaries are found on /usr/local/bin. Headers will be in/usr/local/include/ngram, and libraries in /usr/local/lib.

To use in your own programs you will need to include. Compile with '-I /usr/local/include' and linkagainst /usr/local/lib/libfst.so, /usr/local/lib/fst/libfstfar.soand /usr/local/lib/libngram.so. Set your LD_LIBRARY_PATH (orequivalent) to contain /usr/local/lib.

The linking is, by default, dynamic so that the Fst and Arc type DSOextensions can be used correctly if desired.