beshkenadze/kokoro-ipa-lexicons
1319
IPA Lexicon — {language}
IPA pronunciation lexicon with stress marks, formatted for use with Kokoro TTS and other espeak-ng-trained speech synthesis models.
Format
Tab-separated values (TSV): word\tphonemes
Phonemes are space-separated IPA symbols with primary (ˈ) and secondary (ˌ) stress marks.
hola ˈo l a
prueba p ɾ u ˈe β a
español ˌe s p a ɲ ˈo lUsage
For Kokoro TTS, join phonemes by removing spaces. Move stress marks before syllable onsets for best results.
Source & Attribution
This lexicon was extracted from [gruut](https://github.com/rhasspy/gruut) by Michael Hansen (rhasspy), licensed under the MIT License.
Specifically, data comes from the espeak/lexicon.db files in the gruut-lang-* packages (v2.0.x). These contain IPA transcriptions with stress marks generated via espeak-ng.
Licensing Note
- gruut (framework): MIT License
- gruut-lang-\* (data packages): Published under the gruut project (MIT), but the
espeak/subdirectory contains phonemizations generated by espeak-ng (GPL v3). The legal status of bulk phonemization output from a GPL tool is debated — it may or may not constitute a derivative work depending on jurisdiction. - This redistribution: Provided as-is under the same terms as the gruut project. Users should evaluate GPL compliance for their own use case.
Languages Available
Conversion
Extracted with:
pip download gruut-lang-{code} --no-deps
tar xzf gruut_lang_{code}-*.tar.gz
sqlite3 espeak/lexicon.db -separator $'\t' \
"SELECT word, phonemes FROM word_phonemes ORDER BY word" > {code}_lexicon.tsv