Ryanjelly/gua-hang-taigi-tts
a lightweight Taiwanese Hokkien speech synthesis model
2 min readupdated
This model converts Taiwanese Hokkien (Taigi) text into natural-sounding speech. Built on a Matcha-TTS style architecture (18.3M parameters) with a Vocos vocoder, it was trained from scratch on studio recordings from a single speaker. A key feature is complete autonomy: the model runs on a standard CPU about 14 times faster than real time, while a frontend module automatically converts characters and numbers into Tâi-lô phonetic notation. The project is useful for linguists, voice assistant developers, and regional language researchers.
Key features
- Fast CPU performance: requires no powerful graphics card and runs on standard hardware.
- Single-speaker training: based on clean studio speaker recordings from the Suí-siann dataset.
- Tone sandhi rules: supports running speech tone change modes (
learnedandrules). - Built-in frontend: automatic reading of characters, dates, times, and monetary amounts.
What you can do
- Speech synthesis: generate audio tracks with Taiwanese speech from input character text.
- Script integration: embed the model into local Python applications for batch voiceovers.
- Educational projects: use it to create learning materials and voice over dictionaries.
- Tone testing: compare sound in different tone sandhi processing modes.
Example
from gua_hang_tts import GuaHangTTS, write_wav
tts = GuaHangTTS()
wav, sr = tts.say("歹勢,我毋知影。")
write_wav("out.wav", wav, sr)Read more
DetailsBenchmarks: character error rate (CER) on everyday sentences ranges from 5.9% to 8.8%.
Requirements: runs on a CPU; the first launch unpacks the dictionary in 10 seconds.
Limitations: lowercase English words are skipped, and complex number processing has nuances.
License: CC BY-SA 4.0 (weights and samples).










Comments