Menu

PocketSphinx Duplicate Base Phone

Help
Marco
2010-11-22
2012-09-22
  • Marco

    Marco - 2010-11-22

    Hi to everybody

    I post my problem

    INFO: acmod.c(238): Parsed model-specific feature parameters from /home/marco/
    RiconoscimentoVoce/evalita/model_parameters/evalita.cd_cont_700/feat.params
    INFO: fe_interface.c(288): You are using the internal mechanism to generate
    the seed.
    INFO: feat.c(848): Initializing feature stream to type: '1s_c_d_dd',
    ceplen=13, CMN='current', VARNORM='no', AGC='none'
    INFO: cmn.c(142): mean= 12.00, mean= 0.0
    INFO: mdef.c(520): Reading model definition: /home/marco/RiconoscimentoVoce/ev
    alita/model_parameters/evalita.cd_cont_700/mdef
    FATAL_ERROR: "mdef.c", line 337: Duplicate base phone: e - - - n/a 7 21 22 23
    N

    I think pocketsphinx is case insensitive with my phonelist. i have phone 'e'
    and 'E' because i use SAMPA transcription. I cannot change my phonelist
    Looking the forum I tried to follow a suggestion for a same problem with
    sphinx3
    I modified file mdef.c
    /home/marco/RiconoscimentoVoce/pocketsphinx-0.6.1/src/libpocketsphinx/mdef.c
    changing this line
    m->ciphone_ht = hash_table_new(n_ci, 1);
    to
    m->ciphone_ht = hash_table_new(n_ci, 0);

    But it doesn't work! Is there an other solution for pocketSphinx (0.6.1)

    Thanks in advance for any suggestion

    Marco

     
  • Nickolay V. Shmyrev

    This issue was fixed in pocketsphinx trunk. Use newer version.

     
  • Marco

    Marco - 2010-11-22

    I downloaded pocketshinx from http://sourceforge.net/projects/cmusphinx/files
    /pocketsphinx/0.6.1/
    yesterday and it's the latest availabe release. What's the newer
    version?

    Thanks

     
  • Nickolay V. Shmyrev

    Latest version is distributed through the version control system (Subversion).
    You can checkout latest version using Subversion or download snapshot. See

    http://cmusphinx.sourceforge.net/wiki/download

    for details

     
  • Marco

    Marco - 2010-11-22

    I download snapshot for pocketsphinx 0.6.99 but after i type make i have an
    error. It's not stable. I think i must change my dic and phone list

     

Log in to post a comment.