Menu

batch_decode.sh

Help
Anati
2011-10-10
2012-09-22
1 2 > >> (Page 1 of 2)
  • Anati

    Anati - 2011-10-10

    I trained my corpus .
    I want to test my system with sphinx 3 , How i can do it ?

    Now i want to run batch_decode.sh in linux to test my system , how i can do it
    ?

    batch contains :

    sphinx3_decode -cepdir feat -ctl etc/kacst_test.fileids -dict etc/kacst.dic -fdict etc/kacst.filler -hyp rec_results.txt -hypseg rec_results_seg.txt -lm etc/kacst.lm.DMP -mdef model_architecture/kacst.1000.mdef -mean model_parameters/kacst.cd_cont_1000_8/means -mixw model_parameters/kacst.cd_cont_1000_8/mixture_weights -tmat model_parameters/kacst.cd_cont_1000_8/transition_matrices -var model_parameters/kacst.cd_cont_1000_8/variances
    

    kacst is my data base name

     
  • Nickolay V. Shmyrev

    To run a shell script open a terminal and type a full script path in a command
    line. Then press Enter. Script will run and show you the results.

     
  • Anati

    Anati - 2011-10-10

    Firstly, How i can use sphinx3 to recognize .. after i trained my database ?

    Where i should put my data base and sphinx 3 as folders and directories?

    i opened termenal and typed :

    cd Desktop/Sphinix/Training/KACSTv1.4 // KACSTv1.4 contains my database
    then typed : bach_decode.sh

    but a result was :

    batch_decode.sh: command not found
    what is wrong ??

     
  • Nickolay V. Shmyrev

    Let me repeat: you need to type FULL SCRIPT PATH. Full script path will
    look like:

    /home/anaticom/Desktop/Sphinix/Training/KACSTv1.4/batch_decode.sh
    

    Also you can use relative script path but it should start from a folder "."
    (this is a dot) :

    ./batch_decode.sh
    
     
  • Anati

    Anati - 2011-10-10

    i tried :

    anati@ubuntu:~/Desktop/Sphinix$       cd ./batch_decode.sh
    

    result :
    bash: cd: ./batch_decode.sh: No such file or directory

    and

    anati@ubuntu:~/Desktop/Sphinix$     ./batch_decode.sh
    

    result :
    bash: ./batch_decode.sh: No such file or directory

    Where i put sphinx3 and my database ?

    • I used Ubuntu
     
  • Nickolay V. Shmyrev

    Hello

    I think it will be useful for you to learn more about Unix command line. There
    are many books for beginners. This one looks good, it explains required
    concepts like current folder, permissions, PATH, shell scripting, executing a
    file, exploring the contents of a folder

    http://linuxcommand.org/writing_shell_scripts.php

    also

    http://linuxcommand.org

     
  • Anati

    Anati - 2011-10-11

    Ok, I promise you to learn more !

    But please tell me where i should put sphinx3 and my database as folder
    directory ??

     
  • Nickolay V. Shmyrev

    But please tell me where i should put sphinx3 and my database as folder
    directory ??

    It doesn't matter where to put them. As long as everything is properly
    installed you can just run sphinx3_decode as any other tool.

     
  • Anati

    Anati - 2011-10-11

    plz see

    anati@ubuntu:~/Desktop/Sphinix/Training/KACSTv1.4$ chmod 755 batch_decode.sh 
    anati@ubuntu:~/Desktop/Sphinix/Training/KACSTv1.4$ ./batch_decode.sh
    ./batch_decode.sh: line 1: sphinx3_decode: command not found
    

    sphinx3_decode : command not found , why ?!!!

     
  • Anati

    Anati - 2011-10-11

    plz Mr.nshmyrev answer my last question

     
  • Nickolay V. Shmyrev

    You didn't install sphinx3 properly. Read the book above, read the
    installation instructions.

     
  • Anati

    Anati - 2011-10-12

    This when i typed ./configure

    anati@ubuntu:~/Desktop/Sphinix/Training/sphinx3$ ./configure
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables... 
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking for library containing strerror... none required
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking whether byte ordering is bigendian... no
    checking for ANSI C header files... (cached) yes
    checking for an ANSI C-conforming const... yes
    checking for size_t... yes
    checking for memmove... yes
    checking for bcopy... yes
    checking return type of signal handlers... void
    checking if compiler supports __attribute__((visibility("default")))... yes
    checking sphinxbase/sphinx_config.h usability... no
    checking sphinxbase/sphinx_config.h presence... no
    checking for sphinxbase/sphinx_config.h... no
    checking for sphinxbase in ../sphinxbase... yes
    checking for sphinxbase in ../sphinxbase-0.7.tar.gz... no
    checking for /home/anati/Desktop/Sphinix/Training/sphinx3/../sphinxbase/include/sphinxbase/prim_type.h... yes
    checking for /home/anati/Desktop/Sphinix/Training/sphinx3/../sphinxbase/src/libsphinxbase/libsphinxbase.la... yes
    checking for perl... /usr/bin/perl
    checking for csh... no
    checking for a sed that does not truncate output... /bin/sed
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for ar... ar
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    configure: creating ./config.status
    config.status: creating sphinx3.pc
    config.status: creating Makefile
    config.status: creating src/Makefile
    config.status: creating src/libs3decoder/Makefile
    config.status: creating src/libs3decoder/libAPI/Makefile
    config.status: creating src/libs3decoder/libam/Makefile
    config.status: creating src/libs3decoder/libconfidence/Makefile
    config.status: creating src/libs3decoder/libcommon/Makefile
    config.status: creating src/libs3decoder/libdict/Makefile
    config.status: creating src/libs3decoder/libep/Makefile
    config.status: creating src/libs3decoder/liblm/Makefile
    config.status: creating src/libs3decoder/libsearch/Makefile
    config.status: creating src/libs3decoder/libcfg/Makefile
    config.status: creating src/programs/Makefile
    config.status: creating src/tests/Makefile
    config.status: creating src/tests/performance/Makefile
    config.status: creating src/tests/performance/an4/Makefile
    config.status: creating src/tests/performance/hub4/Makefile
    config.status: creating src/tests/performance/rm1/Makefile
    config.status: creating src/tests/performance/wsj20k/Makefile
    config.status: creating src/tests/performance/wsj5k/Makefile
    config.status: creating src/tests/performance/tidigits/Makefile
    config.status: creating src/tests/performance/ti46/Makefile
    config.status: creating src/tests/performance/Communicator/Makefile
    config.status: creating src/tests/performance/ICSI/Makefile
    config.status: creating src/tests/performance/spoke3/Makefile
    config.status: creating src/tests/regression/Makefile
    config.status: creating src/tests/regression/checkStyle.sh
    config.status: creating src/tests/regression/testfuncs.sh
    config.status: creating src/tests/unit_tests/Makefile
    config.status: creating src/tests/unit_tests/test_logs3/Makefile
    config.status: creating src/tests/unit_tests/test_hmm/Makefile
    config.status: creating scripts/Makefile
    config.status: creating scripts/sphinx3-simple
    config.status: creating model/Makefile
    config.status: creating model/ep/Makefile
    config.status: creating model/hmm/Makefile
    config.status: creating model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/Makefile
    config.status: creating model/hmm/tidigits/Makefile
    config.status: creating model/hmm/RM1_cd_semi/Makefile
    config.status: creating model/lm/Makefile
    config.status: creating model/lm/an4/Makefile
    config.status: creating model/lm/an4/args.an4
    config.status: creating model/lm/an4/args.an4.test
    config.status: creating model/lm/an4/args.an4.test.cls
    config.status: creating model/lm/an4/args.an4.test.mllr
    config.status: creating model/lm/an4/args.an4.test.fsg
    config.status: creating model/lm/an4/an4.ug.cls.lmctl
    config.status: creating include/Makefile
    config.status: creating doc/Makefile
    config.status: executing depfiles commands
    config.status: executing libtool commands
    anati@ubuntu:~/Desktop/Sphinix/Training/sphinx3$
    

    and this when i typed make

    anati@ubuntu:~/Desktop/Sphinix/Training/sphinx3$ make
    Making all in src
    make[1]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src'
    Making all in libs3decoder
    make[2]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder'
    Making all in libam
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libam'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libam'
    Making all in libconfidence
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libconfidence'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libconfidence'
    Making all in libcommon
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libcommon'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libcommon'
    Making all in libdict
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libdict'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libdict'
    Making all in libep
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libep'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libep'
    Making all in liblm
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/liblm'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/liblm'
    Making all in libsearch
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libsearch'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libsearch'
    Making all in libAPI
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libAPI'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libAPI'
    Making all in libcfg
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libcfg'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libcfg'
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder'
    make[3]: Nothing to be done for `all-am'.
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder'
    make[2]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder'
    Making all in programs
    make[2]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/programs'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/programs'
    Making all in tests
    make[2]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests'
    Making all in performance
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance'
    Making all in an4
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/an4'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/an4'
    Making all in rm1
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/rm1'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/rm1'
    Making all in hub4
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/hub4'
    Makefile:376: warning: overriding commands for target `hub4_flatunigram-decode'
    Makefile:366: warning: ignoring old commands for target `hub4_flatunigram-decode'
    Makefile:376: warning: overriding commands for target `hub4_trigram-decode'
    Makefile:366: warning: ignoring old commands for target `hub4_trigram-decode'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/hub4'
    Making all in ti46
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/ti46'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/ti46'
    Making all in tidigits
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/tidigits'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/tidigits'
    Making all in wsj20k
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/wsj20k'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/wsj20k'
    Making all in wsj5k
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/wsj5k'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/wsj5k'
    Making all in Communicator
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/Communicator'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/Communicator'
    Making all in ICSI
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/ICSI'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/ICSI'
    Making all in spoke3
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/spoke3'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance/spoke3'
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance'
    make[4]: Nothing to be done for `all-am'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance'
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/performance'
    Making all in regression
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/regression'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/regression'
    Making all in unit_tests
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/unit_tests'
    Making all in test_logs3
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/unit_tests/test_logs3'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/unit_tests/test_logs3'
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/unit_tests'
    make[4]: Nothing to be done for `all-am'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/unit_tests'
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests/unit_tests'
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests'
    make[3]: Nothing to be done for `all-am'.
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests'
    make[2]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/tests'
    make[2]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src'
    make[2]: Nothing to be done for `all-am'.
    make[2]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src'
    make[1]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src'
    Making all in doc
    make[1]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/doc'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/doc'
    Making all in scripts
    make[1]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/scripts'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/scripts'
    Making all in model
    make[1]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model'
    Making all in hmm
    make[2]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model/hmm'
    Making all in hub4_cd_continuous_8gau_1s_c_d_dd
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd'
    Making all in RM1_cd_semi
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model/hmm/RM1_cd_semi'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model/hmm/RM1_cd_semi'
    Making all in tidigits
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model/hmm/tidigits'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model/hmm/tidigits'
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model/hmm'
    make[3]: Nothing to be done for `all-am'.
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model/hmm'
    make[2]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model/hmm'
    Making all in lm
    make[2]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model/lm'
    Making all in an4
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model/lm/an4'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model/lm/an4'
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model/lm'
    make[3]: Nothing to be done for `all-am'.
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model/lm'
    make[2]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model/lm'
    Making all in ep
    make[2]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model/ep'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model/ep'
    make[2]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model'
    make[2]: Nothing to be done for `all-am'.
    make[2]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model'
    make[1]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/model'
    Making all in include
    make[1]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/include'
    make[1]: Nothing to be done for `all'.
    make[1]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/include'
    make[1]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3'
    make[1]: Nothing to be done for `all-am'.
    make[1]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3'
    anati@ubuntu:~/Desktop/Sphinix/Training/sphinx3$
    

    and this when i typed make install

    anati@ubuntu:~/Desktop/Sphinix/Training/sphinx3$ make install
    Making install in src
    make[1]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src'
    Making install in libs3decoder
    make[2]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder'
    Making install in libam
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libam'
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libam'
    make[4]: Nothing to be done for `install-exec-am'.
    make[4]: Nothing to be done for `install-data-am'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libam'
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libam'
    Making install in libconfidence
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libconfidence'
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libconfidence'
    make[4]: Nothing to be done for `install-exec-am'.
    make[4]: Nothing to be done for `install-data-am'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libconfidence'
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libconfidence'
    Making install in libcommon
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libcommon'
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libcommon'
    make[4]: Nothing to be done for `install-exec-am'.
    make[4]: Nothing to be done for `install-data-am'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libcommon'
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libcommon'
    Making install in libdict
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libdict'
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libdict'
    make[4]: Nothing to be done for `install-exec-am'.
    make[4]: Nothing to be done for `install-data-am'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libdict'
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libdict'
    Making install in libep
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libep'
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libep'
    make[4]: Nothing to be done for `install-exec-am'.
    make[4]: Nothing to be done for `install-data-am'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libep'
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libep'
    Making install in liblm
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/liblm'
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/liblm'
    make[4]: Nothing to be done for `install-exec-am'.
    make[4]: Nothing to be done for `install-data-am'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/liblm'
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/liblm'
    Making install in libsearch
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libsearch'
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libsearch'
    make[4]: Nothing to be done for `install-exec-am'.
    make[4]: Nothing to be done for `install-data-am'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libsearch'
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libsearch'
    Making install in libAPI
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libAPI'
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libAPI'
    make[4]: Nothing to be done for `install-exec-am'.
    make[4]: Nothing to be done for `install-data-am'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libAPI'
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libAPI'
    Making install in libcfg
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libcfg'
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libcfg'
    make[4]: Nothing to be done for `install-exec-am'.
    make[4]: Nothing to be done for `install-data-am'.
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libcfg'
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder/libcfg'
    make[3]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder'
    make[4]: Entering directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder'
    test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
     /bin/bash ../../libtool --mode=install /usr/bin/install -c  'libs3decoder.la' '/usr/local/lib/libs3decoder.la'
    libtool: install: /usr/bin/install -c .libs/libs3decoder.so.0.0.0 /usr/local/lib/libs3decoder.so.0.0.0
    /usr/bin/install: cannot create regular file `/usr/local/lib/libs3decoder.so.0.0.0': Permission denied
    make[4]: *** [install-libLTLIBRARIES] Error 1
    make[4]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder'
    make[3]: *** [install-am] Error 2
    make[3]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder'
    make[2]: *** [install-recursive] Error 1
    make[2]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src/libs3decoder'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/home/anati/Desktop/Sphinix/Training/sphinx3/src'
    make: *** [install-recursive] Error 1
    anati@ubuntu:~/Desktop/Sphinix/Training/sphinx3$
    
     
  • Anati

    Anati - 2011-10-12

    Mr . nshmyrev

    I'm still waiting you from many hours to answer my question !

    plz

     
  • Anati

    Anati - 2011-10-13

    Mr . nshmyrev

    im a member in this forum so answer my questions !

    Best regards,

     
  • Anati

    Anati - 2011-10-13

    Im a master in linux now !

    :)
    but, is this results true ?

    anati@ubuntu:~/Desktop/Sphinix/Training/KACSTv1.4$ sudo bash batch_decode.sh 
    INFO: info.c(65): Host: 'ubuntu'
    INFO: info.c(66): Directory: '/home/anati/Desktop/Sphinix/Training/KACSTv1.4'
    INFO: info.c(70): sphinx3_decode Compiled on: Aug 24 2009, AT: 14:34:55
    
    INFO: cmd_ln.c(506): Parsing command line:
    sphinx3_decode \
        -cepdir feat \
        -ctl etc/kacst_test.fileids \
        -dict etc/kacst.dic \
        -fdict etc/kacst.filler \
        -hyp rec_results.txt \
        -hypseg rec_results_seg.txt \
        -lm etc/kacst.lm.DMP \
        -mdef model_architecture/kacst.1000.mdef \
        -mean model_parameters/kacst.cd_cont_1000_8/means \
        -mixw model_parameters/kacst.cd_cont_1000_8/mixture_weights \
        -tmat model_parameters/kacst.cd_cont_1000_8/transition_matrices \
            -var model_parameters/kacst.cd_cont_1000_8/variances
    
    Current configuration:
    [NAME]          [DEFLT]     [VALUE]
    -adchdr         0       0
    -adcin          no      no
    -agc            none        none
    -agcthresh      2.0     2.000000e+00
    -alpha          0.97        9.700000e-01
    -backtrace      yes     yes
    -beam           1.0e-55     1.000000e-55
    -bestpath       no      no
    -bestpathlw             0.000000e+00
    -bestscoredir               
    -bestsenscrdir              
    -bghist         no      no
    -bgonly         no      no
    -bptbldir               
    -bptblsize      32768       32768
    -build_outdirs      yes     yes
    -cb2mllr        .1cls.      .1cls.
    -cepdir         .       feat
    -cepext         .mfc        .mfc
    -ceplen         13      13
    -ci_pbeam       1e-80       1.000000e-80
    -cmn            current     current
    -cmninit        8.0     8.0
    -cond_ds        no      no
    -ctl                    etc/kacst_test.fileids
    -ctlcount       1000000000  1000000000
    -ctloffset      0       0
    -ctl_lm                 
    -ctl_mllr               
    -dagfudge       2       2
    -debug                  0
    -dict                   etc/kacst.dic
    -dist_ds        no      no
    -dither         no      no
    -doublebw       no      no
    -ds         1       1
    -epl            3       3
    -fdict                  etc/kacst.filler
    -feat           1s_c_d_dd   1s_c_d_dd
    -featparams             
    -fillpen                
    -fillprob       0.1     1.000000e-01
    -frate          100     100
    -fsg                    
    -fsgusealtpron      yes     yes
    -fsgusefiller       yes     yes
    -gs                 
    -gs4gs          yes     yes
    -hmm                    
    -hmmdump        no      no
    -hmmdumpef      200000000   200000000
    -hmmdumpsf      200000000   200000000
    -hmmhistbinsize     5000        5000
    -hyp                    rec_results.txt
    -hypseg                 rec_results_seg.txt
    -hypsegscore_unscale    yes     yes
    -inlatdir               
    -inlatwin       50      50
    -input_endian       little      little
    -kdmaxbbi       -1      -1
    -kdmaxdepth     0       0
    -kdtree                 
    -latcompress        yes     yes
    -latext         lat.gz      lat.gz
    -lda                    
    -ldadim         0       0
    -lextreedump        0       0
    -lifter         0       0
    -lm                 etc/kacst.lm.DMP
    -lmctlfn                
    -lmdumpdir              
    -lmname                 
    -log3table      yes     yes
    -logbase        1.0003      1.000300e+00
    -logfn                  
    -logspec        no      no
    -lowerf         133.33334   1.333333e+02
    -lts_mismatch       no      no
    -lw         9.5     9.500000e+00
    -maxcdsenpf     100000      100000
    -maxedge        2000000     2000000
    -maxhistpf      100     100
    -maxhmmpf       20000       20000
    -maxlmop        100000000   100000000
    -maxlpf         40000       40000
    -maxppath       1000000     1000000
    -maxwpf         20      20
    -mdef                   model_architecture/kacst.1000.mdef
    -mdef_fillers       no      no
    -mean                   model_parameters/kacst.cd_cont_1000_8/means
    -min_endfr      3       3
    -mixw                   model_parameters/kacst.cd_cont_1000_8/mixture_weights
    -mixwfloor      0.0000001   1.000000e-07
    -mllr                   
    -mode           fwdtree     fwdtree
    -nbest          200     200
    -nbestdir               
    -nbestext       nbest.gz    nbest.gz
    -ncep           13      13
    -nfft           512     512
    -nfilt          40      40
    -Nlextree       3       3
    -Nstalextree        25      25
    -op_mode        -1      -1
    -outlatdir              
    -outlatfmt      s3      s3
    -pbeam          1.0e-50     1.000000e-50
    -pheurtype      0       0
    -phonepen       1.0     1.000000e+00
    -phsegdir               
    -pl_beam        1.0e-80     1.000000e-80
    -pl_window      1       1
    -ppathdebug     no      no
    -ptranskip      0       0
    -remove_dc      no      no
    -round_filters      yes     yes
    -samprate       16000       1.600000e+04
    -seed           -1      -1
    -sendump                
    -senmgau        .cont.      .cont.
    -silprob        0.1     1.000000e-01
    -smoothspec     no      no
    -subvq                  
    -subvqbeam      3.0e-3      3.000000e-03
    -svq4svq        no      no
    -svspec                 
    -tighten_factor     0.5     5.000000e-01
    -tmat                   model_parameters/kacst.cd_cont_1000_8/transition_matrices
    -tmatfloor      0.0001      1.000000e-04
    -topn           4       4
    -topn_beam      0       0
    -tracewhmm              
    -transform      legacy      legacy
    -treeugprob     yes     yes
    -ugonly         no      no
    -unit_area      yes     yes
    -upperf         6855.4976   6.855498e+03
    -utt                    
    -uw         0.7     7.000000e-01
    -var                    model_parameters/kacst.cd_cont_1000_8/variances
    -varfloor       0.0001      1.000000e-04
    -varnorm        no      no
    -verbose        no      no
    -vqeval         3       3
    -warp_params                
    -warp_type      inverse_linear  inverse_linear
    -wbeam          1.0e-35     1.000000e-35
    -wend_beam      1.0e-80     1.000000e-80
    -wip            0.7     7.000000e-01
    -wlen           0.025625    2.562500e-02
    -worddumpef     200000000   200000000
    -worddumpsf     200000000   200000000
    
    INFO: kbcore.c(442): Begin Initialization of Core Models:
    INFO:   Initialization of the log add table
    INFO:   Log-Add table size = 29356 x 2 >> 0
    INFO:   
    INFO: feat.c(849): Initializing feature stream to type: '1s_c_d_dd', ceplen=13, CMN='current', VARNORM='no', AGC='none'
    INFO: cmn.c(142): mean[0]= 12.00, mean[1..12]= 0.0
    INFO: kbcore.c(489): .cont.
    INFO:   Initialization of feat_t, report:
    INFO:   Feature type         = 1s_c_d_dd
    INFO:   Cepstral size        = 13
    INFO:   Number of streams    = 1
    INFO:   Vector size of stream[0]: 39
    INFO:   Number of subvectors = 0
    INFO:   Whether CMN is used  = 1
    INFO:   Whether AGC is used  = 0
    INFO:   Whether variance is normalized = 0
    INFO:   
    INFO:   Reading HMM in Sphinx 3 Model format
    INFO:   Model Definition File: model_architecture/kacst.1000.mdef
    INFO:   Mean File: model_parameters/kacst.cd_cont_1000_8/means
    INFO:   Variance File: model_parameters/kacst.cd_cont_1000_8/variances
    INFO:   Mixture Weight File: model_parameters/kacst.cd_cont_1000_8/mixture_weights
    INFO:   Transition Matrices File: model_parameters/kacst.cd_cont_1000_8/transition_matrices
    INFO: mdef.c(683): Reading model definition: model_architecture/kacst.1000.mdef
    INFO:   Initialization of mdef_t, report:
    INFO:   46 CI-phone, 49948 CD-phone, 3 emitstate/phone, 138 CI-sen, 1138 Sen, 2725 Sen-Seq
    INFO:   
    INFO: kbcore.c(299): Using optimized GMM computation for Continuous HMM, -topn will be ignored
    INFO: cont_mgau.c(163): Reading mixture gaussian file 'model_parameters/kacst.cd_cont_1000_8/means'
    INFO: cont_mgau.c(422): 1138 mixture Gaussians, 8 components, 1 streams, veclen 39
    INFO: cont_mgau.c(163): Reading mixture gaussian file 'model_parameters/kacst.cd'cont_1000_8/variances
    SYSTEM_ERROR: "cont_mgau.c", line 166: Failed to open mixture gaussian file; No such file or directory
    INFO: cont_mgau.c(523): Reading mixture weights file 'model_parameters/kacst.cd_cont_1000_8/mixture_weights'
    INFO: cont_mgau.c(678): Read 1138 x 8 mixture weights
    INFO: cont_mgau.c(706): Removing uninitialized Gaussian densities
    batch_decode.sh: line 1:  8883 Segmentation fault      sphinx3_decode -cepdir feat -ctl etc/kacst_test.fileids -dict etc/kacst.dic -fdict etc/kacst.filler -hyp rec_results.txt -hypseg rec_results_seg.txt -lm etc/kacst.lm.DMP -mdef model_architecture/kacst.1000.mdef -mean model_parameters/kacst.cd_cont_1000_8/means -mixw model_parameters/kacst.cd_cont_1000_8/mixture_weights -tmat model_parameters/kacst.cd_cont_1000_8/transition_matrices -var model_parameters/kacst.cd_cont_1000_8/variances
    
     
  • Jake

    Jake - 2011-10-13

    I think Mr . nshmyrev has answered your questions in his last reply

    You didn't install sphinx3 properly. Read the book above, read the
    installation instructions.

    From your

    make intall
    

    , you should easily find the error messages indicating what the problems
    there. For example, the 1st error message

    /usr/bin/install: cannot create regular file
    `/usr/local/lib/libs3decoder.so.0.0.0': Permission denied make: *** Error 1

    It interprets as "the lib files are not available because of the written
    permission issue. You need "sudo" to resolve it.

    Please be patient to learn and resolve above fundamental Linux problems
    yourself. Good luck!

     
  • Anati

    Anati - 2011-10-13

    Thanx mr.vjdtao

    your answer is true .

    the solve key is sudo

    Now, I love linux !

     
  • Anati

    Anati - 2011-10-13

    plz see if the batch_decode.sh output is true ! ( see reply 15)

    Now,how i can test my recording by sphinx 3 ?
    Where i should put records and what about wav # .....?

     
  • Jake

    Jake - 2011-10-13

    It's an obvious fail according to the screen printout.

    INFO: cont_mgau.c(163): Reading mixture gaussian file 'model_parameters/kacst.cd'cont_1000_8/variances SYSTEM_ERROR: "cont_mgau.c", line 166: Failed to open mixture gaussian file; No such file or directory
    

    The key is to find the error message that gives you clues to fix the issue.

     
  • Anati

    Anati - 2011-10-13

    :(

    are u have any idea to solve this problem ?

     
  • Jake

    Jake - 2011-10-13

    It seems you have difficulty to read and understand the error messages. The
    above "No such file or directory" means something wrong with

    model_parameters/kacst.cd'cont_1000_8/variances
    

    What you can do is to check if the directory or file is available or not.

     
  • Anati

    Anati - 2011-10-14

    This file is available , so what is the problem ?

     
  • Anati

    Anati - 2011-10-14

    To those people who are good in linux !

    im using ubunto and i search about

    No such file or directory
    

    despite of the file is exists and i check this by ls command.

    and i found there is a bug in ubuntu or some thing like this !

    any one know how i can fix this problem ??

     
  • Nickolay V. Shmyrev

    If computer tells you that file is missing most likely the file is missing.
    You need to check the path you specified because human make mistakes way more
    often then computers do.

    In this specific case the path in batch file must be

    model_parameters/kacst.cd_cont_1000_8/variances
    

    not

    model_parameters/kacst.cd'cont_1000_8/variances
    

    The difference is in ' vs _

     
  • Anati

    Anati - 2011-10-16

    I downloaded Fedora ... thr result was same thing in Ubuntu as u see below :
    all thing is True , why this msg appear ?
    and ls command appear the variances is exists !

    plz ..

    INFO:   Reading HMM in Sphinx 3 Model format
    INFO:   Model Definition File: model_architecture/kacst.1000.mdef
    INFO:   Mean File: model_parameters/kacst.cd_cont_1000_8/means
    INFO:   Variance File: model_parameters/kacst.cd_cont_1000_8/variances
    INFO:   Mixture Weight File: model_parameters/kacst.cd_cont_1000_8/mixture_weights
    INFO:   Transition Matrices File: model_parameters/kacst.cd_cont_1000_8/transition_matrices
    INFO: mdef.c(683): Reading model definition: model_architecture/kacst.1000.mdef
    INFO:   Initialization of mdef_t, report:
    INFO:   46 CI-phone, 49948 CD-phone, 3 emitstate/phone, 138 CI-sen, 1138 Sen, 2725 Sen-Seq
    INFO:   
    INFO: kbcore.c(299): Using optimized GMM computation for Continuous HMM, -topn will be ignored
    INFO: cont_mgau.c(163): Reading mixture gaussian file 'model_parameters/kacst.cd_cont_1000_8/means'
    INFO: cont_mgau.c(422): 1138 mixture Gaussians, 8 components, 1 streams, veclen 39
    'NFO: cont_mgau.c(163): Reading mixture gaussian file 'model_parameters/kacst.cd_cont_1000_8/variances
    SYSTEM_ERROR: "cont_mgau.c", line 166: Failed to open mixture gaussian file; No such file or directory
    INFO: cont_mgau.c(523): Reading mixture weights file 'model_parameters/kacst.cd_cont_1000_8/mixture_weights'
    INFO: cont_mgau.c(678): Read 1138 x 8 mixture weights
    INFO: cont_mgau.c(706): Removing uninitialized Gaussian densities
    batch_decode.sh: line 1:  9722 Segmentation fault      sphinx3_decode -cepdir feat -ctl etc/kacst_test.fileids -dict etc/kacst.dic -fdict etc/kacst.filler -hyp rec_results.txt -hypseg rec_results_seg.txt -lm etc/kacst.lm.DMP -mdef model_architecture/kacst.1000.mdef -mean model_parameters/kacst.cd_cont_1000_8/means -mixw model_parameters/kacst.cd_cont_1000_8/mixture_weights -tmat model_parameters/kacst.cd_cont_1000_8/transition_matrices -var model_parameters/kacst.cd_cont_1000_8/variances
    anati@ubuntu:~/Desktop/Sphinix/Training/KACSTv1.4$
    
     
1 2 > >> (Page 1 of 2)

Log in to post a comment.