How To Teach A Computer To Talk

Table of contents:

How To Teach A Computer To Talk
How To Teach A Computer To Talk

Video: How To Teach A Computer To Talk

Video: How To Teach A Computer To Talk
Video: A delightful way to teach kids about computers | Linda Liukas 2024, May
Anonim

Unlike voice recognition, its synthesis is a long-standing problem. Even a relatively low-power computer can easily handle it. To do this, you need to put a special program on it, after which the machine will be able to read any text out loud to you with a mechanical voice.

How to teach a computer to talk
How to teach a computer to talk

Instructions

Step 1

For powerful computers running Linux, Festival is a good choice. In large distributions, it is usually already installed. Check if this is the case by trying to start it with festival command without parameters. If it turns out that the program is missing, download and install it. The way to do this depends on the distribution.

Step 2

To make Festival speak Russian, download an additional package for it, containing dictionaries and sound files. A file with installation instructions is attached to it.

Step 3

Create a TXT file, then run the synthesizer using the name of this file as an argument: festival filename.txt If the file must contain text in Russian, first determine in which encoding the text is stored in the dictionaries, and then use the same encoding when composing the file …

Step 4

If the computer you are using is relatively low-powered, install the Festival-based FLite speech synthesizer on it. It does not support Russian, but it works not only in Linux, but also in Windows CE, as well as on Palm Treo handheld computers.

Step 5

If you need to synthesize speech in Russian on a low-power computer running Linux or Windows, use the espeak speech synthesizer. It is very compact and only takes a few megabytes with the language pack. You can run it in two ways: espeak text string espeak -f filename.txt If the file is in Russian, make sure that the appropriate dictionary is installed, then run the program with the "-v russian_test" switch (without quotes). The text will be pronounced with an English accent, but it will not be difficult to understand it.

Step 6

If you only use Windows, install the Captain Speech Synthesizer on your computer. It has a graphical user interface and is less than 600 kilobytes in size. The additional package of voices has a volume of just under 5 megabytes. The disadvantage of this program is poor compatibility with Windows 7.

Recommended: