aidygus / LinVAM

Linux Voice Activated Macro
GNU General Public License v3.0
58 stars 6 forks source link

Fix pocketsphinx import. Update deprecated Decoder config #14

Open smirgol opened 1 year ago

smirgol commented 1 year ago

The newer pocketsphinx version throws two errors: One with the library imports and another one with the decoder configuration, which has changed. I've updated these with this patch. If someone is using an old version of pocketsphinx, it will be a breaking change. Upgrading the pocketspinx package to the latest version should then fix that: pip install pocketsphinx --upgrade