SlideShare a Scribd company logo
3
Most read
5
Most read
17
Most read
Natural Language Processing
Introduction
▪ Natural Language Processing is a subfield of Artificial Intelligence
and linguistics, devoted to make computers understand the
statements or words written by humans.
▪ A language is a system, a set of rules or set of symbols.
1. Symbols are combined and used for conveying information or
broadcasting the information.
2. Rules of grammar are used for handling symbols.
Introduction
▪ The history of NLP generally starts in the year 1950s. In 1950, Alan
Turing published an article titled "Machine and Intelligence" which
advertised what is now called theTuring test as a subfield of
intelligence.
▪ Natural languages are languages that living creatures use for
communication
▪ Artificial Languages are mathematically defined classes of signals
that can be used for communication with machines
▪ A language is a set of sentences that may be used as signals to
convey semantic information
▪ The meaning of a sentence is the semantic information it conveys
Problems faced in NLP
1. Incomplete description
2. Same word different Meanings
3. NewWords, Expressions and Meanings are generated quite freely.
4. There are a lot of ways of telling the same thing.
STEPS OF NATURAL LANGUAGE PROCESSING
▪ Morphological Analysis: Individual words are analyzed into
their components and non word tokens such as punctuations
are separated from the words.
▪ Syntactic Analysis: Linear sequences of words are
transformed into structures that show how the words relate to
each other.
▪ Semantic Analysis:The structures created by the syntactic
analyzer are assigned meanings.
▪ Discourse integration:The meaning of an individual sentence
may depend on the sentences that precede it and may
influence the meanings of the sentences that follow it.
▪ Pragmatic Analysis:The structure representing what was said
is reinterpreted to determine what was actually meant.
Syntax analysis
▪ The lexicon of a language is its vocabulary that includes its words and
expressions. Morphology depicts analysing, identifying and
description of structure of words.
▪ It involves dividing a text into paragraphs, words and the sentences
▪ The words are generally accepted as being the smallest units of
syntax.The syntax refers to the rules and principles that govern the
sentence structure of any individual languages
Syntactic Analysis
– S → NPVP
– NP → the NP1
– NP → PRO
– NP → PN
– NP → NP1
– NP1 →ADJS N
– ADJS → ε |ADJ ADJS
– VP →V
– VP →V NP
– N → file | printer
– PN → Bill
– PRO → I
– ADJ → short | long | fast
– V → printed | created | want
A Parse tree for a sentence :
S
NP
PN
Bill
VP
V
printed
NP
the
NP1
ADJS
E
N
file
▪ Text : Bill Printed the file
Syntax Tree Example
Syntactic Analysis Example
▪ A parse tree :
John ate the apple.
1. S -> NPVP
2. VP ->V NP
3. NP -> NAME
4. NP -> ART N
5. NAME -> John
6. V -> ate
7. ART-> the
8. N -> apple
S
NP VP
NAME
John
V
ate
NP
ART N
the apple
Semantic Analysis
▪ It must map individual words into appropriate objects in the
knowledgebase or database.
▪ It must create the correct structure to correspond to the way the
meaning of the individual words combine with each other.
▪ Thus a mapping is made between the syntactic structures and
objects in the task domain.The structures for which no such mapping
is possible is rejected.
▪ Eg: the sentence “Colorless green ideas…” would be rejected as
semantically anomalous because colorless and green makes no
sense.
Knowledge Base Fragment
Partial Meaning for a Sentence
Discourse Integration
▪ The Meaning of an individual sentence may depend on the sentences that
precede it and may influence the meaning of the sentences that follow it.
▪ Example: the word “it” in the sentence,”you wanted it” depends on the
prior discourse content.
▪ Specifically we do not know whom the pronoun “I” or the proper noun “Bill”
refers to.
▪ To pin down these references requires an appeal to a model of the current
discourse context, from which we can learn that the current user is
USER068 and that the only person named “Bill” about whom we could be
talking is USER073.
▪ Once the correct referent for Bill is known, we can also determine exactly
which file is being referred to.
Pragmatic Analysis
▪ The final step toward effective understanding is to decide what to do as a
results.
▪ One possible thing to do is to record what was said as a fact and be done
with it.
▪ For some sentences, whose intended effect is clearly declarative, that is
precisely correct thing to do.
▪ But for other sentences, including this one, the intended effect is different.
▪ We can discover this intended effect by applying a set of rules that
characterize cooperative dialogues.
▪ The final step in pragmatic processing is to translate, from the knowledge
based representation to a command to be executed by the system.
▪ The results of the understanding process is
Pragmatic Analysis
Summary
▪ We have seen the results of the main processes that combinr to form
a natural language system.
▪ In a complete system all of these processes are necessary.They will
form a complete natural language processing system.
▪ But all programs are not written with exactly these components,
sometimes two or more of such units are collapsed.
▪ Collapsing the components will result in a system that is easier to
build for restricted subsets of English but one that is harder to extend
to wider coverage.

More Related Content

PPTX
Natural Language Processing
PPTX
natural language processing help at myassignmenthelp.net
PPT
Natural language processing
PPTX
Natural language processing
PPTX
Natural language processing
PPTX
Natural lanaguage processing
PDF
Natural language processing
PPTX
Natural Language Processing
natural language processing help at myassignmenthelp.net
Natural language processing
Natural language processing
Natural language processing
Natural lanaguage processing
Natural language processing

What's hot (20)

PPTX
Natural language processing
PDF
Natural language processing (NLP) introduction
PPTX
Natural Language Processing
PDF
Natural Language Processing (NLP)
PPTX
Natural Language Processing
PPT
Natural Language Processing
PDF
Introduction to Natural Language Processing (NLP)
PPTX
Natural language processing
PPTX
Natural Language Processing (NLP) - Introduction
PDF
Natural Language Processing
PDF
Natural Language Processing seminar review
PPT
Introduction to Natural Language Processing
PDF
Natural language processing
PPTX
Natural language processing (NLP)
PPTX
Natural language processing
PPT
Introduction to Natural Language Processing
PDF
Natural language processing (nlp)
PPTX
Natural Language Processing in AI
Natural language processing
Natural language processing (NLP) introduction
Natural Language Processing
Natural Language Processing (NLP)
Natural Language Processing
Natural Language Processing
Introduction to Natural Language Processing (NLP)
Natural language processing
Natural Language Processing (NLP) - Introduction
Natural Language Processing
Natural Language Processing seminar review
Introduction to Natural Language Processing
Natural language processing
Natural language processing (NLP)
Natural language processing
Introduction to Natural Language Processing
Natural language processing (nlp)
Natural Language Processing in AI
Ad

Viewers also liked (20)

PPTX
From Natural Language Processing to Artificial Intelligence
PDF
Practical Natural Language Processing
PDF
Natural Language Processing: L01 introduction
PPT
Learning
PPTX
AI: Learning in AI 2
PPTX
AI: Learning in AI
PPTX
Operations Management Study in Textured Jersy Lanka Limited
PPTX
Azure machine learning tech mela
PPTX
ADO.NET Introduction
PPTX
Electronics projects
PPTX
Introduction and Starting ASP.NET MVC
PPTX
Machine learning and azure ml studio
PPT
Natural Language Processing
PPT
RC4&RC5
PDF
Natural Language Processing: L03 maths fornlp
PPTX
Language models
PDF
Natural Language Processing: L02 words
PDF
Deep Learning For Practitioners, lecture 2: Selecting the right applications...
PDF
Deep Learning Primer - a brief introduction
PPTX
Deep Learning for Natural Language Processing
From Natural Language Processing to Artificial Intelligence
Practical Natural Language Processing
Natural Language Processing: L01 introduction
Learning
AI: Learning in AI 2
AI: Learning in AI
Operations Management Study in Textured Jersy Lanka Limited
Azure machine learning tech mela
ADO.NET Introduction
Electronics projects
Introduction and Starting ASP.NET MVC
Machine learning and azure ml studio
Natural Language Processing
RC4&RC5
Natural Language Processing: L03 maths fornlp
Language models
Natural Language Processing: L02 words
Deep Learning For Practitioners, lecture 2: Selecting the right applications...
Deep Learning Primer - a brief introduction
Deep Learning for Natural Language Processing
Ad

Similar to Natural Language Processing (20)

PDF
Natural Language Processing Course in AI
PPTX
Natural language processing.pptx
PPT
Lecture Number 2 of Natural Language Processing
PDF
Ijetcas14 458
PPTX
Natural Language Processing.pptx
PPTX
AI UNIT-3 FINAL (1).pptx
PPTX
Artificial Intelligence_NLP
PPTX
natural language processing of artificial
PPTX
5. phase of nlp
PPTX
Processing Written English
PPTX
nlp (1).pptx
PPT
intro.ppt
PPTX
Natural Language Processing
PPTX
operating system notes for II year IV semester students
PPTX
Processing of Written Language
PPTX
Natural language processing 2
PPTX
Natural Language Processing
Natural Language Processing Course in AI
Natural language processing.pptx
Lecture Number 2 of Natural Language Processing
Ijetcas14 458
Natural Language Processing.pptx
AI UNIT-3 FINAL (1).pptx
Artificial Intelligence_NLP
natural language processing of artificial
5. phase of nlp
Processing Written English
nlp (1).pptx
intro.ppt
Natural Language Processing
operating system notes for II year IV semester students
Processing of Written Language
Natural language processing 2
Natural Language Processing

More from Rishikese MR (19)

PPTX
1 2 3 4 5 g
PPTX
Fuzzy Logic
PPTX
Crowd Sourcing With Smart Phone
PPT
BLUE BRAIN
PPT
The No SQL Principles and Basic Application Of Casandra Model
PPTX
CYBORG
PPTX
DATA WAREHOUSING
PPTX
Automatic 2D to 3D Video Conversion For 3DTV's
PDF
Middleware and Middleware in distributed application
PPTX
TOR NETWORK
PPTX
EMOTION BASED COMPUTING
PPTX
BITCOIN TECHNOLOGY AND ITS USES
PPTX
3D OPTICAL DATA STORAGE
PPTX
OUTERNET
PPTX
OVERVIEW OF FACEBOOK SCALABLE ARCHITECTURE.
PDF
Google Glass and its Features
PDF
Virtualization and cloud Computing
PDF
Artificial intelligence in gaming.
PDF
A seminar on neo4 j
1 2 3 4 5 g
Fuzzy Logic
Crowd Sourcing With Smart Phone
BLUE BRAIN
The No SQL Principles and Basic Application Of Casandra Model
CYBORG
DATA WAREHOUSING
Automatic 2D to 3D Video Conversion For 3DTV's
Middleware and Middleware in distributed application
TOR NETWORK
EMOTION BASED COMPUTING
BITCOIN TECHNOLOGY AND ITS USES
3D OPTICAL DATA STORAGE
OUTERNET
OVERVIEW OF FACEBOOK SCALABLE ARCHITECTURE.
Google Glass and its Features
Virtualization and cloud Computing
Artificial intelligence in gaming.
A seminar on neo4 j

Recently uploaded (20)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Encapsulation theory and applications.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
A Presentation on Artificial Intelligence
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Machine learning based COVID-19 study performance prediction
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Big Data Technologies - Introduction.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Encapsulation theory and applications.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Per capita expenditure prediction using model stacking based on satellite ima...
20250228 LYD VKU AI Blended-Learning.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
A Presentation on Artificial Intelligence
Encapsulation_ Review paper, used for researhc scholars
Machine learning based COVID-19 study performance prediction
Advanced methodologies resolving dimensionality complications for autism neur...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Unlocking AI with Model Context Protocol (MCP)
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Reach Out and Touch Someone: Haptics and Empathic Computing
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Spectral efficient network and resource selection model in 5G networks
Digital-Transformation-Roadmap-for-Companies.pptx
Big Data Technologies - Introduction.pptx

Natural Language Processing

  • 2. Introduction ▪ Natural Language Processing is a subfield of Artificial Intelligence and linguistics, devoted to make computers understand the statements or words written by humans. ▪ A language is a system, a set of rules or set of symbols. 1. Symbols are combined and used for conveying information or broadcasting the information. 2. Rules of grammar are used for handling symbols.
  • 3. Introduction ▪ The history of NLP generally starts in the year 1950s. In 1950, Alan Turing published an article titled "Machine and Intelligence" which advertised what is now called theTuring test as a subfield of intelligence. ▪ Natural languages are languages that living creatures use for communication ▪ Artificial Languages are mathematically defined classes of signals that can be used for communication with machines ▪ A language is a set of sentences that may be used as signals to convey semantic information ▪ The meaning of a sentence is the semantic information it conveys
  • 4. Problems faced in NLP 1. Incomplete description 2. Same word different Meanings 3. NewWords, Expressions and Meanings are generated quite freely. 4. There are a lot of ways of telling the same thing.
  • 5. STEPS OF NATURAL LANGUAGE PROCESSING ▪ Morphological Analysis: Individual words are analyzed into their components and non word tokens such as punctuations are separated from the words. ▪ Syntactic Analysis: Linear sequences of words are transformed into structures that show how the words relate to each other. ▪ Semantic Analysis:The structures created by the syntactic analyzer are assigned meanings. ▪ Discourse integration:The meaning of an individual sentence may depend on the sentences that precede it and may influence the meanings of the sentences that follow it. ▪ Pragmatic Analysis:The structure representing what was said is reinterpreted to determine what was actually meant.
  • 6. Syntax analysis ▪ The lexicon of a language is its vocabulary that includes its words and expressions. Morphology depicts analysing, identifying and description of structure of words. ▪ It involves dividing a text into paragraphs, words and the sentences ▪ The words are generally accepted as being the smallest units of syntax.The syntax refers to the rules and principles that govern the sentence structure of any individual languages
  • 7. Syntactic Analysis – S → NPVP – NP → the NP1 – NP → PRO – NP → PN – NP → NP1 – NP1 →ADJS N – ADJS → ε |ADJ ADJS – VP →V – VP →V NP – N → file | printer – PN → Bill – PRO → I – ADJ → short | long | fast – V → printed | created | want
  • 8. A Parse tree for a sentence : S NP PN Bill VP V printed NP the NP1 ADJS E N file ▪ Text : Bill Printed the file
  • 10. Syntactic Analysis Example ▪ A parse tree : John ate the apple. 1. S -> NPVP 2. VP ->V NP 3. NP -> NAME 4. NP -> ART N 5. NAME -> John 6. V -> ate 7. ART-> the 8. N -> apple S NP VP NAME John V ate NP ART N the apple
  • 11. Semantic Analysis ▪ It must map individual words into appropriate objects in the knowledgebase or database. ▪ It must create the correct structure to correspond to the way the meaning of the individual words combine with each other. ▪ Thus a mapping is made between the syntactic structures and objects in the task domain.The structures for which no such mapping is possible is rejected. ▪ Eg: the sentence “Colorless green ideas…” would be rejected as semantically anomalous because colorless and green makes no sense.
  • 13. Partial Meaning for a Sentence
  • 14. Discourse Integration ▪ The Meaning of an individual sentence may depend on the sentences that precede it and may influence the meaning of the sentences that follow it. ▪ Example: the word “it” in the sentence,”you wanted it” depends on the prior discourse content. ▪ Specifically we do not know whom the pronoun “I” or the proper noun “Bill” refers to. ▪ To pin down these references requires an appeal to a model of the current discourse context, from which we can learn that the current user is USER068 and that the only person named “Bill” about whom we could be talking is USER073. ▪ Once the correct referent for Bill is known, we can also determine exactly which file is being referred to.
  • 15. Pragmatic Analysis ▪ The final step toward effective understanding is to decide what to do as a results. ▪ One possible thing to do is to record what was said as a fact and be done with it. ▪ For some sentences, whose intended effect is clearly declarative, that is precisely correct thing to do. ▪ But for other sentences, including this one, the intended effect is different. ▪ We can discover this intended effect by applying a set of rules that characterize cooperative dialogues. ▪ The final step in pragmatic processing is to translate, from the knowledge based representation to a command to be executed by the system. ▪ The results of the understanding process is
  • 17. Summary ▪ We have seen the results of the main processes that combinr to form a natural language system. ▪ In a complete system all of these processes are necessary.They will form a complete natural language processing system. ▪ But all programs are not written with exactly these components, sometimes two or more of such units are collapsed. ▪ Collapsing the components will result in a system that is easier to build for restricted subsets of English but one that is harder to extend to wider coverage.