You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ziping Liu edited this page Jul 14, 2018
·
6 revisions
Pocketsphinx uses SWIG to generate python library.
Provide --with-swig-python command-line at configuration step to enable SWIG bindings.
See swig/python/test for usage examples. Below there is a shell script that shows how to properly setup PYTHONPATH variable to run examples right from the source tree. Run the script from within the swig/python/test directory.
After you install pocketsphinx with either make install or a package management system it should be sufficient to import the corresponding packages, no PYTHONPATH manipualations will be required: