title: ARPA language model documentation
body: <p>Where can I find documentation on ARPA language model format?</p>
  
  <p>I am developing simple speech recognition app with pocket-sphinx STT engine. ARPA is recommended there for performance reasons.
  I want to understand how much can I do to adjust my language model for my custom needs.</p>
  
  <p>All I found is some very brief ARPA format descriptions:</p>
  
  <ul>
  <li><a href="http://kered.org/blog/2008-08-12/arpa-language-model-file-format/" rel="noreferrer">http://kered.org/blog/2008-08-12/arpa-language-model-file-format/</a></li>
  <li><a href="http://www.speech.sri.com/projects/srilm/manpages/ngram-format.5.html" rel="noreferrer">http://www.speech.sri.com/projects/srilm/manpages/ngram-format.5.html</a></li>
  <li><a href="http://www.speech.cs.cmu.edu/SLM/toolkit_documentation.html" rel="noreferrer">http://www.speech.cs.cmu.edu/SLM/toolkit_documentation.html</a></li>
  </ul>
  
  <p>I am beginner to STT and I have trouble to wrap head around this (n-grams, etc...). I am looking for more detailed docs. Something like documentation on JSGF grammar here:</p>
  
  <p><a href="http://www.w3.org/TR/jsgf/" rel="noreferrer">http://www.w3.org/TR/jsgf/</a></p>