From Apertium
Revision as of 15:08, 25 July 2021 by Naan Dhaan (talk | contribs) (IRSTLM path correction)
Jump to navigation Jump to search

IRSTLM is a free and open source exact statistical language model using memory-mapping. The language models are compatible with those created with the closed-source SRILM Tooolkit.

See the homepage at


svn checkout svn:// irstlm
cd irstlm
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/path/prefix
make -j4
make install

Make a language model

export IRSTLM=/path/prefix
$IRSTLM/scripts/ -i incorpus.txt -o out.lm.gz -t tmp/

See also