I am trying to create my own language model and I use the CMU Sphinx Knowledge Base Tool to create an arpa format trigram. the problem is that I am using a lextree linguist so it does not work with the arpa but I have to convert it to bin dmp format.
I was trying to use lm3g2dmp to convert the arpa file in to a DMP file but it has proven impossible so far. I download the lm3g2dmp files and did a MAKE, in particular I had to use microsoft NMAKE since I am using windows nx.
but it didn't create the lm3g2dmp.exe file...
the error message is
NMAKE : fatal error U1073: don't know how to make 'lm3g2dmp.o'
Stop.
I have three questions
1) is lm3g2dmp still suitable to use with sphinx4? what I mean is should I try to use it to create an arpa dmp language model or is there any other tool in sphinx that I am not aware of that create this dmp file?
2) why is the nmake not creating the lm3g2dmp executable file? or any sugestion about how to install this tool.
3) what changes should I make in the config.xml file of my application to be able to work with a ASCII arpa format language model... I tried to change from lextreelinguist to flatlinguist but then when I run it there was an error asking for a grammar ... and I didn't include any since I am quite bad at changing the config.xml file.
thanks a lot
Mauricio
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> 1) is lm3g2dmp still suitable to use with sphinx4?
It's the only program for dmp file preparation for sphinx4
> 2) why is the nmake not creating the lm3g2dmp executable file? or any sugestion about how to install this tool.
Because it's not supposed to do that. Install linux and compile it without problems. Or download GNU make for windows. Or compile application from sources just by collecting them into a console project
> 3) what changes should I make in the config.xml file of my application to be able to work with a ASCII arpa format language model.
You need to use SimpleNGram lingust
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I am trying to create my own language model and I use the CMU Sphinx Knowledge Base Tool to create an arpa format trigram. the problem is that I am using a lextree linguist so it does not work with the arpa but I have to convert it to bin dmp format.
I was trying to use lm3g2dmp to convert the arpa file in to a DMP file but it has proven impossible so far. I download the lm3g2dmp files and did a MAKE, in particular I had to use microsoft NMAKE since I am using windows nx.
but it didn't create the lm3g2dmp.exe file...
the error message is
NMAKE : fatal error U1073: don't know how to make 'lm3g2dmp.o'
Stop.
I have three questions
1) is lm3g2dmp still suitable to use with sphinx4? what I mean is should I try to use it to create an arpa dmp language model or is there any other tool in sphinx that I am not aware of that create this dmp file?
2) why is the nmake not creating the lm3g2dmp executable file? or any sugestion about how to install this tool.
3) what changes should I make in the config.xml file of my application to be able to work with a ASCII arpa format language model... I tried to change from lextreelinguist to flatlinguist but then when I run it there was an error asking for a grammar ... and I didn't include any since I am quite bad at changing the config.xml file.
thanks a lot
Mauricio
> 1) is lm3g2dmp still suitable to use with sphinx4?
It's the only program for dmp file preparation for sphinx4
> 2) why is the nmake not creating the lm3g2dmp executable file? or any sugestion about how to install this tool.
Because it's not supposed to do that. Install linux and compile it without problems. Or download GNU make for windows. Or compile application from sources just by collecting them into a console project
> 3) what changes should I make in the config.xml file of my application to be able to work with a ASCII arpa format language model.
You need to use SimpleNGram lingust