Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upPocketsphinx: Fallback to english model if language specific model doesn't exist #2563
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


When using a pocketsphinx wakeword mycroft tries to load a language specific model. If the model doesn't exist the load fails. (report on the forums)
This should be handled by using a fallback mechanism, so if no language specific model exists it should log a warning and fallback to using the english model that is included in mycroft-core.
At L105 in hotword_factory.py a line to set the model to the default en-us should be added.
The code will look something like