Difference between revisions of "Using Sphinx ASR"
From Robert-Depot
(→analyzing in ubuntu) |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 8: | Line 8: | ||
<pre>vid -u -k -i robertrauschenberg1.mov</pre> | <pre>vid -u -k -i robertrauschenberg1.mov</pre> | ||
*analyzing output of voiceID program with pocketsphinx | *analyzing output of voiceID program with pocketsphinx | ||
| − | <pre>pocketsphinx_continuous -infile | + | <pre>pocketsphinx_continuous -infile rauschenberg1.wav -hmm /usr/local/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/ -lm /usr/local/share/pocketsphinx/model/lm/en_US/hub4.5000.DMP -dict /usr/local/share/pocketsphinx/model/lm/en_US/hub4.5000.dic</pre> |
*generte word timings | *generte word timings | ||
<pre>pocketsphinx_continuous -infile rauschenberg1.wav -hmm /usr/local/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/ -lm /usr/local/share/pocketsphinx/model/lm/en_US/hub4.5000.DMP -dict /usr/local/share/pocketsphinx/model/lm/en_US/hub4.5000.dic -time yes</pre> | <pre>pocketsphinx_continuous -infile rauschenberg1.wav -hmm /usr/local/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/ -lm /usr/local/share/pocketsphinx/model/lm/en_US/hub4.5000.DMP -dict /usr/local/share/pocketsphinx/model/lm/en_US/hub4.5000.dic -time yes</pre> | ||
| + | |||
| + | =working with subtitles= | ||
| + | *https://pypi.python.org/pypi/pysrt | ||
Latest revision as of 07:48, 8 October 2013
Course
http://www.ece.ucsb.edu/Faculty/Rabiner/ece259/speech%20recognition%20course.html
http://www.ece.ucsb.edu/Faculty/Rabiner/ece259/speech%20course.html
analyzing in ubuntu
- generating output from VoiceID program (prompting for unknown speakers)
vid -u -k -i robertrauschenberg1.mov
- analyzing output of voiceID program with pocketsphinx
pocketsphinx_continuous -infile rauschenberg1.wav -hmm /usr/local/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/ -lm /usr/local/share/pocketsphinx/model/lm/en_US/hub4.5000.DMP -dict /usr/local/share/pocketsphinx/model/lm/en_US/hub4.5000.dic
- generte word timings
pocketsphinx_continuous -infile rauschenberg1.wav -hmm /usr/local/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/ -lm /usr/local/share/pocketsphinx/model/lm/en_US/hub4.5000.DMP -dict /usr/local/share/pocketsphinx/model/lm/en_US/hub4.5000.dic -time yes