POCKETSPHINX_LM_CONVERT(1)

๐Ÿ“ฆ version 5.1.1, in nixpkgs unstable, ubuntu resolute, ubuntu stonking

POCKETSPHINX_LM_CONVERT(1) ๐Ÿ’–

okay so bestie, this is a page from the General Commands Manual and it's all about one lil tool that does Big Things to language model files. let's get into it ๐Ÿซถ


โœจ NAME โœจ

sphinx_lm_convert โ€” convert and manipulate language model files ๐Ÿฆ‹


โœจ SYNOPSIS โœจ

sphinx_lm_convert [ options ]...

โœจ DESCRIPTION โœจ

so basically, this program converts language model files from one format to another. that's the main character job right there ๐Ÿ‘‘

but wait, there's more, because it can also be used to:

  • change the character encoding of the text inside a language model file ๐Ÿ”ค
  • force word strings to upper or lower case ๐Ÿ” 

and now the options, which are literally listed right here in the DESCRIPTION, so here we go:

  • -case 'lower' or 'upper' โ€” case fold to lower/upper case. and bestie, listen: this is NOT UNICODE AWARE. not me warning you twice, i'm just saying it once, loudly ๐Ÿ˜ญ
  • -debug level โ€” for debugging messages ๐Ÿ›
  • -help โ€” shows the usage of the tool. your lil safety net fr fr ๐Ÿ’…
  • -i โ€” language model file. required โš ๏ธ
  • -ifmt โ€” language model format. it will guess if not specified ๐Ÿ”ฎ
  • -logbase โ€” base in which all log-likelihoods are calculated ๐Ÿ“
  • -mmap โ€” use memory-mapped I/O for reading binary LM files ๐Ÿ—บ๏ธ
  • -o โ€” language model file. required โš ๏ธ (yes, again, it's required, don't skip it)
  • -ofmt โ€” language model file format. it will guess if not specified ๐Ÿ”ฎ
real talk: -i and -o are both required. no i/o, no vibes. periodt.

โœจ AUTHOR โœจ

David Huggins-Daines <dhdaines@gmail.com> ๐Ÿ’Œ


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


aaaand that's the whole page, bestie ๐ŸŽ€ this one's from the General Commands Manual, version dated 2010-03-18 โ€” slay, iconic, go convert some language models ๐Ÿ’œ๐Ÿงš

๐Ÿ“ฆ where this page comes from