tips:speech:simon

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tips:speech:simon [2017/03/06 10:06] – [install] scipiotips:speech:simon [2017/03/14 20:59] (current) – [compile] scipio
Line 9: Line 9:
   * PocketSphinx recognizer   * PocketSphinx recognizer
   * SphinxTrain model generation backend   * SphinxTrain model generation backend
 +
 +models:
 +  * US English HUB4 WSJ SPHINX model. This model is part of pocketsphinx-extra where it is called \"hub4_wsj_sc_3s_8k.cd_semi_5000\".
 +===== install sphinx =====
 +
 +prereq
 +<code bash>
 +sudo apt install bison gradle openjdk-8-jdk
 +</code>
 +
 +build from sources http://cmusphinx.sourceforge.net/wiki/download, not use ubuntu packages
 +
 +
 +
 +
 ===== install ===== ===== install =====
 +
 +
 +
  
 <code bash> <code bash>
Line 22: Line 40:
 </file> </file>
  
 +===== compile =====
 +
 +https://phabricator.kde.org/source/simon/
 +
 +<code bash>
 +sudo apt-get build-dep simon
 +
 +git clone git://anongit.kde.org/simon
 +cd simon
 +export QT_VERSION=qt4
 +rm -fR build
 +./build_ubuntu.sh
 +</code>
  
  
 ==== model ==== ==== model ====
 +
 +=== adapting ===
 +
 +http://cmusphinx.sourceforge.net/wiki/tutorialadapt
 +
 +<code bash>
 +sudo apt install pocketsphinx-en-us/xenial
 +
 +</code>
 +
 +<code bash>
 +mkdir /tmp/model
 +cd /tmp/model
 +cp -a /usr/share/pocketsphinx/model/en-us/en-us .
 +cp /usr/share/pocketsphinx/model/en-us/cmudict-en-us.dict .
 +cp /usr/share/pocketsphinx/model/en-us/en-us.lm.bin .
 +</code>
 +
 +
 +
 +
 +=== training ===
 +
 +
 +training from http://cmusphinx.sourceforge.net/wiki/tutorialamdown
 +
 +* download [[model|http://www.speech.cs.cmu.edu/databases/an4/an4_sphere.tar.gz]]
 +* enter and sphinxtrain -t an4 setup
 +
 +
 +
 +
 +==== old ====
  
 For small amount of data for training without context-dependent models use continuous model instead of semi-continuous one and this error will be solved. For small amount of data for training without context-dependent models use continuous model instead of semi-continuous one and this error will be solved.
  • tips/speech/simon.1488791215.txt.gz
  • Last modified: 2017/03/06 10:06
  • by scipio