Natural Language Processing
Natural Language Processing
Key Points
Computational Linguistics
– Doing linguistics on computers
– More on the linguistic side than NLP, but closely related
– More theoretical
Why NLP?
• Language is meant for
communicating about the
world
– NLP offers insights into
language
• Language is the medium
of the web
• Help in communication
Kismet: MIT Media Lab
– With computers
– With other humans (MT)
– HCI/HRI
Why NLP?
• Classify text into categories
• Index and search large texts
Applications for • Automatic translation
processing large • Speech understanding
amounts of texts – Understand phone conversations
-require NLP • Information extraction
expertise – Extract useful information from resumes
• Automatic summarization
– Condense 1 book into 1 page
• Question answering
• Knowledge acquisition
• Text generations / dialogues
NLP Involves ….
• Two tasks:
Processing written text
-Lexical
-Syntactic
-Semantic
-Pragmatic
Processing spoken language,
-Lexical, Syntactic, Semantic, Pragmatic+++
- Phonology
NLP Involves ….
Natural Language Understanding (NLU): understanding & reasoning
while the input is NL
-Internal structure of the input NL
Natural Language Generation (NLG): generate other language
Understanding Generation
Linguistics and Language Processing
High-level
Low-level
Steps in the NLP
• Morphological/Lexical Analysis: Individual words are
analyzed into their components
-non-word tokens such as punctuation are separated from
the words.
-Divide the text into paragraphs, sentences & words
• Case grammars:
(printed (agent Susan)
(object File))
Example continued