python - Create modules for Linux install of PocketSphinx? -


i trying python 3.4 working pocketsphinx on linux (ubuntu 14.04 os) machine. yesterday, installed both sphinxbase-5prealpha , pocketsphinx-5prealpha. confirmed install running pocketsphinx_continuous -inmic yes

i'm trying move on python api can't find python modules (sphinxbase , pocketsphinx) anywhere in directories. searched web can find references installing/creating pocketsphinx file relates windows install.

how create modules sphinxbase , pocketsphinx in linux installation? , should live in relation ../mysphinxdirectory?

you can install python modules pocketsphinx , sphinxbase through pip.

just run:

sudo pip install pocketsphinx 

the sphinxbase module requirement of pocketsphinx installed automatically when install pocketsphinx package.

then in python program, should able import modules them using:

from pocketsphinx.pocketsphinx import ... sphinxbase.sphinxbase import ... 

the pocketsphinx repository includes an example can test with if not have one.


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -