SRI Language Modeling toolkit


The SRI Language Modeling (SRILM) toolkit offers tools for building and applying statistical language models for use in speech recognition, statistical tagging and segmentation, and machine translation. The toolkit can be downloaded and used free of charge.


  • A set of C++ class libraries implementing language models, supporting data structures, and miscellaneous utility functions
  • A set of executable programs built on top of the libraries to perform standard tasks such as training LMs and testing them on data, tagging, or segmenting text
  • A collection of miscellaneous scripts facilitating minor related tasks
  • The SRILM toolkit runs on UNIX and Windows platforms. It has been used in a great variety of statistical modeling applications. Others have published extensions to it that add new functionality. The toolkit greatly benefitted from its use and enhancements during workshops sponsored by Johns Hopkins University and Oregon Health and Science University’s Center for Spoken Language Understanding in 1995, 1996, 1997, and 2002.


The SRILM toolkit is widely used in the research community for tasks requiring statistical language modeling. Examples include:

The SRILM toolkit is still under development. The documentation is also a work in progress. Best documented are the executable programs, scripts, and file formats, in the form of UNIX-style manual pages. The libraries are documented mostly in the source code.

An overview of what the software can do and its design philosophy can be found in the paper, “SRILM – An Extensible Language Modeling Toolkit”“, in Procedures of the International Conference on Spoken Language Processing, Denver, Colorado, September 2002. A 2011 paper, “SRILM at Sixteen: Update and Outlook”, summarizes updates to SRILM since the 2002 paper.

Get links to other papers and tutorials, and answers to frequently asked questions.

Terms of use
SRI has released the SRILM toolkit mainly because we have received requests for the software from several researchers around the world. There is no guarantee of support. It can be downloaded free of charge under an “open source community license”, meaning that you can use it freely for nonprofit purposes, as long as you share any changes you make with the rest of the user community. For other uses, inquire about commercial licensing opportunities.

Mailing list
Check the mailing list archive for past contributions.

Read more from SRI