Difference between revisions of "Using Sphinx ASR"

From Robert-Depot
Jump to: navigation, search
(analyzing in ubuntu)
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
=analyzing in ubuntu=
 
=analyzing in ubuntu=
*analyzing output of voiceID program.
+
*generating output from VoiceID program (prompting for unknown speakers)  
*generating output from VoiceID program (prompting for unknown speakers) <pre>
+
<pre>vid -u -k -i robertrauschenberg1.mov</pre>
vid -u -k -i robertrauschenberg1.mov</pre>
+
*analyzing output of voiceID program with pocketsphinx
*<pre>pocketsphinx_continuous -infile S0.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>
+
<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
 +
<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

working with subtitles