martinrue / eopl

Transcribes Esperanto sentences to phonetic Polish for use in TTS engines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eopl

eopl transcribes Esperanto sentences to phonetic Polish.

Purpose

Commercial TTS engines tend not to support minority languages, particularly constructed languages such as Esperanto. It turns out Esperanto shares lots of sounds with Polish. By transcribing Esperanto to Polish, we can make commercial TTS engines give us a good approximation for spoken Esperanto.

Usage

npm install https://github.com/martinrue/eopl/tarball/master

Usage

var eopl = require('eopl');
console.log(eopl.transcribe('Ĉu vi ŝatas Esperanton? Esperanto estas facila lingvo.'));
// Czu wi szatas Esperanton? Esperanto estas facyla lijngwo.

Playing the output using a commercial TTS engine (such as Acapela) in a Polish voice produces a reasonable pronunciation of the original Esperanto sentence.

Engine Differences

The particular word and fragment overrides in this project are aimed at the Acapela engine. As each TTS engine is subtly different, you may need to play with the arrangements if you want to use a different engine.

About

Transcribes Esperanto sentences to phonetic Polish for use in TTS engines


Languages

Language:JavaScript 100.0%