Menu

Configuration file for LiveDecode & v. 3.5?

Help
2005-03-05
2012-09-22
  • Robert Oschler

    Robert Oschler - 2005-03-05

    {Pardon me if this is a duplicate post. The first post I made seems to have disappeared.}

    Thank you for releasing such an excellent program as an open source project.

    I recently downloaded the latest Sphinx 3.5 build. It compiled just fine using MSVC++ 6 on a Win32 platform.

    I want to do a quick run using livedecode, and I was wondering if there was a sample configuration file somewhere I could use for testing? I also would like to see one so I can get a feel for which of the many configuration file values are the best "defaults".

    Thanks.

     
    • Robert Oschler

      Robert Oschler - 2005-03-07

      I found what I needed in the livedecode test batch file:

      \sphinx3-0.5\win32\batch\sphinx3-test.decode.bat

      I pulled out the configuration arguments, removed the -cepdir argument which livedecode didn't like, and fixed the paths so that livedecode.exe could be run from the /Bin/Debug directory where MSVC++ 6 puts it. I have included the contents of the configuration file below for others who might need it Just cut and paste everything below the dotted line, into Notepad, and save it to a file. Then just use the name of that file as the configuration file argument to livedecode.exe. All of this assumes that you did not change the directory structure of the project when you extracted it.


      -mdef ../../model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/hub4opensrc.6000.mdef
      -fdict ../../model/lm/an4/filler.dict
      -dict ../../model/lm/an4/an4.dict
      -mean ../../model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/means
      -var ../../model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/variances
      -mixw ../../model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/mixture_weights
      -tmat ../../model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/transition_matrices
      -lm ../../model/lm/an4/an4.ug.lm.DMP
      -ctl ../../model/lm/an4/an4.ctl
      -agc none
      -varnorm no
      -cmn current
      -subvqbeam 1e-02
      -epl 4
      -fillprob 0.02
      -feat 1s_c_d_dd
      -lw 9.5
      -maxwpf 1
      -beam 1e-40
      -pbeam 1e-30
      -wbeam 1e-20
      -maxhmmpf 1500
      -wend_beam 1e-1
      -ci_pbeam 1e-3
      -ds 2

       
    • Robert Oschler

      Robert Oschler - 2005-03-07

      One last helpful note for those who want to look at the recorded sound file in a sound editor. The default sampling rate used by the livedecode sample is 8000 Khz. It is not a WAV file or any other formatted file. It is strictly a dump of the 16-bit samples recorded by the program.

       

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.