This change showed up because of the x86_64 docker image, where it is more difficult to just restart Naomi.py with the --repopulate flag.
How Has This Been Tested?
$ flake8 --config=.flake8 plugins/stt/pocketsphinx-stt/sphinxplugin.py
$ python -m unittest discover
I also updated the Naomi folder in the docker image with this branch and it worked.
Screenshots (if appropriate):
Types of changes
[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[X] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
Import sphinxvocab and PhonetisaurusG2P modules after installing phonetisaurus with pip. Add locale to default pocketsphinx hmm_dir.
Related Issue
name 'PhonetisaurusG2P' is not defined #410
Motivation and Context
This change showed up because of the x86_64 docker image, where it is more difficult to just restart Naomi.py with the --repopulate flag.
How Has This Been Tested?
$ flake8 --config=.flake8 plugins/stt/pocketsphinx-stt/sphinxplugin.py $ python -m unittest discover I also updated the Naomi folder in the docker image with this branch and it worked.
Screenshots (if appropriate):
Types of changes
Checklist: