speech model basically consists of two parts:
SPHINX backend“ uses:
models:
prereq
sudo apt install bison gradle openjdk-8-jdk
build from sources http://cmusphinx.sourceforge.net/wiki/download, not use ubuntu packages
sudo apt install simon sudo apt install libsphinxbase3 python-sphinxbase sphinxbase-utils pocketsphinx sphinxtrain
edit
$CFG_CD_TRAIN = 'no';
https://phabricator.kde.org/source/simon/
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
http://cmusphinx.sourceforge.net/wiki/tutorialadapt
sudo apt install pocketsphinx-en-us/xenial
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 .
training from http://cmusphinx.sourceforge.net/wiki/tutorialamdown
* download http://www.speech.cs.cmu.edu/databases/an4/an4_sphere.tar.gz * enter and sphinxtrain -t an4 setup
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.
This warning is caused by the fact you disabled context-dependent training and used semi-continuous model. You can ignore this error until you have more data and use context-dependent training.
training
mkdir /tmp/test cd /tmp/test sphinxtrain -t test setup
now we have
. └── etc │ ├── feat.params │ ├── sphinx_train.cfg │ ├── test.dic │ └── test.filler
adjust sphinx_train.cfg TODO