SoFunction
Updated on 2025-03-03

Python uses phonemizer to obtain English text sentence phoneme

1. Select the language "en-gb" to execute the log as follows:

2. Use phonemizer to obtain English text sentence phonemes.

3. Install the phonemizer library.

4. Select the language "en-us" to execute the log as follows:

5. The specific code is implemented as follows: