Ubuntu Manpages

sphinx_lm_sort

Order N-Grams in a language model for Sphinx

sphinx_lm_sort < input_lm > output_lm

This program arranges the N-Grams in an ARPA-format language model to be acceptable to Sphinx. This is necessary if you created the language model with SRILM or any other tool which is not as strict about ordering N-Grams in its output.

David Huggins-Daines <dhuggins@cs.cmu.edu>

Copyright © 2008 Carnegie Mellon University. See the file COPYING included with this package for more information.