Menu

Problems with filler dict when running BW

Help
d_h_benson
2009-06-26
2012-09-22
  • d_h_benson

    d_h_benson - 2009-06-26

    Hi,

    I'm trying to do MLLR speaker adaption, which requires running Baum-Welch (BW) to collect statistics. BW is having trouble with my filler dictionary.

    I'm working in Ubuntu and gedit. When I hit 'return' after the last line of the filler dictionary, so that the cursor is on a new blank line when I save the file, I get the following error message:

    >>
    bw: hash.c:254: hash_enter: Assertion `key != ((void *)0)' failed.
    Aborted
    >>

    On the other hand, when I don't hit return at the end of the filler dictionary, I get this message:

    >>
    FATAL_ERROR: "corpus.c", line 262: input string too long. Truncated.
    >>

    In both cases, BW aborts and doesn't produce any results. Does anyone know what's going on? Suggestions?

    Can I provide you with more information?

    Many thanks,

    Dave

     
    • Nickolay V. Shmyrev

      > Suggestions?

      Don't use gedit?

       
    • Nickolay V. Shmyrev

      Actually I think you have problems both in usual dictionary and in filler dictionary. When you fix filler dictionary issue, usual dictionary issue appears. Please check both.

       
    • d_h_benson

      d_h_benson - 2009-06-26

      Hmm... ok... I've tried editing the files using nano instead of gedit. Same problems. Is there another editor I should use?

      I've tried all the permutations of extra 'returns', and not, in both dictionary files. Still can't get it to run...

      Any other suggestions? Could I post the dictionary files somewhere for you to look at?

      Sorry to for the trouble... I really do appreciate the help...

      Best,

      Dave

       
      • Nickolay V. Shmyrev

        Please just share the files you are trying and give us a link

         
    • d_h_benson

      d_h_benson - 2009-06-27

      Ok, here are my files.

      Main dictionary: http://www.music.mcgill.ca/~benson/sphinx/alpha_newW.dict

      Filler dictionary: http://www.music.mcgill.ca/~benson/sphinx/ronFiller.dict

      When I run BW with these, I get this error after it reads the filler dict:
      >>
      INFO: main.c(402): Reading filler lexicon: /path/...
      bw: hash.c:254: hash_enter: Assertion `key != ((void *)0)' failed.
      Aborted
      >>

      If you need more files, let me know...

      Thanks again,

      D.

       
      • Nickolay V. Shmyrev

        Your filler file has emtpy newline in the end. If you still fail to find a good editor, run this:

        head -n 5 ronFiller.dict > ronFiller.dict.fixed
        mv ronFiller.dict.fixed ronFiller.dict

         

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.