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

cannot generate pronunciation error in kag 3.1.0 #67

Open
m-spisiak opened this issue Jan 24, 2022 · 4 comments
Open

cannot generate pronunciation error in kag 3.1.0 #67

m-spisiak opened this issue Jan 24, 2022 · 4 comments

Comments

@m-spisiak
Copy link

Hi,

I ran into an issue after downloading the new models, date 20211030, they seem to be no longer able to generate pronunciation for unknown words. Error message as follows:
kaldi_active_grammar.KaldiError: cannot generate word pronunciation: no generators available

is this on purpose, or am I missing something? Can it be remedied somehow?

Thanks a lot for a reply!

@m-spisiak m-spisiak changed the title models from v3.1.0 release cannot generate pronounciation cannot generate pronounciation error Jan 24, 2022
@m-spisiak
Copy link
Author

I just found out that it is not caused by the new models, but by something else in my newly checked out repository. I have my own repo with kaldi-active-grammar and dragonfly2[kaldi] as dependecies.
I will dig deeper tomorrow.

@m-spisiak
Copy link
Author

I found out that the problem appears with kag v 3.1.0 and dragonfly2 0.34.0
when reverting back to kag 2.1.0 and dragonfly2 0.33.0 the error disappears

any ideas?

@m-spisiak m-spisiak changed the title cannot generate pronounciation error cannot generate pronunciation error in kag 3.1.0 Jan 25, 2022
@LexiconCode
Copy link

LexiconCode commented Jan 25, 2022

Make sure g2p_en is installed pip install g2p-en==2.0.0 for offline generate pronunciation.

@Timoses
Copy link

Timoses commented Jun 19, 2023

Duplicate of #62

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

No branches or pull requests

3 participants