Menu

Not sure what to do next Sphinx4 HUB4

Help
asr888
2006-08-07
2012-09-22
  • asr888

    asr888 - 2006-08-07

    I was just wondering how to run lm3g2dmp so that it will get my language_model.arpaformat.DMP file in the right format and correcting this error message when I try to run ant hub4_trigram:

    [java] Exception in thread "main" java.lang.Error: Bad binary LM file magic number: 67324752, not an LM dumpfile?
    [java] at edu.cmu.sphinx.linguist.language.ngram.large.BinaryLoader.readHeader(BinaryLoader.java:333)
    [java] at edu.cmu.sphinx.linguist.language.ngram.large.BinaryLoader.loadBinary(BinaryLoader.java:264)
    [java] at edu.cmu.sphinx.linguist.language.ngram.large.BinaryLoader.<init>(BinaryLoader.java:93)
    [java] at edu.cmu.sphinx.linguist.language.ngram.large.LargeTrigramModel.allocate(LargeTrigramModel.java:300)
    [java] at edu.cmu.sphinx.linguist.lextree.LexTreeLinguist.allocate(LexTreeLinguist.java:405)
    [java] at edu.cmu.sphinx.decoder.search.WordPruningBreadthFirstSearchManager.allocate(WordPruningBreadthFirstSearchManager.java:323
    )
    [java] at edu.cmu.sphinx.decoder.Decoder.allocate(Decoder.java:109)
    [java] at edu.cmu.sphinx.recognizer.Recognizer.allocate(Recognizer.java:182)
    [java] at edu.cmu.sphinx.tools.batch.BatchModeRecognizer.decode(BatchModeRecognizer.java:244)
    [java] at edu.cmu.sphinx.tools.batch.BatchModeRecognizer.main(BatchModeRecognizer.java:628)
    [java] Java Result: 1

    The error message I get when I run lm3g2dmp is:

    $lm3g2dmp language_model.arpaformat.DMP new
    INFO: lm3g2dmp.c(708): Reading LM file language_model.arpaformat.DMP (name "")
    FATAL_ERROR: "lm3g2dmp.c", line 385: No \data\ mark in LM file

    Thanks,

    -Danny

     
    • Hendrik Sirges

      Hendrik Sirges - 2006-08-09

      I got the same errormessage because i forgot some options in the command line.

      try the /models/language/weather/makeLM script

       

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.