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

implemented phonemizer cache #199

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gerelef
Copy link

@gerelef gerelef commented Jan 24, 2025

... heavily based on work from Dave1475 issue #198

@gerelef
Copy link
Author

gerelef commented Jan 24, 2025

After some testing, this solved the problems I had, referenced in the issue.

An alternative solution would be to fully uninitialize any resources used. However, the current solution should be considerably faster than the alternative.

@thewh1teagle
Copy link

I'm surprised that it works really slow now. I just discovered that it initiate espeak-ng every call to phonemize()!

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.

2 participants