Stage 1 · CharsiuG2P byT5 (Neural G2P)
Not runPrimary IPA (<eng-us>)
UK comparison (<eng-uk>)
use case · multi-model · CharsiuG2P byT5 (~84 MB) → KittenTTS Nano 0.8 (~27.6 MB) · WASM · ~111.6 MB total
Grapheme-to-phoneme is the front-end brain of every text-to-speech engine. Here two independent
on-device models run in isolated Web Workers: Stage 1 (CharsiuG2P byT5, ~84 MB) predicts
neural IPA transcriptions word-by-word (comparing <eng-us> vs
<eng-uk> or foreign accents), then Stage 2 (KittenTTS Nano 0.8, ~27.6 MB)
— reusing models/kitten-tts-nano-0-8/worker.js with zero weight duplication — synthesizes
real 24 kHz spoken audio while exposing its own rule-based eSpeak-NG IPA so you can compare
neural G2P vs rule-based TTS phonemization side-by-side and listen live.
100-language neural G2P (Santyyy/g2p_multilingual_byT5_tiny_16_layers_100-onnx,
WASM fp32, MIT).
15M-parameter 8-voice StyleTTS 2 neural TTS
(KittenML/kitten-tts-nano-0.8-int8, WASM int8, Apache-2.0) reusing
models/kitten-tts-nano-0-8/worker.js.
Prepare both models above (or load either stage independently to inspect IPA or audio on its own).
Primary IPA (<eng-us>)
UK comparison (<eng-uk>)
KittenTTS internal eSpeak-NG en-us IPA
Note: KittenTTS Nano 0.8 is an English (en-us) acoustic model; when Stage 1 inspects
eng-uk or foreign loanwords, Stage 2 demonstrates how an English TTS renders the text.
| Preset | Lang | CharsiuG2P IPA | eSpeak-NG IPA | Agreement | Audio / RTF |
|---|---|---|---|---|---|
| Run the 2-stage pipeline (or click “Run all 5 presets”) to build the comparison table. | |||||