SPHINX_LM_CONVERT(1)

๐Ÿ“ฆ
version 5.0.4 ยท 2 versions
, in epel 10, fedora 43, fedora 44, nixos 26.05, opensuse-leap 16.0

๐Ÿ’… NAME ๐Ÿ’…

sphinx_lm_convert โ€” convert and manipulate language model files, bestie. yes, the whole vibe.


โœจ SYNOPSIS โœจ

sphinx_lm_convert [ options ]...

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

okay so real talk: this program takes language model files and converts them from one format to another. that's the main character job. ๐ŸŒŸ

but it also does โœจextraโœจ: it can change the character encoding of the text inside a language model file, and it can force word strings to be upper or lower case. lowkey a glow-up for your LM.

here's every flag, no gatekeeping:

  • -case lower or upper โ€” case fold to lower/upper case. โš ๏ธ NOT UNICODE AWARE so like, do not come for it about that, it said what it said.
  • -debug โ€” level for debugging messages. so it will yap about what it's doing. ๐Ÿ—ฃ๏ธ
  • -help โ€” shows the usage of the tool. the classic "what do i even do" button.
  • -i โ€” language model file. required, you literally cannot skip it. ๐Ÿ’€
  • -ifmt โ€” language model format. will guess if not specified (it's giving psychic ๐Ÿ”ฎ).
  • -logbase โ€” base in which all log-likelihoods calculated.
  • -mmap โ€” use memory-mapped I/O for reading binary LM files. speedy vibes for binary files only, iykyk.
  • -o โ€” language model file. required too. both of them required. periodt.
  • -ofmt โ€” language model file format. will guess if not specified (again with the guessing, iconic).

๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

David Huggins-Daines <dhdaines@gmail.com>


Copyright ยฉ 2010 Carnegie Mellon University. See the file COPYING included with this package for more information.


okay that's the whole page bestie, you're so ready ๐Ÿ’œ and for the record: this one's dated 2010-03-18, from the General Commands Manual, filed under SPHINX_LM_CONVERT(1). go convert something, slay, mwah ๐Ÿซถโœจ

๐Ÿ“ฆ where this page comes from