Menu

bw.exe stops working while reading en-us\mdef.txt in windows 8

Help
2016-06-21
2020-03-01
  • Hafiz Arslan Amjad

    Hi ,
    I want to adapt default acoustic model for Sphinx4. I am following the tutorial on http://cmusphinx.sourceforge.net/wiki/tutorialadapt. When i try to accumulate observing counts by using the command

    bw -hmmdir en-us -moddeffn en-us\mdef.txt -ts2cbfn .cont. -feat 1s_c_d_dd -cmn current -agc none -dictfn cmudict-en-us.dict -ctlfn arctic20.fileids -lsnfn arctic20.transcription -lda en-us/feature_transform -accumdir .

    on command prompt, the bw.exe stops responding when it tries to read en-us\mdef.txt and windows have to close this program.

    Things you might need to know
    I am using Windows 8.1 Pro (64-bit)
    Downloaded sphinxbase , sphinxtrain , pocketsphinx
    Downloaded Continous Model named cmusphinx-en-us-5.2.tar.gz from

    http://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/US%20English%20Generic%20Acoustic%20Model/en-us.tar.gz/download

    Generated accoustic feature files by following the tutorial
    Converted mdef file in en-us by following tutorial.

    Note: To bw.exe i am giving argumnet -ts2cbfn .cont. The tutorial suggest to use .ptm. Is this causing any problem.?

    I have also read this similar thread by Hasibul Haqiue name bw.exe stops working but could not solve my problem.

    Tried to run bw.exe with and without -svspec 0-12/13-25/26-38 \ but no good.
    bw.exe uses feature_transform file since it is in my acoustic model as suggested by tutorial.

    and last but not least ,, Have no clue what is wrong..
    Thanks for your help and consideration.

     
    • Nickolay V. Shmyrev

      You need to provide exact command you trying, the information about layout of the files in your system and the exact and complete tool output.

       
  • Lisa Loo

    Lisa Loo - 2020-03-01

    Hi Nick,

    i have the same problem. just that i am using cygwin in windows 10.
    Pls advise ...

    Below is my commands and output and attached files:

    Lisa Loo@DESKTOP-F0KLOLD /home/adapt
    $ ./bw \

    -hmmdir en-us \
    -moddeffn en-us/mdef.txt \
    -ts2cbfn .cont. \
    -feat 1s_c_d_dd \
    -cmn current \
    -agc none \
    -dictfn cmudict-en-us.dict \
    -ctlfn cn.fileids \
    -lsnfn cn.transcription \
    -accumdir .
    INFO: main.c(229): Compiled on Jan 24 2016 at 08:19:13
    Current configuration:
    [NAME] [DEFLT] [VALUE]
    -2passvar no no
    -abeam 1e-100 1.000000e-100
    -accumdir .
    -agc none none
    -agcthresh 2.0 2.000000e+00
    -bbeam 1e-100 1.000000e-100
    -cb2mllrfn .1cls. .1cls.
    -cepdir
    -cepext mfc mfc
    -ceplen 13 13
    -ckptintv 0
    -cmn current current
    -cmninit 8.0 8.0
    -ctlfn cn.fileids
    -diagfull no no
    -dictfn cmudict-en-us.dict
    -example no no
    -fdictfn
    -feat 1s_c_d_dd 1s_c_d_dd
    -fullsuffixmatch no no
    -fullvar no no
    -help no no
    -hmmdir en-us
    -latdir
    -latext
    -lda
    -ldadim 0 0
    -lsnfn cn.transcription
    -lw 11.5 1.150000e+01
    -maxuttlen 0 0
    -meanfn
    -meanreest yes yes
    -mixwfn
    -mixwreest yes yes
    -mllrmat
    -mmie no no
    -mmie_type rand rand
    -moddeffn en-us/mdef.txt
    -mwfloor 0.00001 1.000000e-05
    -npart 0
    -nskip 0
    -outphsegdir
    -outputfullpath no no
    -part 0
    -pdumpdir
    -phsegdir
    -phsegext phseg phseg
    -runlen -1 -1
    -sentdir
    -sentext sent sent
    -spthresh 0.0 0.000000e+00
    -svspec
    -timing yes yes
    -tmatfn
    -tmatreest yes yes
    -topn 4 4
    -tpfloor 0.0001 1.000000e-04
    -ts2cbfn .cont.
    -varfloor 0.00001 1.000000e-05
    -varfn
    -varnorm no no
    -varreest yes yes
    -viterbi no no

    INFO: feat.c(715): Initializing feature stream to type: '1s_c_d_dd', ceplen=13, CMN='batch', VARNORM='no', AGC='none'
    INFO: main.c(318): Reading en-us/mdef.txt
    Segmentation fault

     
    • Nickolay V. Shmyrev

      Install linux

       

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.