Hi! I am using sphinxbase-0.8 to convert lm file to bin file. I am using Windows10 and executing the command:
\PATH\sphinxbase-0.8-win32\bin\Release>sphinxlmconvert -i 2965.lm -o 2965.lm.bin
but I got there errors and output file not created:
INFO: ngram_model_arpa.c(477): ngrams 1=12, 2=20, 3=10 INFO: ngram_model_arpa.c(135): Reading unigrams INFO: ngram_model_arpa.c(516): 12 = #unigrams created INFO: ngram_model_arpa.c(195): Reading bigrams INFO: ngram_model_arpa.c(533): 20 = #bigrams created INFO: ngram_model_arpa.c(534): 3 = #prob2 entries INFO: ngram_model_arpa.c(542): 3 = #bo_wt2 entries INFO: ngram_model_arpa.c(292): Reading trigrams INFO: ngram_model_arpa.c(555): 10 = #trigrams created INFO: ngram_model_arpa.c(556): 2 = #prob3 entries ERROR: "ngram_model.c", line 183: language model file type not supported ERROR: "sphinx_lm_convert.c", line 212: Failed to write language model in format (null) to 2965.lm.bin
I had just started using pocketsphinx , please help me to fix this bug. Thanks !
hey puja i am aditya vikram i finally figured it out the command does not work on windows u gotta use ubantu for it https://www.youtube.com/watch?v=FVNMAsxEcNo refer this video and this link https://stackoverflow.com/questions/56185480/how-to-convert-lm-filelanguage-model-to-lm-binbinary-file it should if not u can mail me i always active i just dont wanna see someone suffer due to lack of info as i did it took me 3 months to complete it
Log in to post a comment.
Hi! I am using sphinxbase-0.8 to convert lm file to bin file.
I am using Windows10 and executing the command:
\PATH\sphinxbase-0.8-win32\bin\Release>sphinxlmconvert -i 2965.lm -o 2965.lm.bin
but I got there errors and output file not created:
INFO: ngram_model_arpa.c(477): ngrams 1=12, 2=20, 3=10
INFO: ngram_model_arpa.c(135): Reading unigrams
INFO: ngram_model_arpa.c(516): 12 = #unigrams created
INFO: ngram_model_arpa.c(195): Reading bigrams
INFO: ngram_model_arpa.c(533): 20 = #bigrams created
INFO: ngram_model_arpa.c(534): 3 = #prob2 entries
INFO: ngram_model_arpa.c(542): 3 = #bo_wt2 entries
INFO: ngram_model_arpa.c(292): Reading trigrams
INFO: ngram_model_arpa.c(555): 10 = #trigrams created
INFO: ngram_model_arpa.c(556): 2 = #prob3 entries
ERROR: "ngram_model.c", line 183: language model file type not supported
ERROR: "sphinx_lm_convert.c", line 212: Failed to write language model in format (null) to 2965.lm.bin
I had just started using pocketsphinx , please help me to fix this bug.
Thanks !
hey puja i am aditya vikram i finally figured it out the command does not work on windows
u gotta use ubantu for it https://www.youtube.com/watch?v=FVNMAsxEcNo refer this video and this link https://stackoverflow.com/questions/56185480/how-to-convert-lm-filelanguage-model-to-lm-binbinary-file
it should if not u can mail me i always active
i just dont wanna see someone suffer due to lack of info as i did it took me 3 months to complete it
Last edit: aditya vikram 2021-03-10