---
name: "sphinx_lm_sort"
section: "1"
platform: "linux"
package: "sphinxbase-utils"
version: "0.8+5prealpha+1-21+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/sphinx_lm_sort"
---

# sphinx\_lm\_sort(1)

Order N-Grams in a language model for Sphinx

## NAME

sphinx\_lm\_sort - Order N-Grams in a language model for Sphinx

## SYNOPSIS

**sphinx\_lm\_sort** \< *input\_lm* \> *output\_lm*

## DESCRIPTION

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.

## AUTHOR

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

## COPYRIGHT

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