Menu

Getting error while converting lm file to lm.bin file

Help
Pooja Daga
2021-03-10
2021-03-10
  • Pooja Daga

    Pooja Daga - 2021-03-10

    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 !

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.