phonemizer

Its documentation is at https://bootphon.github.io/phonemizer/.

See https://bootphon.github.io/phonemizer/install.html for installation.

On macOS, it is:

brew install espeak
pip install phonemizer
DUMMY1/LJ049-0022.wav|The Secret Service believed

# cleaned
(py38) fangjuns-MacBook-Pro:~ fangjun$ echo "The Secret Service believed" | phonemize