cmusphinx / pocketsphinx

A small speech recognizer
Other
3.93k stars 717 forks source link

pocketsphinx.pocketsphinx expected to exist, but doesn't #294

Closed dhdaines closed 2 years ago

dhdaines commented 2 years ago

The old SWIG bindings created the wrapper module as pocketsphinx.pocketsphinx, wherease the new Cython ones create it as pocketsphinx._pocketsphinx. Some code, notably https://github.com/Uberi/speech_recognition, expects this module to exist.

Unfortunately due to the intricacies of scikit-build and CMake, it doesn't seem possible to create the wrapper module as pocketsphinx.pocketsphinx, but the problem can easily be fixed by just creating this as a reference to the actual module, which I have done in 20360136f96b04a8ea18f0da41450275a0a1c33b

Making an issue for this just to pre-empt any other bug reports!

dhdaines commented 2 years ago

Closed with upload to PyPI, etc