Menu

Sphinx2-test error

Help
Anonymous
2003-09-21
2012-09-22
  • Anonymous

    Anonymous - 2003-09-21

    I've installed and build Sphinx 2-0.4 on a Windows XP running cygwin. When I try the test in the README file, "sphinx2-test", I get the following:

    INFO: hmm_tied_r.c(1327): Read Map: 125716 phones map to 23355 unique senone sequences
    INFO: kb_main.c(345): kb_main.c(346): Reading dict file [/usr/local/share/sphinx2/model/lm/turtle/turtle.dic]
    INFO: dict.c(464): dict_load: first line of /usr/local/share/sphinx2/model/lm/turtle/turtle.dic was A, expecting '!'
    INFO: dict.c(466): dict_load: will assume first line contains a word
    ]hone_to_id: did not find [AX
    'RROR: "dict.c", line 705: 'A': Unknown phone 'AX
    ERROR: "dict.c", line 478: Failed to add A to dictionary
    ]hone_to_id: did not find [EY
    'RROR: "dict.c", line 705: 'A(2)': Unknown phone 'EY
    ERROR: "dict.c", line 478: Failed to add A(2) to dictionary
    ]hone_to_id: did not find [T
    'RROR: "dict.c", line 705: 'AND': Unknown phone 'T
    ERROR: "dict.c", line 478: Failed to add AND to dictionary
    ]hone_to_id: did not find [T

    Any ideas what I might be doing wrong?

    Mark

     
    • Jessica P. Hekman

      Have you tried sphinx2-simple? That's what I've always used to test sphinx.

      I'm not sure what to say about the errors you're getting. One message says "!" was expected as the first character of your dictionary, but my dictionary starts with "A", like yours, and has always worked fine for me.

       
    • Anonymous

      Anonymous - 2003-09-22

      Mark -- this exact question was asked and answered back in April.  See the thread in this Help forum entitled "Problem with sphinx3-simple application".  Altho the earlier question was with respect to sphinx3, the problem and solution are the same -- reading a Unix-style text file (with \n indicating EOL) on a system that's expecting Windows-style EOL's.

      cheers,
        jerry wolf
        soliloquy learning, inc.

       
    • Anonymous

      Anonymous - 2003-09-22

      I should have mentioned, with respect to the "dict.c(464): dict_load: " log line that this is not an error.  The dict_load function expects/allows the initial line of a dictionary file to begin with a "!", but if this is not found, it backs up and processes it as a normal word (often "A").

       

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.