these are the original 1998 Perl scripts for creating text-to-phoneme corpora, creating their ID3 decision tree counterparts, and testing them.
this code would eventually become the backbone of the Festival TTS letter to sound system.
Example of the LTS build scheme code within Festival: festival/lib/lts_build.scm at master · festvox/festival · GitHub
these scripts still work on modern systems as long as Perl is installed.
NOTE: Unlike the research paper archived here, these scripts do not use the DTW method. However, they do use epsilon scattering. The trainer uses a more basic, yet still quite effective in modern day, "best path traversal by weight" method.