Contextual grapheme-to-phoneme for English (US), trained with grafon on top of jhu-clsp/ettin-encoder-150m.
from grafon import Phonemizer
phonemize = Phonemizer.from_pretrained("grafon-g2p/en")
print(phonemize('She will read the book tomorrow; he read it yesterday.'))
Phonemes: abdefhijklmnopstuvwzæðŋɐɑɔəɚɛɜɡɪɹɾʃʊʌʒʔˈˌː̩θᵻ. Anything outside the letters abcdefghijklmnopqrstuvwxyzàáâäåçèéêëìíîïñòóôöùúûü'’ passes through as written.
Have the files? Publish a torrent.
Publish a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo grafon-g2p/en ./model-folder