NLP Chapter 1
NLP Chapter 1
NLP Chapter 1
Introduction
History of NLP
Levels of NLP
Stages in NLP
Challenges of NLP
Applications of NLP
•Mode of
Language
Communication
NLP
•Artificial
Two Language
types
•Natural language
Natural language
•Two types
Natural •Spoken form
Language •Written form
Why processing??
NLP
•Natural Language Processing
• The process of computer analysis of input provided in a human
language ( any natural language), and conversion of this input into
a useful form of representation.
History of NLP
• 1950- Attempts to automate translation between Russian and
English
• 1960- The work of Chomsky and others on formal language theory
and generative syntax
• 1990- Probabilistic and data-driven models had become quite
standard
• 2000- A Large amount of spoken and textual data become available
History of NLP
• 1950
• The obvious place to look for help was from Linguistics.
• The literature of the 1950s shows a growing awareness of work in
mainstream Linguistics, and
• young researchers in Linguistics joined Machine Translation teams.
• 1960
• John bought a ticket for Mary in the Symphony Hall Booking Office.
• We know from the position of the words John and ticket that John is
the agent instigating the action and that the ticket is the patient (or
object) of the action.
• We know that Mary is the beneficiary of the action because of the
use of the preposition for before her name.
Generic NLP systems
Levels of NLP
Semantics Reasoning
Levels of NLP
• Phonology
• Speech processing
• Morphology
• The cats are fighting
Levels of NLP
• Syntax/Syntactic
processing
• It is a study of formal
relationships
between words.
Natural
Language Syntactic
Ambiguity
• “He saw a man with binoculars.”
• Eg: Dog
• Noun
• Take ‘s’ in plural
• Animate
• 4 legged
• carnivore
Stages in NLP
Challenges in Lexical analysis
Stages in
NLP
Syntactic Parsing strategy
Stages of NLP
• Challenges in Syntactic Processing
Stages in
NLP
Stages in NLP- semantic analysis
• John gave book to Mary
• Agent is john
• Object is book
• Mary is recipient
• Challenges:
• Bat/crane/ tank
• Uttar/peru in marathi
Stages in NLP- Disclosure Integration
• Disclosure Integration
• The meaning of any sentence depends upon the meaning of the sentence just
before it. In addition, it also brings about the meaning of immediately
succeeding sentence.
• Example
Sentiment Text
analysis summarization