You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When first running Naomi with a new configuration on a x86_64 system, the pip install phonetisaurus command works, but fails to re-attempt to load the sphinxvocab and PhonetisaurusG2P. This leads to a situation where the default value for hmm_dir is used, but this value is wrong because the locale gets left of the end of it. Since the path exists, Naomi tries to load the cmudict.dict file from that location, but it doesn't exist, which causes the pocketsphinx plugin to fail to load moving forward.
Expected Behavior
sphinxvocab and PhonetisaurusG2P should load correctly, since all the requirements are in place. If the default path is used, it should point to the correct location.
Possible Fix
Two things. First, re-import the sphinxvocab and PhonetisaurusG2P modules after the pip install phonetisaurus command succeeds, second use the correct default for hmm_dir.
Steps to Reproduce
Install Naomi on an x86_64 system
During configuration, it dies with the message "name 'PhonetisaurusG2P' is not defined
Restart without --repopulate
Naomi crashes with message "/config/pocketsphinx/standard/cmudict.dict: File does not exist"
The text was updated successfully, but these errors were encountered:
Description
When first running Naomi with a new configuration on a x86_64 system, the
pip install phonetisaurus
command works, but fails to re-attempt to load the sphinxvocab and PhonetisaurusG2P. This leads to a situation where the default value for hmm_dir is used, but this value is wrong because the locale gets left of the end of it. Since the path exists, Naomi tries to load the cmudict.dict file from that location, but it doesn't exist, which causes the pocketsphinx plugin to fail to load moving forward.Expected Behavior
sphinxvocab and PhonetisaurusG2P should load correctly, since all the requirements are in place. If the default path is used, it should point to the correct location.
Possible Fix
Two things. First, re-import the sphinxvocab and PhonetisaurusG2P modules after the
pip install phonetisaurus
command succeeds, second use the correct default for hmm_dir.Steps to Reproduce
The text was updated successfully, but these errors were encountered: