Yesterday I found the "Robust Group Tutorial" (http://www.speech.cs.cmu.edu/sphinx/tutorial.html) and this seems quite nice. But unfortunately it doesn't work for me - either I'm pretty stupid or there are missing files on my machine...?
(I wanted to use SphinxTrain and Sphinx4)
1)
Section: Setting up Sphinx4, "Tutorial Setup":
>>>
Section under construction
...
perl scripts/setup_tutorial.pl an4
...
End of section under construction
<<<
There simply is no "setup_tutorial.pl" in the whole sphinx4 folder.
2) And further down (if I go on disregarding the first problem), section: "How to perform a preliminary decode", first command:
>>>
perl scripts_pl/make_feats.pl -ctl etc/an4_test.fileids
<<<
I get this output:
>>>
C:_alex\tutorial\an4>perl scripts_pl\make_feats.pl -ctl etc\an4_test.fileids
-cfg not specified, using the default ./etc/sphinx_train.cfg
bin/wave2feat \
-verbose yes \
-c etc\an4_test.fileids \
-nist yes \
-di wav \
-ei sph \
-do C:/_alex/tutorial/an4/feat \
-eo mfc
[Switch][Default][Value]
-help no no
-example no no
-i
-o
-c etc\an4_test.fileids
-nskip
-runlen
-di wav
-ei sph
-do C:/_alex/tutorial/an4/feat
-eo mfc
-nist no yes
-raw no no
-mswav no no
-input_endian little little
-nchans 1 1
-whichchan 1 1
-logspec no no
-feat sphinx sphinx
-mach_endian little little
-alpha 0.97 9.700000e-001
-srate 16000.0 1.600000e+004
-frate 100 100
-wlen 0.025625 2.562500e-002
-nfft 512 512
-nfilt 40 40
-lowerf 133.33334 1.333333e+002
-upperf 6855.4976 6.855498e+003
-ncep 13 13
-doublebw no no
-warp_type inverse_linear inverse_linear
-warp_params
-blocksize 200000 200000
-dither no no
-seed -1 -1
-verbose no yes
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(752): Curr
ent FE Parameters:
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(753):
Sampling Rate: 16000.000000
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(754):
Frame Size: 410
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(755):
Frame Shift: 160
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(756):
FFT Size: 512
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(757):
Lower Frequency: 133.333
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(758):
Upper Frequency: 6855.5
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(759):
Number of filters: 40
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(760):
Number of Overflow Samps: 0
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(761):
Start Utt Status: 0
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(766): Will
not add dither to audio
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(771): Will
not use double bandwidth in mel filter
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\wave2feat.c(139): wav/a
n4test_clstk/fcaw/an406-fcaw-b.sph
ERROR: "_alex\tutorial\SphinxTrain\src\programs\wave2feat\wave2feat.c", line 80
6: Unable to open C:/_alex/tutorial/an4/feat/an4test_clstk/fcaw/an406-fcaw-b.mfc
for writing features
FATAL_ERROR: "_alex\tutorial\SphinxTrain\src\programs\wave2feat\wave2feat.c", l
ine 90: error converting files...exiting
<<<
Again, a file "an406-fcaw-b.mfc" does not exist, nowhere in the whole tutorial directory...
Any ideas? Thanks a lot in advance for any help!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
?
Well, the setup_tutorial.pl in the SphinxTrain folder was - according to the tutorial - executed several steps before that already, after compiling the trainer...
Again the original cite from the tutorial:
<cite>
cd sphinx4
If you installed AN4
perl scripts/setup_tutorial.pl an4
</cite>
And then the file is simply not there. And there is nothing I could do wrong here (I suppose). Strange tutorial... :-)
Thanks for your comment, anyway.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I thought the "under construction" warning would be enough to suggest the sphinx-4 part in the tutorial shouldn't be used. My mistake for not being clear enough. I changed it to a paragraph stating the instructions are forthcoming. Sphinx4, as is, doesn't have the support files to be used by this tutorial, even though the intention is to create them.
Regarding the problem of mfc not found, this is in fact caused by the directory, not the file, not existing. The setup scripts for the other decoders (sphinx2, sphinx3, s3flat) would have created the missing directory structure.
--Evandro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, thanks, I see... Of course I saw the "under construction" statement. But I think it would be great to state that Sphinx4 is not an option yet, already in the Introduction of the tutorial.
Because in fact it is never (!) said that you can't really choose it...
So long...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
Yesterday I found the "Robust Group Tutorial" (http://www.speech.cs.cmu.edu/sphinx/tutorial.html) and this seems quite nice. But unfortunately it doesn't work for me - either I'm pretty stupid or there are missing files on my machine...?
(I wanted to use SphinxTrain and Sphinx4)
1)
Section: Setting up Sphinx4, "Tutorial Setup":
>>>
Section under construction
...
perl scripts/setup_tutorial.pl an4
...
End of section under construction
<<<
There simply is no "setup_tutorial.pl" in the whole sphinx4 folder.
2) And further down (if I go on disregarding the first problem), section: "How to perform a preliminary decode", first command:
>>>
perl scripts_pl/make_feats.pl -ctl etc/an4_test.fileids
<<<
I get this output:
>>>
C:_alex\tutorial\an4>perl scripts_pl\make_feats.pl -ctl etc\an4_test.fileids
-cfg not specified, using the default ./etc/sphinx_train.cfg
bin/wave2feat \ -verbose yes \ -c etc\an4_test.fileids \ -nist yes \ -di wav \ -ei sph \ -do C:/_alex/tutorial/an4/feat \ -eo mfc
[Switch] [Default] [Value]
-help no no
-example no no
-i
-o
-c etc\an4_test.fileids
-nskip
-runlen
-di wav
-ei sph
-do C:/_alex/tutorial/an4/feat
-eo mfc
-nist no yes
-raw no no
-mswav no no
-input_endian little little
-nchans 1 1
-whichchan 1 1
-logspec no no
-feat sphinx sphinx
-mach_endian little little
-alpha 0.97 9.700000e-001
-srate 16000.0 1.600000e+004
-frate 100 100
-wlen 0.025625 2.562500e-002
-nfft 512 512
-nfilt 40 40
-lowerf 133.33334 1.333333e+002
-upperf 6855.4976 6.855498e+003
-ncep 13 13
-doublebw no no
-warp_type inverse_linear inverse_linear
-warp_params
-blocksize 200000 200000
-dither no no
-seed -1 -1
-verbose no yes
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(752): Curr
ent FE Parameters:
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(753):
Sampling Rate: 16000.000000
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(754):
Frame Size: 410
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(755):
Frame Shift: 160
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(756):
FFT Size: 512
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(757):
Lower Frequency: 133.333
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(758):
Upper Frequency: 6855.5
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(759):
Number of filters: 40
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(760):
Number of Overflow Samps: 0
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(761):
Start Utt Status: 0
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(766): Will
not add dither to audio
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\fe_sigproc.c(771): Will
not use double bandwidth in mel filter
INFO: _alex\tutorial\SphinxTrain\src\programs\wave2feat\wave2feat.c(139): wav/a
n4test_clstk/fcaw/an406-fcaw-b.sph
ERROR: "_alex\tutorial\SphinxTrain\src\programs\wave2feat\wave2feat.c", line 80
6: Unable to open C:/_alex/tutorial/an4/feat/an4test_clstk/fcaw/an406-fcaw-b.mfc
for writing features
FATAL_ERROR: "_alex\tutorial\SphinxTrain\src\programs\wave2feat\wave2feat.c", l
ine 90: error converting files...exiting
<<<
Again, a file "an406-fcaw-b.mfc" does not exist, nowhere in the whole tutorial directory...
Any ideas? Thanks a lot in advance for any help!
About setup_tutorial.pl: It is in SphinxTrain. -a
?
Well, the setup_tutorial.pl in the SphinxTrain folder was - according to the tutorial - executed several steps before that already, after compiling the trainer...
Again the original cite from the tutorial:
<cite>
cd sphinx4
If you installed AN4
perl scripts/setup_tutorial.pl an4
</cite>
And then the file is simply not there. And there is nothing I could do wrong here (I suppose). Strange tutorial... :-)
Thanks for your comment, anyway.
This is a valid comment. I will forward this mail to the maintainer of the tutorial.
-a
Hi,
I thought the "under construction" warning would be enough to suggest the sphinx-4 part in the tutorial shouldn't be used. My mistake for not being clear enough. I changed it to a paragraph stating the instructions are forthcoming. Sphinx4, as is, doesn't have the support files to be used by this tutorial, even though the intention is to create them.
Regarding the problem of mfc not found, this is in fact caused by the directory, not the file, not existing. The setup scripts for the other decoders (sphinx2, sphinx3, s3flat) would have created the missing directory structure.
--Evandro
Hi,
OK, thanks, I see... Of course I saw the "under construction" statement. But I think it would be great to state that Sphinx4 is not an option yet, already in the Introduction of the tutorial.
Because in fact it is never (!) said that you can't really choose it...
So long...