-
Notifications
You must be signed in to change notification settings - Fork 175
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
How to disable WARNIGs? #154
Comments
Just add the parameter |
@mmmaat That didn't work. Here is my code:
Warnings persist. If I add the parameter TypeError: phonemize() got an unexpected keyword argument 'logger' |
I don't understand. I have
Then in IPython interpreter (The sentence in French means 'I like football' with a language switch on the word 'football'):
Can you reproduce that? What version of phonemizer do you use? |
I have the same versions as you do. I can also reproduce what you got. Looks like it is the following line in my code that overrides the logger setting in the phonemizer:
Tried to set level=logging.ERROR but it didn't work. |
Hi,
I've set language_switch='remove-flags' and words_mismatch='ignore'. However, I still got warnings like below:
How can I disable warnings in my Python code?
The text was updated successfully, but these errors were encountered: