SlideShare uma empresa Scribd logo
1 de 22
Presented By:-
ADARSH SAXENA
15MCA13
Natural Language
Processing
2
INTRODUCTION
• What is Natural Language Processing?
• NLP for machines
• Why NLP?
• History of NLP
3
What is natural language
processing?
• Process information contained in natural
language text
• Also known as Computational Linguistics (CL),
Human Language Technology (HLT), Natural
Language Engineering (NLE)
4
NLP for machines…
• Analyze, understand and generate human languages just like
humans do
• Applying computational techniques to language domain
• To explain linguistic theories, to use the theories to build
systems that can be of social use
• Started off as a branch of Artificial Intelligence
• Make computers learn our language rather than we learn
theirs
5
Why NLP?
• A hallmark of human intelligence
• Text is the largest repository of human knowledge and is
growing quickly
• computer programmes that understood text or speech
6
History of NLP
• In 1950, Alan Turing published an article titled "Machine and
Intelligence" which advertised what is now called the Turing
test as a subfield of intelligence
• Some beneficial and successful Natural language systems were
developed in the 1960s were SHRDLU, a natural language
system working in restricted "blocks of words" with restricted
vocabularies was written between 1964 to 1966
7
COMPONENTS AND PROCESS
• Components of NLP
• Linguistics and Language
• Steps of NLP
8
Components of NLP
• Natural Language Understanding
• Taking some spoken/typed sentence and working out what it
means.
• Mapping the given input in the natural language into a useful
representation.
9
Components of NLP (cont.)
• Natural Language Generation
• Taking some formal representation of what you want to say and
working out a way to express it in a natural (human) language
(e.g., English)
• Producing output in the natural language from some internal
representation
10
Linguistics and language
• Linguistics is the science of language
• Its study includes:
• Sounds which refers to phonology
• Word formation refers to morphology
• Sentence structure refers to syntax
• Meaning refers to semantics
• Understanding refers to pragmatics
11
Steps of NLP
12
Morphological and Lexical Analysis
Syntactic Analysis
Semantic Analysis
Discourse Integration
Pragmatic Analysis
Morphological and Lexical
Analysis
• The lexicon of a language is its vocabulary that includes its
words and expressions
• Morphology depicts analyzing, identifying and description of
structure of words
• Lexical analysis involves dividing a text into paragraphs, words
and the sentences
13
Syntactic Analysis
• Syntax concerns the proper ordering of words and its affect on
meaning
• This involves analysis of the words in a sentence to depict the
grammatical structure of the sentence
• The words are transformed into structure that shows how the
words are related to each other
• Eg. “the girl the go to the school”. This would definitely be
rejected by the English syntactic analyzer
14
Semantic Analysis
• Semantics concerns the (literal) meaning of words, phrases,
and sentences
• This abstracts the dictionary meaning or the exact meaning
from context
• The structures which are created by the syntactic analyzer are
assigned meaning
• E.g.. “colorless blue idea” .This would be rejected by the
analyzer as colorless blue do not make any sense together
15
Discourse Integration
• Sense of the context
• The meaning of any single sentence depends upon the
sentences that precedes it and also invokes the meaning of
the sentences that follow it
• E.g. the word “it” in the sentence “she wanted it” depends
upon the prior discourse context
16
Pragmatic Analysis
• Pragmatics concerns the overall communicative and social
context and its effect on interpretation
• Importantly those aspects of language which require world
knowledge
• The main focus is on what was said is reinterpreted on what it
actually means
• E.g. “close the window?” should have been interpreted as a
request rather than an order 17
CONCLUSION
• NLP vs. Computer Language
• Future of NLP
• Summery
18
Natural language vs. Computer
language
• Ambiguity is the primary difference between natural and
computer languages
• Formal programming languages are designed to be
unambiguous
• Programming languages are also designed for efficient
(deterministic) parsing
• They are deterministic context-free languages (DCLFs)
19
Future of NLP
• Human level or human readable natural language processing
is an AI-complete problem
• It is equivalent to solving the central artificial intelligence
problem and making computers as intelligent as people
• NLP's future is closely linked to the growth of Artificial
intelligence
20
Summery
• The need for disambiguation makes language understanding
difficult
• Levels of linguistic processing:
• Syntax , Semantics, Pragmatics
• Statistical learning methods can be used to:
• Automatically learn grammar
• Compute the most likely interpretation based on a learned
statistical model
• Make intelligent guesses
21
Natural Language Processing

Mais conteúdo relacionado

Mais procurados

Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
Mariana Soffer
 

Mais procurados (20)

Introduction to Natural Language Processing (NLP)
Introduction to Natural Language Processing (NLP)Introduction to Natural Language Processing (NLP)
Introduction to Natural Language Processing (NLP)
 
Natural language processing
Natural language processing Natural language processing
Natural language processing
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
Natural language processing (NLP) introduction
Natural language processing (NLP) introductionNatural language processing (NLP) introduction
Natural language processing (NLP) introduction
 
Natural language processing (NLP)
Natural language processing (NLP) Natural language processing (NLP)
Natural language processing (NLP)
 
Natural lanaguage processing
Natural lanaguage processingNatural lanaguage processing
Natural lanaguage processing
 
Natural Language Processing (NLP)
Natural Language Processing (NLP)Natural Language Processing (NLP)
Natural Language Processing (NLP)
 
Natural language processing PPT presentation
Natural language processing PPT presentationNatural language processing PPT presentation
Natural language processing PPT presentation
 
NLP
NLPNLP
NLP
 
Natural language processing
Natural language processingNatural language processing
Natural language processing
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
Natural Language Processing for Games Research
Natural Language Processing for Games ResearchNatural Language Processing for Games Research
Natural Language Processing for Games Research
 
Natural language processing
Natural language processingNatural language processing
Natural language processing
 
Natural Language Processing in AI
Natural Language Processing in AINatural Language Processing in AI
Natural Language Processing in AI
 
NLP
NLPNLP
NLP
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
Natural language processing
Natural language processingNatural language processing
Natural language processing
 
Natural Language Processing seminar review
Natural Language Processing seminar review Natural Language Processing seminar review
Natural Language Processing seminar review
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
Introduction to natural language processing, history and origin
Introduction to natural language processing, history and originIntroduction to natural language processing, history and origin
Introduction to natural language processing, history and origin
 

Semelhante a Natural Language Processing

Natural Language Processing-(NLP).pptx
Natural Language Processing-(NLP).pptxNatural Language Processing-(NLP).pptx
Natural Language Processing-(NLP).pptx
SHIBDASDUTTA
 
naturallanguageprocessing-160722053804.pdf
naturallanguageprocessing-160722053804.pdfnaturallanguageprocessing-160722053804.pdf
naturallanguageprocessing-160722053804.pdf
shakeelAsghar6
 
NLP presentation.pptx
NLP presentation.pptxNLP presentation.pptx
NLP presentation.pptx
pysgpa
 
1 Introduction.ppt
1 Introduction.ppt1 Introduction.ppt
1 Introduction.ppt
tanishamahajan11
 
NLP-ppt.pptx nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
NLP-ppt.pptx nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnNLP-ppt.pptx nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
NLP-ppt.pptx nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
RAtna29
 
Natural language processing.pptx
Natural language processing.pptxNatural language processing.pptx
Natural language processing.pptx
RiteshKumar66208
 
Natural Language Processing (NLP)
Natural Language Processing (NLP)Natural Language Processing (NLP)
Natural Language Processing (NLP)
Abdullah al Mamun
 
naturallanguageprocessing-160722053804 (1).pdf
naturallanguageprocessing-160722053804 (1).pdfnaturallanguageprocessing-160722053804 (1).pdf
naturallanguageprocessing-160722053804 (1).pdf
RohanSharma573161
 
Natural language processing (nlp)
Natural language processing (nlp)Natural language processing (nlp)
Natural language processing (nlp)
Kuppusamy P
 
Natural Language Processing (NLP).pptx
Natural Language Processing (NLP).pptxNatural Language Processing (NLP).pptx
Natural Language Processing (NLP).pptx
SHIBDASDUTTA
 
1. level of language study.pptx
1. level of language study.pptx1. level of language study.pptx
1. level of language study.pptx
AlkadumiHamletto
 

Semelhante a Natural Language Processing (20)

Natural Language Processing-(NLP).pptx
Natural Language Processing-(NLP).pptxNatural Language Processing-(NLP).pptx
Natural Language Processing-(NLP).pptx
 
Natural language processing
Natural language processingNatural language processing
Natural language processing
 
naturallanguageprocessing-160722053804.pdf
naturallanguageprocessing-160722053804.pdfnaturallanguageprocessing-160722053804.pdf
naturallanguageprocessing-160722053804.pdf
 
NLP presentation.pptx
NLP presentation.pptxNLP presentation.pptx
NLP presentation.pptx
 
1 Introduction.ppt
1 Introduction.ppt1 Introduction.ppt
1 Introduction.ppt
 
L1 nlp intro
L1 nlp introL1 nlp intro
L1 nlp intro
 
Natural Language Processing - Unit 1
Natural Language Processing - Unit 1Natural Language Processing - Unit 1
Natural Language Processing - Unit 1
 
Untitled presentation.pdf
Untitled presentation.pdfUntitled presentation.pdf
Untitled presentation.pdf
 
Natural Language Processing.pptx
Natural Language Processing.pptxNatural Language Processing.pptx
Natural Language Processing.pptx
 
NLP-ppt.pptx nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
NLP-ppt.pptx nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnNLP-ppt.pptx nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
NLP-ppt.pptx nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
 
Natural language processing.pptx
Natural language processing.pptxNatural language processing.pptx
Natural language processing.pptx
 
LIWC-ing at Texts for Insights from Linguistic Patterns
LIWC-ing at Texts for Insights from Linguistic PatternsLIWC-ing at Texts for Insights from Linguistic Patterns
LIWC-ing at Texts for Insights from Linguistic Patterns
 
Computational linguistics
Computational linguistics Computational linguistics
Computational linguistics
 
NLP
NLPNLP
NLP
 
Natural Language Processing (NLP)
Natural Language Processing (NLP)Natural Language Processing (NLP)
Natural Language Processing (NLP)
 
naturallanguageprocessing-160722053804 (1).pdf
naturallanguageprocessing-160722053804 (1).pdfnaturallanguageprocessing-160722053804 (1).pdf
naturallanguageprocessing-160722053804 (1).pdf
 
Natural language processing (nlp)
Natural language processing (nlp)Natural language processing (nlp)
Natural language processing (nlp)
 
#Applied linguistics#
#Applied linguistics##Applied linguistics#
#Applied linguistics#
 
Natural Language Processing (NLP).pptx
Natural Language Processing (NLP).pptxNatural Language Processing (NLP).pptx
Natural Language Processing (NLP).pptx
 
1. level of language study.pptx
1. level of language study.pptx1. level of language study.pptx
1. level of language study.pptx
 

Último

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 

Natural Language Processing

  • 2. 2
  • 3. INTRODUCTION • What is Natural Language Processing? • NLP for machines • Why NLP? • History of NLP 3
  • 4. What is natural language processing? • Process information contained in natural language text • Also known as Computational Linguistics (CL), Human Language Technology (HLT), Natural Language Engineering (NLE) 4
  • 5. NLP for machines… • Analyze, understand and generate human languages just like humans do • Applying computational techniques to language domain • To explain linguistic theories, to use the theories to build systems that can be of social use • Started off as a branch of Artificial Intelligence • Make computers learn our language rather than we learn theirs 5
  • 6. Why NLP? • A hallmark of human intelligence • Text is the largest repository of human knowledge and is growing quickly • computer programmes that understood text or speech 6
  • 7. History of NLP • In 1950, Alan Turing published an article titled "Machine and Intelligence" which advertised what is now called the Turing test as a subfield of intelligence • Some beneficial and successful Natural language systems were developed in the 1960s were SHRDLU, a natural language system working in restricted "blocks of words" with restricted vocabularies was written between 1964 to 1966 7
  • 8. COMPONENTS AND PROCESS • Components of NLP • Linguistics and Language • Steps of NLP 8
  • 9. Components of NLP • Natural Language Understanding • Taking some spoken/typed sentence and working out what it means. • Mapping the given input in the natural language into a useful representation. 9
  • 10. Components of NLP (cont.) • Natural Language Generation • Taking some formal representation of what you want to say and working out a way to express it in a natural (human) language (e.g., English) • Producing output in the natural language from some internal representation 10
  • 11. Linguistics and language • Linguistics is the science of language • Its study includes: • Sounds which refers to phonology • Word formation refers to morphology • Sentence structure refers to syntax • Meaning refers to semantics • Understanding refers to pragmatics 11
  • 12. Steps of NLP 12 Morphological and Lexical Analysis Syntactic Analysis Semantic Analysis Discourse Integration Pragmatic Analysis
  • 13. Morphological and Lexical Analysis • The lexicon of a language is its vocabulary that includes its words and expressions • Morphology depicts analyzing, identifying and description of structure of words • Lexical analysis involves dividing a text into paragraphs, words and the sentences 13
  • 14. Syntactic Analysis • Syntax concerns the proper ordering of words and its affect on meaning • This involves analysis of the words in a sentence to depict the grammatical structure of the sentence • The words are transformed into structure that shows how the words are related to each other • Eg. “the girl the go to the school”. This would definitely be rejected by the English syntactic analyzer 14
  • 15. Semantic Analysis • Semantics concerns the (literal) meaning of words, phrases, and sentences • This abstracts the dictionary meaning or the exact meaning from context • The structures which are created by the syntactic analyzer are assigned meaning • E.g.. “colorless blue idea” .This would be rejected by the analyzer as colorless blue do not make any sense together 15
  • 16. Discourse Integration • Sense of the context • The meaning of any single sentence depends upon the sentences that precedes it and also invokes the meaning of the sentences that follow it • E.g. the word “it” in the sentence “she wanted it” depends upon the prior discourse context 16
  • 17. Pragmatic Analysis • Pragmatics concerns the overall communicative and social context and its effect on interpretation • Importantly those aspects of language which require world knowledge • The main focus is on what was said is reinterpreted on what it actually means • E.g. “close the window?” should have been interpreted as a request rather than an order 17
  • 18. CONCLUSION • NLP vs. Computer Language • Future of NLP • Summery 18
  • 19. Natural language vs. Computer language • Ambiguity is the primary difference between natural and computer languages • Formal programming languages are designed to be unambiguous • Programming languages are also designed for efficient (deterministic) parsing • They are deterministic context-free languages (DCLFs) 19
  • 20. Future of NLP • Human level or human readable natural language processing is an AI-complete problem • It is equivalent to solving the central artificial intelligence problem and making computers as intelligent as people • NLP's future is closely linked to the growth of Artificial intelligence 20
  • 21. Summery • The need for disambiguation makes language understanding difficult • Levels of linguistic processing: • Syntax , Semantics, Pragmatics • Statistical learning methods can be used to: • Automatically learn grammar • Compute the most likely interpretation based on a learned statistical model • Make intelligent guesses 21