Article text to speech is a Machine learning based system in which the text data is converted into the speech. Text-to-speech (TTS) is getting more and more common recently, and is getting to be a basic user interface for many systems.
To encourage further use of TTS in various systems, it is significant to develop a handy, maintainable, extensible TTS component that is accessible to speech non-specialists, enterprising individuals and small teams who do not have massive computers. Traditional TTS systems, however, are not necessarily friendly for them, as these systems are typically composed of many domain specific modules. For example, a typical parametric TTS system is an elaborate integration of many modules e.g. a text analyser, an F0 generator, a spectrum generator, a pause estimator, and a vocoder that synthesize a waveform from these data, etc.
keywords—
Text-to-speech, deep learning, convolutional neural network, attention, sequence-to-sequence learning.
Import the libraries that we will need for this program.
#Import the libraries
from newspaper import Article
import nltk
from gtts import gTTS
import os