Install libngram2 by entering the following commands in the terminal:
sudo apt update sudo apt install libngram2
OpenGRM n-gram Language Modeling toolkit - runtime library
The OpenGrm NGram library is used for making and modifying n-gram language models encoded as weighted finite-state transducers (FSTs). The library includes operations for counting, smoothing, pruning, applying, and evaluating n-gram language models. . This package contains the OpenGRM n-gram shared library.