- [Instructor] In this and the next several videos
we're going to walk our way through all the source code
in the SimpleLanguageTranslator.py Script file.
Now as you're about to see
we've broken down the ten steps
that I just discussed with you
in the preceding video in the code as well.
So in the code you're actually going to see
comments with the step numbers
so in step one we're going to prompt for
and then record the English audio file
then in step two we'll transcribe that English to text
and English text specifically.
Then we'll translate that English text
and then we'll synthesize an audio file
in which we use the Spanish text to create audio
that can be spoken to the person we are conversing with.
So in these steps two, three and four
are where we're going to see the calls
to the IBM Watson web services
and we're going to do that through
the Watson Developer Cloud sdk capabilities
that we'll import into our script file.
And then of course in step five once we have the
synthesized Spanish we will play back that audio file.
And then we'll have a separate chunk of code again
for the other steps,
five additional steps that do basically the same thing
in the reverse order.
In this case we'll get the Spanish speech into an audio file
transcribe that Spanish speech into Spanish text,
take the Spanish text into English text via
IBM Watson's Translation Service
and then finally take the English text
and convert it into spoken audio that we can play back
to the user.