/usr/local/share
sind bei Manjaro / Arch-Linux - und ggf. auch bei anderen Linux-Distributionen - anders! Hier muss folgender Pfad gewählt werden: /usr/share/pocketsphinx/
mycroft-config edit user
. Dies öffnet die Config-Datei in einem Editor.mycroft-pip install --upgrade gtts
oder mycroft-pip install --upgrade gtts-token
.wget http://steinerdatenbank.de/software/mbrola3.0.1h_armhf.deb
und sudo dpkg -i mbrola3.0.1h_armhf.deb
ausführen. Dann espeak und mbrola via sudo apt install espeak espeak-data mbrola mbrola-de7
installieren.Hey Mycroft
und nutzt Precise und - falls Precise es nicht erkennt - Pocketsphinx.sphinxtrain
.pocketsphinx
-Dateien:sudo mkdir -p /usr/local/share/pocketsphinx/model/de/de
/usr/share/pocketsphinx
wget https://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/German/cmusphinx-voxforge-de.dic/download -O cmusphinx-voxforge-de.dic
sudo mv cmusphinx-voxforge-de.dic /usr/local/share/pocketsphinx/model/de/de.dict
wget https://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/German/cmusphinx-de-ptm-voxforge-5.2.tar.gz/download -O cmusphinx-de-ptm-voxforge-5.2.tar.gz
tar -xf cmusphinx-de-ptm-voxforge-5.2.tar.gz
wget https://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/German/cmusphinx-voxforge-de.lm.gz/download -O cmusphinx-voxforge-de.lm.gz
gzip -d cmusphinx-voxforge-de.lm.gz
sudo mv cmusphinx-voxforge-de.lm /usr/local/share/pocketsphinx/model/de/de.lm
/usr/share/pocketsphinx/
mycroft-core
für Linux, navigiere zu~/mycroft-core/mycroft/client/speech/recognizer/model
en-us
für American Englishpocketsphinx
Verzeichnis.HINWEIS: Dercp
-Befehl könnte durchln
-Befehl ersetzt werden um Speicherplatz zu sparen. Es ist jedoch möglich, Wörter zude.dict
hinzuzufügen;cp
bedeutet, dass die Originaldatei unverändert bleibt und mit einer Kopie gearbeitet wird.
ln
gearbeitet wird, müssen die folgenden Verzeichnisse, Dateien und symbolische Verknüpft werden:cmusphinx-voxforge-de.dic
-Datei des Sprachmodells enthalten ist. Die Erfahrung zeigt, dass die beste Wahl ein einzelnes Wort mit drei oder mehr Phonemen ist.egrep '^hallo ' de.dict
hallo HH AE L AX UU
de.dict
Datei ist, dann wählen Sie entweder ein anderes Wake Word oder ändern Sie die de.dict
Datei, um es hinzuzufügen.mycroft-config edit user
mit folgendem Inhalt.cd release_v0.9.0
source ~/mycroft-core/.venv/bin/activate
.pip install deepspeech==0.9.0
oder pip install deepspeech-gpu==0.9.0
.sudo apt-get install gfortran libopenblas-dev liblapack-dev
pip install deepspeech-server
.config.json
.deepspeech-server --config config.json
arecord -f S16_LE -r 16000 test.wav
.curl -X POST --data-binary @test.wav http://localhost:8080/stt
test ein zwei drei test(.venv) [email protected]:~/release_v0.9.0$
lauten./etc/rc.local
.mycroft-config edit user
mit folgendem Inhalt.