- So next, let's take a look at the
Speech to Text service from IBM Watson.
We'll be using this a little bit later in this lesson
for the purpose of taking audio files
that we record and save out to disk,
and turning them into text transcriptions of that audio.
And we'll do that both for English text and Spanish text.
Now one of the things that's interesting about this service,
is you can also give it specific keywords
that you wanted to listen for,
and it can tell you whether it finds them
and with what likelihood it found them within the text
that it's transcribing from the audio.
It's also capable interestingly of
distinguishing amongst multiple speakers.
So for instance, when you're watching
news broadcasts nowadays, sometimes you'll see them
with closed captioning at the bottom of the screen
and that's happening live as the people are speaking.
And you'll notice that it shows different speakers' text
in those audio transcriptions,
and Watson is capable of doing that as well.
So let me switch over to the demo here.
This is the Speech to Text demo page
at the URL that you see up here.
And if you scroll down, you'll notice
that you have the ability to record your own audio
so you could try this with your own voice.
You can upload existing audio files
but they also give you a couple of samples
that you can play.
And I want to run through this first sample for you
so I'm going to stop talking and let you listen to this,
and you'll see down here it's going to
transcribe as the audio is playing.
And it will eventually distinguish between the two speakers
and sometimes you'll see that immediately.
Sometimes you'll see it later on.
It will adjust what's coming out
as it works through the example.
So, whoops, let me go ahead and click that.
- (Michael) So thank you very much for coming David.
It's good to have you here.
- (David) Good, it's my pleasure Michael.
Glad to be with you.
- How real is artificial intelligence?
- The question of how real
is artificial intelligence is a complex one.
- (Voiceover) Now as of right now, it hasn't detected
the second speaker yet but it will eventually.
- (David) We define artificial intelligence as the ability
of a machine on its own to understand large volumes of data.
To reason that data with a purpose to predict the future
and then to continue and to learn and get better.
That is happening today in certain fields.
- (Michael) How far in the continuum is IBM Watson
in operability artificial intelligence.
- (Voiceover) Just a few more seconds of audio here.
- (David) So first of all, once it's actually intelligent
it will no longer be artificial.
So we're moving to the point that these systems
increasingly understand enormous volumes of data.
- (Voiceover) Okay so at this point
it finished that audio sample
and you notice that it then updated everything
that it had put in here previously,
showing the two different speakers along the way
and if you were to go play that again,
you'll be able to see that these indeed
were the two different speakers.
But also up here, there were some keywords to spot.
And you'll notice if we switch over to
this Word Timings and Alternatives tab,
you see the words in the transcription.
If you go to the Keywords tab, you see the keywords
that we were looking for and
the likelihood that they were found.
And you can also see the JavaScript Object Notation response
that came back from the Watson service,
the Speech to Text service as well.
And we'll be picking off information from that JSON response
when we write our app a little bit later.
So go ahead and play around with this on your own.
You'll notice by the way, that there's lots
of different languages supported
so if you speak one of these languages,
you might try using the Record Audio option
along with a corresponding model as it's called,
to go ahead and try transcribing text
in your own language.