SlideShare a Scribd company logo
1 of 28
Download to read offline
CMIS 4114 Index : 122139
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
• Borrows from Linguistics, Psycholinguistics, Cognitive Science
& Statistics
• 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
• Techniques and Methods
8
Components of NLP
• Natural Language Understanding
• Taking some spoken/typed sentence and working out what it
means
• 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)
9
Components of NLP (cont.)
• Natural Language Understanding
• Mapping the given input in the natural language into a useful
representation
• Different level of analysis required:
• morphological analysis
• syntactic analysis
• semantic analysis
• discourse analysis
10
Components of NLP (cont.)
• Natural Language Generation
• Producing output in the natural language from some internal
representation
• Different level of synthesis required:
• deep planning (what to say)
• syntactic generation
• NL Understanding is much harder than NL Generation.
But, still both of them are hard
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
12
Steps of NLP
13
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
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
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
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
17
Pragmatic Analysis
• Pragmatics concerns the overall communicative and social
context and its effect on interpretation
• It means abstracting or deriving the purposeful use of the
language in situations
• 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 18
Natural Language Generation
• NLG is the process of constructing natural language outputs
from non-linguistic inputs
• NLG can be viewed as the reverse process of NL understanding
• A NLG system may have two main parts:
• Discourse Planner
what will be generated. which sentences
• Surface Realizer
realizes a sentence from its internal representation
• Lexical Selection
selecting the correct words describing the concepts 19
Techniques and methods
• Machine learning
• The learning procedures used during machine learning
• Automatically focuses on the most common cases
• Whereas when we write rules by hand it is often not correct at all
• Concerned on human errors
20
Techniques and methods
• Statistical inference
• Automatic learning procedures can make use of statistical
inference algorithms
• Used to produce models that are robust (means strength) to
unfamiliar input e.g. containing words or structures that have not
been seen before
• Making intelligent guesses
21
Techniques and methods
• Input database and Training data
• Systems based on automatically learning the rules can be made
more accurate simply by supplying more input data or source to it
• However, systems based on hand- written rules can only be made
more accurate by increasing the complexity of the rules, which is
a much more difficult task
22
CONCLUSION
• NLP vs. Computer Language
• Future of NLP
• Summery
23
Natural language vs. Computer
language
• Ambiguity is the primary difference between natural and
computer languages
• Formal programming languages are designed to be
unambiguous
• They can be defined by a grammar that produces a unique parse
for each sentence in the language
• Programming languages are also designed for efficient
(deterministic) parsing
• They are deterministic context-free languages (DCLFs) 24
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
• Make computers as they can solve problems like humans and
think like humans as well as perform activities that humans
cant perform and making it more efficient than humans
25
Cont.…
• NLP's future is closely linked to the growth of Artificial
intelligence
• As natural language understanding or readability improves,
computers or machines or devices will be able to learn from
the information online and apply what they learned in the real
world
• Combined with natural language generation, computers will
become more and more capable of receiving and giving
useful and resourceful information or data
26
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
27
naturallanguageprocessing-160722053804.pdf

More Related Content

Similar to naturallanguageprocessing-160722053804.pdf

Computational linguistics
Computational linguistics Computational linguistics
Computational linguistics kashmasardar
 
Natural language processing ppt for engineering
Natural language processing ppt for engineeringNatural language processing ppt for engineering
Natural language processing ppt for engineeringmanishadhiman2104
 
Untitled presentation.pdf
Untitled presentation.pdfUntitled presentation.pdf
Untitled presentation.pdfUpinder Kaur
 
Natural Language Processing (NLP)
Natural Language Processing (NLP)Natural Language Processing (NLP)
Natural Language Processing (NLP)Abdullah al Mamun
 
NLP-ppt.pptx nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
NLP-ppt.pptx nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnNLP-ppt.pptx nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
NLP-ppt.pptx nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnRAtna29
 
Natural language processing
Natural language processingNatural language processing
Natural language processingAbash shah
 
presentationnaturallanguage-181004162107.pdf
presentationnaturallanguage-181004162107.pdfpresentationnaturallanguage-181004162107.pdf
presentationnaturallanguage-181004162107.pdf109MukeshSingh
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language ProcessingVeenaSKumar2
 
Natural language processing and its application in ai
Natural language processing and its application in aiNatural language processing and its application in ai
Natural language processing and its application in aiRam Kumar
 
NLP pipeline in machine translation
NLP pipeline in machine translationNLP pipeline in machine translation
NLP pipeline in machine translationMarcis Pinnis
 
NATURAL LANGUAGE PROCESSING.pptx
NATURAL LANGUAGE PROCESSING.pptxNATURAL LANGUAGE PROCESSING.pptx
NATURAL LANGUAGE PROCESSING.pptxMohdSohail65
 
Introduction to NLP_1.pptx
Introduction to NLP_1.pptxIntroduction to NLP_1.pptx
Introduction to NLP_1.pptxjkamble
 
Introduction to NLP.pptx
Introduction to NLP.pptxIntroduction to NLP.pptx
Introduction to NLP.pptxjkamble
 
Natural lanaguage processing
Natural lanaguage processingNatural lanaguage processing
Natural lanaguage processinggulshan kumar
 
CNN for NLP using text analysis by using deep learning
CNN for NLP using text analysis by using deep learningCNN for NLP using text analysis by using deep learning
CNN for NLP using text analysis by using deep learningKv Sagar
 
Addis Ababa University.pptx
Addis Ababa University.pptxAddis Ababa University.pptx
Addis Ababa University.pptxBelay Alemayehu
 
NLP,expert,robotics.pptx
NLP,expert,robotics.pptxNLP,expert,robotics.pptx
NLP,expert,robotics.pptxAmanBadesra1
 
Natural language processing (nlp)
Natural language processing (nlp)Natural language processing (nlp)
Natural language processing (nlp)Kuppusamy P
 
Natural Language Processing Course in AI
Natural Language Processing Course in AINatural Language Processing Course in AI
Natural Language Processing Course in AISATHYANARAYANAKB
 

Similar to naturallanguageprocessing-160722053804.pdf (20)

Computational linguistics
Computational linguistics Computational linguistics
Computational linguistics
 
Natural language processing ppt for engineering
Natural language processing ppt for engineeringNatural language processing ppt for engineering
Natural language processing ppt for engineering
 
Untitled presentation.pdf
Untitled presentation.pdfUntitled presentation.pdf
Untitled presentation.pdf
 
Natural Language Processing (NLP)
Natural Language Processing (NLP)Natural Language Processing (NLP)
Natural Language Processing (NLP)
 
NLP-ppt.pptx nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
NLP-ppt.pptx nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnNLP-ppt.pptx nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
NLP-ppt.pptx nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
 
Natural language processing
Natural language processingNatural language processing
Natural language processing
 
presentationnaturallanguage-181004162107.pdf
presentationnaturallanguage-181004162107.pdfpresentationnaturallanguage-181004162107.pdf
presentationnaturallanguage-181004162107.pdf
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
Natural language processing and its application in ai
Natural language processing and its application in aiNatural language processing and its application in ai
Natural language processing and its application in ai
 
NLP pipeline in machine translation
NLP pipeline in machine translationNLP pipeline in machine translation
NLP pipeline in machine translation
 
L1 nlp intro
L1 nlp introL1 nlp intro
L1 nlp intro
 
NATURAL LANGUAGE PROCESSING.pptx
NATURAL LANGUAGE PROCESSING.pptxNATURAL LANGUAGE PROCESSING.pptx
NATURAL LANGUAGE PROCESSING.pptx
 
Introduction to NLP_1.pptx
Introduction to NLP_1.pptxIntroduction to NLP_1.pptx
Introduction to NLP_1.pptx
 
Introduction to NLP.pptx
Introduction to NLP.pptxIntroduction to NLP.pptx
Introduction to NLP.pptx
 
Natural lanaguage processing
Natural lanaguage processingNatural lanaguage processing
Natural lanaguage processing
 
CNN for NLP using text analysis by using deep learning
CNN for NLP using text analysis by using deep learningCNN for NLP using text analysis by using deep learning
CNN for NLP using text analysis by using deep learning
 
Addis Ababa University.pptx
Addis Ababa University.pptxAddis Ababa University.pptx
Addis Ababa University.pptx
 
NLP,expert,robotics.pptx
NLP,expert,robotics.pptxNLP,expert,robotics.pptx
NLP,expert,robotics.pptx
 
Natural language processing (nlp)
Natural language processing (nlp)Natural language processing (nlp)
Natural language processing (nlp)
 
Natural Language Processing Course in AI
Natural Language Processing Course in AINatural Language Processing Course in AI
Natural Language Processing Course in AI
 

More from shakeelAsghar6

nlp-150531043309-lva1-app6891_3.pdf
nlp-150531043309-lva1-app6891_3.pdfnlp-150531043309-lva1-app6891_3.pdf
nlp-150531043309-lva1-app6891_3.pdfshakeelAsghar6
 
natural language processing
natural language processing natural language processing
natural language processing shakeelAsghar6
 
grammer genration in design
grammer genration in design grammer genration in design
grammer genration in design shakeelAsghar6
 
Natural Language Processing - English Grammar
 Natural Language Processing- English Grammar  Natural Language Processing- English Grammar
Natural Language Processing - English Grammar shakeelAsghar6
 

More from shakeelAsghar6 (8)

nlp-150531043309-lva1-app6891_3.pdf
nlp-150531043309-lva1-app6891_3.pdfnlp-150531043309-lva1-app6891_3.pdf
nlp-150531043309-lva1-app6891_3.pdf
 
NLP
NLPNLP
NLP
 
natural language processing
natural language processing natural language processing
natural language processing
 
grammer genration in design
grammer genration in design grammer genration in design
grammer genration in design
 
Natural Language Processing - English Grammar
 Natural Language Processing- English Grammar  Natural Language Processing- English Grammar
Natural Language Processing - English Grammar
 
grammer genration
grammer genration grammer genration
grammer genration
 
grammer genration
grammer genration grammer genration
grammer genration
 
Shakeel
ShakeelShakeel
Shakeel
 

Recently uploaded

FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | DelhiMalviyaNagarCallGirl
 
The First Date by Daniel Johnson (Inspired By True Events)
The First Date by Daniel Johnson (Inspired By True Events)The First Date by Daniel Johnson (Inspired By True Events)
The First Date by Daniel Johnson (Inspired By True Events)thephillipta
 
Downtown Call Girls O5O91O128O Pakistani Call Girls in Downtown
Downtown Call Girls O5O91O128O Pakistani Call Girls in DowntownDowntown Call Girls O5O91O128O Pakistani Call Girls in Downtown
Downtown Call Girls O5O91O128O Pakistani Call Girls in Downtowndajasot375
 
San Jon Motel, Motel/Residence, San Jon NM
San Jon Motel, Motel/Residence, San Jon NMSan Jon Motel, Motel/Residence, San Jon NM
San Jon Motel, Motel/Residence, San Jon NMroute66connected
 
Akola Call Girls #9907093804 Contact Number Escorts Service Akola
Akola Call Girls #9907093804 Contact Number Escorts Service AkolaAkola Call Girls #9907093804 Contact Number Escorts Service Akola
Akola Call Girls #9907093804 Contact Number Escorts Service Akolasrsj9000
 
Mandi House Call Girls : ☎ 8527673949, Low rate Call Girls
Mandi House Call Girls : ☎ 8527673949, Low rate Call GirlsMandi House Call Girls : ☎ 8527673949, Low rate Call Girls
Mandi House Call Girls : ☎ 8527673949, Low rate Call Girlsashishs7044
 
Bridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.comBridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.comthephillipta
 
FULL ENJOY - 9953040155 Call Girls in Noida | Delhi
FULL ENJOY - 9953040155 Call Girls in Noida | DelhiFULL ENJOY - 9953040155 Call Girls in Noida | Delhi
FULL ENJOY - 9953040155 Call Girls in Noida | DelhiMalviyaNagarCallGirl
 
FULL ENJOY - 9953040155 Call Girls in Shaheen Bagh | Delhi
FULL ENJOY - 9953040155 Call Girls in Shaheen Bagh | DelhiFULL ENJOY - 9953040155 Call Girls in Shaheen Bagh | Delhi
FULL ENJOY - 9953040155 Call Girls in Shaheen Bagh | DelhiMalviyaNagarCallGirl
 
FULL ENJOY - 9953040155 Call Girls in New Ashok Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in New Ashok Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in New Ashok Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in New Ashok Nagar | DelhiMalviyaNagarCallGirl
 
FULL ENJOY - 9953040155 Call Girls in Paschim Vihar | Delhi
FULL ENJOY - 9953040155 Call Girls in Paschim Vihar | DelhiFULL ENJOY - 9953040155 Call Girls in Paschim Vihar | Delhi
FULL ENJOY - 9953040155 Call Girls in Paschim Vihar | DelhiMalviyaNagarCallGirl
 
FULL ENJOY - 9953040155 Call Girls in Dwarka Mor | Delhi
FULL ENJOY - 9953040155 Call Girls in Dwarka Mor | DelhiFULL ENJOY - 9953040155 Call Girls in Dwarka Mor | Delhi
FULL ENJOY - 9953040155 Call Girls in Dwarka Mor | DelhiMalviyaNagarCallGirl
 
Karachi Escorts | +923070433345 | Escort Service in Karachi
Karachi Escorts | +923070433345 | Escort Service in KarachiKarachi Escorts | +923070433345 | Escort Service in Karachi
Karachi Escorts | +923070433345 | Escort Service in KarachiAyesha Khan
 
Jagat Puri Call Girls : ☎ 8527673949, Low rate Call Girls
Jagat Puri Call Girls : ☎ 8527673949, Low rate Call GirlsJagat Puri Call Girls : ☎ 8527673949, Low rate Call Girls
Jagat Puri Call Girls : ☎ 8527673949, Low rate Call Girlsashishs7044
 
Islamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad Escorts
Islamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad EscortsIslamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad Escorts
Islamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad Escortswdefrd
 
Turn Lock Take Key Storyboard Daniel Johnson
Turn Lock Take Key Storyboard Daniel JohnsonTurn Lock Take Key Storyboard Daniel Johnson
Turn Lock Take Key Storyboard Daniel Johnsonthephillipta
 
FULL ENJOY - 9953040155 Call Girls in Mahipalpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Mahipalpur | DelhiFULL ENJOY - 9953040155 Call Girls in Mahipalpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Mahipalpur | DelhiMalviyaNagarCallGirl
 
Roadrunner Lodge, Motel/Residence, Tucumcari NM
Roadrunner Lodge, Motel/Residence, Tucumcari NMRoadrunner Lodge, Motel/Residence, Tucumcari NM
Roadrunner Lodge, Motel/Residence, Tucumcari NMroute66connected
 
FULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
FULL ENJOY - 9953040155 Call Girls in Shahdara | DelhiFULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
FULL ENJOY - 9953040155 Call Girls in Shahdara | DelhiMalviyaNagarCallGirl
 
FULL ENJOY - 9953040155 Call Girls in Moti Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Moti Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in Moti Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Moti Nagar | DelhiMalviyaNagarCallGirl
 

Recently uploaded (20)

FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
 
The First Date by Daniel Johnson (Inspired By True Events)
The First Date by Daniel Johnson (Inspired By True Events)The First Date by Daniel Johnson (Inspired By True Events)
The First Date by Daniel Johnson (Inspired By True Events)
 
Downtown Call Girls O5O91O128O Pakistani Call Girls in Downtown
Downtown Call Girls O5O91O128O Pakistani Call Girls in DowntownDowntown Call Girls O5O91O128O Pakistani Call Girls in Downtown
Downtown Call Girls O5O91O128O Pakistani Call Girls in Downtown
 
San Jon Motel, Motel/Residence, San Jon NM
San Jon Motel, Motel/Residence, San Jon NMSan Jon Motel, Motel/Residence, San Jon NM
San Jon Motel, Motel/Residence, San Jon NM
 
Akola Call Girls #9907093804 Contact Number Escorts Service Akola
Akola Call Girls #9907093804 Contact Number Escorts Service AkolaAkola Call Girls #9907093804 Contact Number Escorts Service Akola
Akola Call Girls #9907093804 Contact Number Escorts Service Akola
 
Mandi House Call Girls : ☎ 8527673949, Low rate Call Girls
Mandi House Call Girls : ☎ 8527673949, Low rate Call GirlsMandi House Call Girls : ☎ 8527673949, Low rate Call Girls
Mandi House Call Girls : ☎ 8527673949, Low rate Call Girls
 
Bridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.comBridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.com
 
FULL ENJOY - 9953040155 Call Girls in Noida | Delhi
FULL ENJOY - 9953040155 Call Girls in Noida | DelhiFULL ENJOY - 9953040155 Call Girls in Noida | Delhi
FULL ENJOY - 9953040155 Call Girls in Noida | Delhi
 
FULL ENJOY - 9953040155 Call Girls in Shaheen Bagh | Delhi
FULL ENJOY - 9953040155 Call Girls in Shaheen Bagh | DelhiFULL ENJOY - 9953040155 Call Girls in Shaheen Bagh | Delhi
FULL ENJOY - 9953040155 Call Girls in Shaheen Bagh | Delhi
 
FULL ENJOY - 9953040155 Call Girls in New Ashok Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in New Ashok Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in New Ashok Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in New Ashok Nagar | Delhi
 
FULL ENJOY - 9953040155 Call Girls in Paschim Vihar | Delhi
FULL ENJOY - 9953040155 Call Girls in Paschim Vihar | DelhiFULL ENJOY - 9953040155 Call Girls in Paschim Vihar | Delhi
FULL ENJOY - 9953040155 Call Girls in Paschim Vihar | Delhi
 
FULL ENJOY - 9953040155 Call Girls in Dwarka Mor | Delhi
FULL ENJOY - 9953040155 Call Girls in Dwarka Mor | DelhiFULL ENJOY - 9953040155 Call Girls in Dwarka Mor | Delhi
FULL ENJOY - 9953040155 Call Girls in Dwarka Mor | Delhi
 
Karachi Escorts | +923070433345 | Escort Service in Karachi
Karachi Escorts | +923070433345 | Escort Service in KarachiKarachi Escorts | +923070433345 | Escort Service in Karachi
Karachi Escorts | +923070433345 | Escort Service in Karachi
 
Jagat Puri Call Girls : ☎ 8527673949, Low rate Call Girls
Jagat Puri Call Girls : ☎ 8527673949, Low rate Call GirlsJagat Puri Call Girls : ☎ 8527673949, Low rate Call Girls
Jagat Puri Call Girls : ☎ 8527673949, Low rate Call Girls
 
Islamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad Escorts
Islamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad EscortsIslamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad Escorts
Islamabad Call Girls # 03091665556 # Call Girls in Islamabad | Islamabad Escorts
 
Turn Lock Take Key Storyboard Daniel Johnson
Turn Lock Take Key Storyboard Daniel JohnsonTurn Lock Take Key Storyboard Daniel Johnson
Turn Lock Take Key Storyboard Daniel Johnson
 
FULL ENJOY - 9953040155 Call Girls in Mahipalpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Mahipalpur | DelhiFULL ENJOY - 9953040155 Call Girls in Mahipalpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Mahipalpur | Delhi
 
Roadrunner Lodge, Motel/Residence, Tucumcari NM
Roadrunner Lodge, Motel/Residence, Tucumcari NMRoadrunner Lodge, Motel/Residence, Tucumcari NM
Roadrunner Lodge, Motel/Residence, Tucumcari NM
 
FULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
FULL ENJOY - 9953040155 Call Girls in Shahdara | DelhiFULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
FULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
 
FULL ENJOY - 9953040155 Call Girls in Moti Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Moti Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in Moti Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Moti Nagar | Delhi
 

naturallanguageprocessing-160722053804.pdf

  • 1. CMIS 4114 Index : 122139 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 • Borrows from Linguistics, Psycholinguistics, Cognitive Science & Statistics • 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 • Techniques and Methods 8
  • 9. Components of NLP • Natural Language Understanding • Taking some spoken/typed sentence and working out what it means • 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) 9
  • 10. Components of NLP (cont.) • Natural Language Understanding • Mapping the given input in the natural language into a useful representation • Different level of analysis required: • morphological analysis • syntactic analysis • semantic analysis • discourse analysis 10
  • 11. Components of NLP (cont.) • Natural Language Generation • Producing output in the natural language from some internal representation • Different level of synthesis required: • deep planning (what to say) • syntactic generation • NL Understanding is much harder than NL Generation. But, still both of them are hard 11
  • 12. 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 12
  • 13. Steps of NLP 13 Morphological and Lexical Analysis Syntactic Analysis Semantic Analysis Discourse Integration Pragmatic Analysis
  • 14. 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 14
  • 15. 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 15
  • 16. 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 16
  • 17. 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 17
  • 18. Pragmatic Analysis • Pragmatics concerns the overall communicative and social context and its effect on interpretation • It means abstracting or deriving the purposeful use of the language in situations • 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 18
  • 19. Natural Language Generation • NLG is the process of constructing natural language outputs from non-linguistic inputs • NLG can be viewed as the reverse process of NL understanding • A NLG system may have two main parts: • Discourse Planner what will be generated. which sentences • Surface Realizer realizes a sentence from its internal representation • Lexical Selection selecting the correct words describing the concepts 19
  • 20. Techniques and methods • Machine learning • The learning procedures used during machine learning • Automatically focuses on the most common cases • Whereas when we write rules by hand it is often not correct at all • Concerned on human errors 20
  • 21. Techniques and methods • Statistical inference • Automatic learning procedures can make use of statistical inference algorithms • Used to produce models that are robust (means strength) to unfamiliar input e.g. containing words or structures that have not been seen before • Making intelligent guesses 21
  • 22. Techniques and methods • Input database and Training data • Systems based on automatically learning the rules can be made more accurate simply by supplying more input data or source to it • However, systems based on hand- written rules can only be made more accurate by increasing the complexity of the rules, which is a much more difficult task 22
  • 23. CONCLUSION • NLP vs. Computer Language • Future of NLP • Summery 23
  • 24. Natural language vs. Computer language • Ambiguity is the primary difference between natural and computer languages • Formal programming languages are designed to be unambiguous • They can be defined by a grammar that produces a unique parse for each sentence in the language • Programming languages are also designed for efficient (deterministic) parsing • They are deterministic context-free languages (DCLFs) 24
  • 25. 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 • Make computers as they can solve problems like humans and think like humans as well as perform activities that humans cant perform and making it more efficient than humans 25
  • 26. Cont.… • NLP's future is closely linked to the growth of Artificial intelligence • As natural language understanding or readability improves, computers or machines or devices will be able to learn from the information online and apply what they learned in the real world • Combined with natural language generation, computers will become more and more capable of receiving and giving useful and resourceful information or data 26
  • 27. 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 27