Install libngram-tools by entering the following commands in the terminal:
sudo apt update sudo apt install libngram-tools
OpenGRM n-gram Language Modeling toolkit
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 provides the command line tools.