g2p

fun g2p(text: String, g2pType: Int = AILIA_VOICE_G2P_TYPE_GPT_SOVITS_JA): String

Converts graphemes to phonemes (G2P).

Return

Feature string of the phonemes.

Parameters

text

Input string.

g2pType

Type of the G2P, one of the AILIA_VOICE_G2P_TYPE_* constants.