CrashCourse · @crashcourse
Natural Language Processing: Crash Course Computer Science #36
Uploaded June 8, 2018 · Length 11:50
Summary
This video explains Natural Language Processing (NLP), how computers understand human language through parsing, grammar rules, and speech recognition.
- natural language processing
- nlp explained
- computer science linguistics
- speech recognition
- parse trees
- chatbots
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:03
Hi, I’m Carrie Anne, and welcome to Crash Course Computer Science!
- 0:06
Last episode we talked about computer vision – giving computers the ability to see and
- 0:09
understand visual information.
- 0:11
Today we’re going to talk about how to give computers the ability to understand language.
- 0:15
You might argue they’ve always had this capability.
- 0:17
Back in Episodes 9 and 12, we talked about machine language instructions, as well as
- 0:21
higher-level programming languages.
- 0:23
While these certainly meet the definition of a language, they also tend to have small
- 0:26
vocabularies and follow highly structured conventions.
- 0:30
Code will only compile and run if it’s 100 percent free of spelling and syntactic errors.
- 0:35
Of course, this is quite different from human languages – what are called natural languages
- 0:38
– containing large, diverse vocabularies, words with several different meanings, speakers
- 0:43
with different accents, and all sorts of interesting word play.
- 0:46
People also make linguistic faux pas when writing and speaking, like slurring words
- 0:51
together, leaving out key details so things are ambiguous, and mispronouncing things.
- 0:54
But, for the most part, humans can roll right through these challenges.
- 0:58
The skillful use of language is a major part of what makes us human.
- 1:01
And for this reason, the desire for computers to understand and speak our language has been
- 1:05
around since they were first conceived.
- 1:08
This led to the creation of Natural Language Processing, or NLP, an interdisciplinary field
- 1:13
combining computer science and linguistics.
- 1:15
INTRO
- 1:24
There’s an essentially infinite number of ways to arrange words in a sentence.
- 1:28
We can’t give computers a dictionary of all possible sentences to help them understand
- 1:32
what humans are blabbing on about.
- 1:34
So an early and fundamental NLP problem was deconstructing sentences into bite-sized pieces,
- 1:39
which could be more easily processed.
- 1:41
In school, you learned about nine fundamental types of English words: nouns, pronouns, articles,
- 1:46
verbs, adjectives, adverbs, prepositions, conjunctions, and interjections.
- 1:50
These are called parts of speech.
- 1:52
There are all sorts of subcategories too, like singular vs. plural nouns and superlative
- 1:56
vs. comparative adverbs, but we’re not going to get into that.
- 1:59
Knowing a word’s type is definitely useful, but unfortunately, there are a lot words that


