This repo shows how to use automatic-phonemic-and-phonetic-transcription with pynini
Install pynini
conda install -c conda-forge pynini
Run
python khmer_rewriter.py
# Install on macOS
brew install thrax
# Compile .grm file to get .far
./compile.sh