Computational Linguistics: Lecture 1: Introduction
Computational Linguistics: Lecture 1: Introduction
Computational Linguistics: Lecture 1: Introduction
Lecture 1: Introduction
Total: 50
2
AI 2001
I Robot 2004
3
Turing Test (Alan Turing 1950)
5
The Turing Test
Turing predicted that roughly by
the end of the twentieth century a
machine with 10 gigabytes of
memory would have around a
30% chance of fooling a human
interrogator after 5 minutes of
questioning 6
What is Computational
Linguistics?
7
The field goes by various
names…
Computational linguistics (CL)
• The science of doing what linguists do
with language, but using computers.
Natural language processing (NLP)
• The engineering discipline of doing
what people do with language, but
using computers.
8
Science vs. Engineering
9
NLP Problems
1. English sentences are incomplete
descriptions of the information
that they are intended to convey.
The speaker can be as vague or as precise as they wish.
They can leave out things they believe the hearer already
knows.
e.x.
“ Ahmed was born on October 11th”
“Ahmed’s birthday is October 11th” 12
Knowledge of the language..
To write programs that
understand language, we have to
define precisely:
• What the underlying task is and..
• What the target representation
should look like. 13
Knowledge of the language..
Phonetics and Phonology – The study of linguistic
sounds. [in case of spoken language]
Morphology – The study of the meaningful
components of words.
Syntax – The study of the structural relationships
between words.
Semantics – The study of meaning.
Discourse – The study of linguistic units larger than a
single utterance
Pragmatics – The study of how language is used to
accomplish goals.
[All others are needed for written language] 14
Morphological Analysis
Individual words are analyzed into their
components and non-word tokens (punctuation) are
separated from the words.
Pronoun reference:
“The dog wanted the bone, but Sam threw it
away.”
Inference and other relations between sentences:
“The bomb exploded in front of the hotel. The
fountain was destroyed, but the lobby was
largely intact.” 19
Pragmatic Analysis
The structure representing what was said
is reinterpreted to determine what was
actually meant.
Ambiguity
21
Ambiguity
I made her duck
have different interpretations….
E.x.
1. I cooked a duck for her
2. I cooked the duck belonging to her
3. I caused her to lower her head or body
4. I waved my magic wand and turned her into
duck ! 22
Ambiguity Analysis
The words duck and her are
morphologically or syntactically
ambiguous.