jeff1evesque / LeQue

Activate installed microphone, and analyze sound input
13 stars 2 forks source link

Documentation: Extract Sphinx Libraries #398

Closed jeff1evesque closed 9 years ago

jeff1evesque commented 9 years ago

We will need to add the following to the Sphinx subsection.

Download / Extract: Acoustic Model

$ cd /var/www/html/audio-analyzer
$ wget http://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/US%20English%20Generic%20Acoustic%20Model/en-us.tar.gz/download -O en-us.tar.gz
$ sudo tar -zxvf en-us.tar.gz -C /usr/local/share/pocketsphinx/model/hmm/
$ sudo rm en-us.tar.gz

Download / Extract: Language Model

$ cd /var/www/html/audio-analyzer
$ wget http://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/US%20English%20Generic%20Language%20Model/cmusphinx-5.0-en-us.lm.dmp/download -O cmusphinx-5.0-en-us.lm.dmp
$ sudo mv cmusphinx-5.0-en-us.lm.dmp /usr/local/share/pocketsphinx/model/lm/