Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rewrite locale strings to IETF standard and check for model existence #526

Conversation

norbusan
Copy link
Member

Fixes #525

The strings used by PocketShpinx to identfy languages are IETF standard (ll-CC) while we save the locale string in susi config. This PR does:

  • checks for the available language models in the installation directory of pocketsphinx
  • rewrites current languages to either a supported one or English

This is the same behavior as before, where English was hard-coded.

@norbusan norbusan requested a review from hongquan September 21, 2019 04:01
@norbusan
Copy link
Member Author

@Orbiter well found that one - it is anyway out of date now since there is no state machine anymore ;-) The new code has already the changes. I close this.

@norbusan norbusan closed this Jan 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SUSI crashing due to PocketSphinx in offline mode
2 participants