Is there some tool I can use to manually edit the .dmp language model? Or is there some tool I can use to add to the language model? More specifically I would like to combine my custom language model with the general en-us.lm.dmp language model
Last edit: john absalon 2015-04-14
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just downloaded the latest US English generic language model from the SourceForge site. I tried converting the .dmp file using the sphinx_lm_convert.exe tool from the latest pocketsphinx release (5prealpha from 2015-08-05). However, the tool didn't accept the binary format:
Is there some tool I can use to manually edit the .dmp language model? Or is there some tool I can use to add to the language model? More specifically I would like to combine my custom language model with the general en-us.lm.dmp language model
Last edit: john absalon 2015-04-14
.dmp is a binary format of language model. To convert it to editable arpa format use
from sphinxbase.
I just downloaded the latest US English generic language model from the SourceForge site. I tried converting the .dmp file using the
sphinx_lm_convert.exetool from the latest pocketsphinx release (5prealpha from 2015-08-05). However, the tool didn't accept the binary format:Does pocketsphinx use different file formats?
Hi! I just came with the same problem and manage to solve it ! Try this:
sphinx_lm_convert -i yourfile.lm.dmp -o yourOutputFile.lm -ofmt arpa
You can check the parameters and arguments if you type :
sphinx_lm_convert -help