Speech Recognition Engines

Nested
Can NIST's sclite be used on windows?
User: b
Date: 2/8/2010 1:24 pm
Views: 17707
Rating: 8

I'm trying to install NIST's Speech Recognition Scoring Toolkit (SCTK)  on Windows 7, but all the make files are set up for linux so I'm getting several errors. Are there versions of this toolkit put together as a MS Visual Studio solution? Or is there another way I can get the makefile working in windows? Any help would be appreciated. Thanks!

--- (Edited on 2/8/2010 1:24 pm [GMT-0600] by Visitor) ---

Re: Can NIST's sclite be used on windows?
User: kmaclean
Date: 2/8/2010 1:48 pm
Views: 1263
Rating: 9

>Or is there another way I can get the makefile working in windows?

try Cygwin

--- (Edited on 2/8/2010 2:48 pm [GMT-0500] by kmaclean) ---

Re: Can NIST's sclite be used on windows?
User: vikcy
Date: 3/1/2012 7:07 am
Views: 565
Rating: 9

hi... i am woking with sclite toolkit... facing problems regarding the compilation of the sclite toolkit.,... the cygwin continously gives me error that the file cannot be executed... i am not sure what to do.... can anyboody explain the procedure for installing the sclite toolkit on windows.....

 

Waiting for reply....

--- (Edited on 3/1/2012 7:07 am [GMT-0600] by Visitor) ---

Re: Can NIST's sclite be used on windows?
User: Ben
Date: 7/3/2012 3:03 am
Views: 297
Rating: 9

> cannot be executed

 cd nist ; chmod +x bin/*

Now try running one of them, you'll find that it runs. Properly? Maybe.

By the way I was able to install the NIST score 3.6.2 on Windows using Cygwin, bash -i

 cd /cygdrive/c/ben/nist
 export PATH=$PWD/bin:$PATH
 export MANPATH=$PWD/doc/man:$MANPATH
 sh src/scripts/install.sh ...
  choose 8 (custom) and for architecture type intel
 ...
blah blah conflicting types for getline blah strcasecmp blah blah blah

 chmod bin/*

Looks like this guy did it for a class, too, and maybe you can copy his binaries?

http://my.fit.edu/~vkepuska/ece5527/score_3.6.2/nist/doc/score.rdm

 

--- (Edited on 7/3/2012 3:03 am [GMT-0500] by Visitor) ---

Re: Can NIST's sclite be used on windows?
User: benreaves
Date: 7/4/2012 2:29 am
Views: 691
Rating: 10

This ugly workaround got sclite running for me. Assuming Win7, Cygwin are installed, extract sctk-2.4.0 tar file to c:\x  
Next, do this:

 c:\> bash -i 
 chmod -R a+rwx .
export CPATH=$PWD/src/sclite:.
 make config
 make all  # it fails with gcc: sclite.c: No such file or directory
 # so we do something very ugly:
 cp src/*/*.c .
 make all
 # now ./sclite.exe works, believe it or not!
 
 echo "one two three (ben_01)" > reffile
 echo "one to three (ben_01)" > hypfile
 ./sclite.exe -h hypfile trn -r reffile trn -i spu_id

 # okay but it didnt align.

--- (Edited on 7/4/2012 2:29 am [GMT-0500] by ) ---

Re: Can NIST's sclite be used on windows?
User: mariamarcano
Date: 9/14/2012 1:44 pm
Views: 182
Rating: 9

Using the following environment windows 7 / gcc version 4.6.2, when executing “make all” the following error is being thrown:

 

recording.h:122:29: error: 'Filter::Filter' cannot appear in a constant-expression

recording.h:122:36: error: template argument 2 is invalid

recording.h:122:36: error: template argument 4 is invalid

make[3]: *** [main.o] Error 1

 

it compile fine on windows 7 / gcc version 3.4.4 (using the following installer of MinGW: mingw-get-inst-20101030.exe)

 

--- (Edited on 9/14/2012 1:44 pm [GMT-0500] by Visitor) ---

Re: Can NIST's sclite be used on windows?
User: mariamarcano
Date: 9/14/2012 1:50 pm
Views: 1185
Rating: 10

It was also necesary to modify 'src/rfilter1/makefile.in' and Changing the value of OPTIONS to be blank  (this was specified in the instructions)

--- (Edited on 9/14/2012 1:50 pm [GMT-0500] by Visitor) ---

Re: Can NIST's sclite be used on windows?
User: benreaves
Date: 9/14/2012 3:07 pm
Views: 336
Rating: 10

Thank you for posting the solution also. So many people neglect to do this..  I had been using gcc 4.5.3.

--- (Edited on 9/14/2012 3:07 pm [GMT-0500] by benreaves) ---

Re: Can NIST's sclite be used on windows?
User: it's me
Date: 11/6/2012 3:56 pm
Views: 357
Rating: 8

Hi, i chnaged makefile.in but the problem is the same. Couuld you how to change OPTIONS to blank?!!!!!

--- (Edited on 11/6/2012 3:56 pm [GMT-0600] by Visitor) ---

Re: Can NIST's sclite be used on windows?
User: benreaves
Date: 11/6/2012 5:48 pm
Views: 374
Rating: 5

Easier (but even uglier) workaround, which I gave to an intern who did some Word Error Rate calculations for me:

  1. On my laptop with Cygwin installed, I create sclite.exe using my
    cp src/*/*.c . ; make all
    workaround from my previous message

  2. I create a zip file containing sclite.exe and cygwin1.dll from my laptop's c:/cygwin/bin/ folder

  3. Email that zip file to her, and she copies both files in a single new folder on her laptop and set PATH=.;%PATH%

This worked just fine on her laptop running Windows 7, and she didn't need Cygwin or any other NIST software on her laptop.


-Ben

--- (Edited on 11/6/2012 5:48 pm [GMT-0600] by benreaves) ---

--- (Edited on 11/6/2012 5:53 pm [GMT-0600] by benreaves) ---

PreviousNext