Text-to-Speech
English

Kokoro is skipping names

#91
by CoolIce537 - opened

I don't know if it's intentional, but when I am feeding words which are not present in dictionary, like names, it's skipping them
Is there a option that I have to turn on?

You need to have espeak-ng installed to have OOD fallback enabled and make sure the espeak-ng library is being detected. Otherwise a Warning will be printed when a KPipeline is constructed:

⚠️ WARNING: EspeakFallback not enabled. OOD words will be skipped.

https://github.com/hexgrad/kokoro/blob/a09db51873211d76a3e49b058b18873a4e002b81/kokoro/pipeline.py#L64

espeak-ng is a library used for g2p, it is a few MB in size.

On Linux you do apt-get install espeak-ng. On Mac this is brew install espeak-ng. For Windows or troubleshooting, see #12 and https://github.com/bootphon/phonemizer/issues/44#issuecomment-1540885186

Sign up or log in to comment