Apertium has moved from SourceForge to GitHub.
If you have any questions, please come and talk to us on #apertium on irc.freenode.net or contact the GitHub migration team.

IRSTLM

From Apertium
Jump to: navigation, 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 http://hlt.fbk.eu/en/irstlm


[edit] Installation

svn checkout svn://svn.code.sf.net/p/irstlm/code/trunk irstlm
cd irstlm
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/path/prefix
make -j4
make install

[edit] Make a language model

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

[edit] See also

Personal tools