From Apertium
Revision as of 15:15, 5 August 2021 by Naan Dhaan (talk | contribs) (exporting IRSTLM)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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


see or

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

if you get stdlib.h error, see

Make a language model

# if you specified /path/prefix previously
export IRSTLM=/path/prefix
# else
export IRSTLM=/usr/local

$IRSTLM/bin/ -i incorpus.txt -o out.lm.gz -t tmp/

See also