📜 ⬆️ ⬇️

Learn Text-to-Speech in Russian

I read on MacSpoon a note about the birthday of Mac OS X, which turned 7 years old. But for me the surprise in this post was not a notable anniversary, but quite another. The article mentioned that Mac OS X is “MacOS Ten” and not “MacOS X”, as many are accustomed to say and understand - including myself. So it’s useful for Google to search for the answer to this question and found a cool solution. In addition, I found out that the standard text-to-speech can be taught to speak Russian!

The idea is simple and original at the same time. Since we want to know how to pronounce the name of the operating system correctly, let's ask her herself and ask! And let us answer out loud. Benefit in Mac OS X, this can be done quite easily, thanks to a program called “say”.

Now we start the terminal and ask Makos to name the first part of his name, then the second and, finally, all together:

localhost: ~ me $ say "Mac OS"
localhost: ~ me $ say "X"
localhost: ~ me $ say "Mac OS X"

As a result, it turns out that all the same we are called “Mack Ou-eS Teng”. Further more. Is it possible to teach this very “say” to speak Russian? I've played with a half-hour and the method of "sticking" and the primer taught a little "piece of iron" to talk on the great and mighty. Here, for example, you can say hello to Habr's visitors:
')
"Hi, Habrachelovek.mp3"
"How are you? I am a robot makovod. I am learning to speak Russian. I know a lot of cool words. Translit and macovod.net can really do wonders! ”

localhost: ~ me $ say -v Alex -o habr.aiff “Privet, habra-chelovek. How are you. Ya robot-macovod. Ya oochus 'govorit' po roosski. Znaue mnogo klassnyh ee ne ochen 'slov. Traans-leet, eee, macovod .net, ree-al'no mogut, de-lat 'choo-dee-sa'

You can learn a lot more to say. Try :)

via Blog Makovod

Source: https://habr.com/ru/post/22370/


All Articles