Speech Recognition Engines

Flat
Can NIST's sclite be used on windows?
User: b
Date: 2/8/2010 1:24 pm
Views: 25616
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: 1272
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: 571
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: 303
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: 697
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: 1316
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: 344
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: 366
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: allen
Date: 1/9/2013 1:22 am
Views: 4117
Rating: 8

The method change OPTIONS to blank is 

for OPTIONS=-DNEED_STRCMP=1

delete -DNEED_STRCMP=1

I think you should try changed the makefile and makefile.in at first,and then run make all. It maybe help, if not, try a new version, http://www.nist.gov/itl/iad/mig/tools.cfm  sctk2.4.5 and use the method I advise, It succeeded on my PC with windows 7 and Cygwin, my gcc version is 4.5.3.

Good luck!

--- (Edited on 1/9/2013 1:22 am [GMT-0600] by Visitor) ---

PreviousNext