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

Phonetisaurus Fix #411

Merged

Conversation

aaronchantrill
Copy link
Contributor

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

  • 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:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Import sphinxvocab and PhonetisaurusG2P modules after installing
phonetisaurus with pip. Add locale to default pocketsphinx hmm_dir.
@aaronchantrill aaronchantrill self-assigned this Jun 26, 2024
@aaronchantrill aaronchantrill linked an issue Jun 26, 2024 that may be closed by this pull request
@aaronchantrill aaronchantrill merged commit 34b14c1 into NaomiProject:naomi-dev Jun 28, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

name 'PhonetisaurusG2P' is not defined
1 participant