Support for custom phoneme set and G2P for NeMo/Riva FastPitch (TTS)

The phoneme set and G2P model (g2p_en) is currently hardcoded in NeMo (line 252 in NeMo/vocabs.py at main · NVIDIA/NeMo · GitHub).

Is it possible to add support for custom phonemes and G2P which is required for different languages (eg. interface to supply a new phoneme set and to train a new G2P model)?

Hi @yiren.leng ,

Thanks for your interest in Riva,

Apologies for the delay,

I will take forward this query/support further to the team and will provide some updates soon