CoEDL / elpis

🙊 software for creating speech recognition models.
https://elpis.readthedocs.io/en/latest/
Apache License 2.0
152 stars 33 forks source link

translate l2s line endings #99

Closed benfoley closed 4 years ago

benfoley commented 4 years ago

Using letter-to-sound.txt files created on Windows breaks the pron_dict, due to line endings being incompatible with what Kaldi expects. This replaces win \r\n with unix \n line endings.

Also removes get_l2s in favour of get_l2s_content.