SlideShare a Scribd company logo
1 of 43
NISHANTHINI
What is Natural Language?


Language is meant for Communicating about
the world.



By studying language, we can come to understand
more about the world.



Refers to the language spoken by people,
e.g. English, Japanese, Swahili, etc.
What Is Natural Language?

One of the aims of Artificial Intelligence (AI) is to
build machines that can "understand" commands in
natural language, written or spoken.
 A computer that can do this requires very powerful
hardware and sophisticated software.
 At the present time, this is at the early stages of
development.
Introduction to NLP
It is not an easy task to teach a person or computer a
natural language.
The main problems are syntax (the rules governing the way
in which words are arranged), and understanding context to
determine the meaning of a word.
To interpret even simple phrases requires a vast amount of
knowledge.
The basic goal of Natural language Processing is to enable a
person to communicate with a computer in a language that
they use in their everyday life.
Natural Language And Computer Language
Natural language are those that we use for communicating
with each other, eg. Arabic, English, French, Japanese, etc.
Natural language are expressive and easy for us to use.
Computer languages are those that we use for controlling
the operations of a computer, eg. Prolog, C, C++, C#, Java,
Python,…,etc.
Computer languages are easy for a computer to understand,
but they are not expressive.
What is Natural Language Processing?





”Natural language processing (NLP) is a field of computer
science, artificial intelligence (also called machine
learning), and linguistics concerned with the interactions
between computers and human (natural) languages.
Specifically, the process of a computer extracting
meaningful information from natural language input
and/or producing natural language output ”
Why Natural Language Processing?

kJfmmfj mmmvvv nnnffn333
Uj iheale eleee mnster vensi credur

Baboi oi cestnitze
Coovoel2^ ekk; ldsllk lkdf vnnjfj?

Fgmflmllk mlfm kfre xnnn!
Computers Lack Knowledge
•Computers “see” text in English the same you have
seen the previous text!
•People have no trouble understanding language
•Common sense knowledge
•Reasoning capacity
•Experience
•Computers have
•No common sense knowledge
•No reasoning capacity
Why Natural Language Processing?
Huge amounts of data
Internet = at least 20
billions pages
Intranet

•Classify text into categories
•Index and search large texts
•Automatic translation
•Speech understanding
•Understand phone conversations

•Information extraction
•Extract useful information from
resumes

Applications for processing •Automatic summarization
large amounts of texts
•Condense 1 book into 1 page
require NLP expertise
•Question answering
•Knowledge acquisition
•Text generations / dialogues
Why
is
Computer
Processing
of
Human Language
Difficult?
How can a machine understand these differences?

Decorate the cake with the frosting.
Decorate the cake with the kids.
Throw out the cake with the frosting.
Throw out the cake with the kids.
How To Tackle These Problems?

Solution is
NATURAL
LANGUAGE
PROCESSING
Goals Of Natural Language Processing?
•Scientific Goal
•Identify the computational machinery
needed for an agent to exhibit various forms
of linguistic behavior
•Engineering Goal
•Design, implement, and test systems that
process natural languages for practical
applications
Where does it fit in the CS taxonomy?
Computers
Databases

Robotics

Information
Retrieval

Artificial Intelligence

Algorithms

Networking

Search

Natural Language Processing

Machine
Translation

Language
Analysis

Semantics

Parsing
Methods In Natural Language Processing

•Natural Language Understanding(NLU)
The NLU task is understanding and
reasoning while the input is a natural language
•Natural Language Generation(NLG)
NLG is a subfield of Natural Language
Processing
NLG is also referred to text generation
Linguistic And Language Processing

Linguistic is the science of language. It study includes
•Sounds(phonology),

•Word formation(morphology),
•Sentence structure(syntax),

•Meaning(semantics) and Understanding(pragmatics) etc
Levels Of Linguistic Analysis
Steps in Natural Language Processing
Steps in Natural Language Processing
Natural Language Processing is done at 5 Levels

Morphological Analysis
Syntactic Analysis
Semantic Analysis
Discourse integration

Pragmatic Analysis
Morphological Analysis
Individual words are analyzed into their components and non-word
tokens such as punctuation are separated from the words.
Morphology is the structure of words.
It is concerned with inflection.
 It is also concerned with derivation of new words from existing
ones.
 In NLP, words are also known as lexicon items and a set of
words form a lexicon.
Why it is important?
Any NL analysis system needs a lexicon {a module that tells what
words there are and what properties they have}.
Simplest model is a full form dictionary that lists every word
explicitly.

Simply expanding the dictionary fails to take advantages of the
regularities.
No dictionary contains all the words one is likely to encounter in
real input.
- Languages with highly productive morphology (e.g. Finnish, where a
verb can have many thousands of forms.)
- Noun Compounding
Morphological Analysis: Example

Suppose we have an English interface to an
operating system and the following sentence is
typed:
I want to print Bill’s .init file.

Morphological analysis must do the following
things:
Pull apart the word “Bill’s” into proper noun “Bill” and
the possessive suffix “’s”
Recognize the sequence “.init” as a file extension that is
functioning as an adjective in the sentence.
Syntactic Analysis
•Here the analysis is of words in a sentence to
know the grammatical structure of a sentence.
•The words are transformed into structures that
show the words relate to each others.
•Some word sequences may be rejected if they
violate the rules of the language for how words
may be combined.
•Example : “Boy the go the to store”
Syntactic Analysis : Example
John hit the ball

S -Sentence
NP -Noun Phrase
VP -Verb Phrase
Det-Determiner
N -Noun
Semantic Analysis

Semantic analysis is concerned with the meaning
of the language.
The first step in any semantic processing system is to
look up the individual words in a dictionary
(or lexicon) and extract their meanings.
Semantic Analysis
Unfortunately, many words have several meanings, for example, the
word ‘diamond’ might have the following set of meanings:
(1) a geometrical shape with four equal sides.
(2) a baseball field
(3) an extremely hard and valuable gemstone
Semantic Analysis
To select the correct meaning for the word ‘diamond’ in the
sentence “Joan saw Susan’s diamond shimmering from across the
room”.
It is necessary to know that neither geometrical shapes nor baseball
fields shimmer, whereas gemstones do (process of elimination).
The process of determining the correct meaning of an individual
word is call
or
.
It is done by associating, with each word in the lexicon,
information about the contexts in which each of the word’s senses
may appear.
Semantic Analysis
Other useful semantic markers are
PHYSICAL-OBJECT
ANIMATE-OBJECT
ABSTRACT-OBJECT
Using these markers, the correct meaning of ‘diamond’
in the sentence “I dropped my diamond” can be
computed.
As part of the lexical entry, the verb ‘drop’ will specify
that its object must be a PHYSICAL-OBJECT.
Semantic Analysis

Finally, we have to process the text at sentence level.
There are four approaches to this.
•semantic grammar
•case grammar
•conceptual parsing
•approximately compositional semantic interpretation.
Discourse Integration
The meaning of individual sentence may
depend on the sentences that precede it and
may influence the meaning of the sentences
that follow it

Example : “You wanted it”
Once the correct reference for it is known, we
can also determine exactly which it is being
referred to.
Pragmatic Analysis
The final step in pragmatic processing is to translate, from the knowledge
based representation to a command to be executed by the system.
This is an additional stage of analysis concerned with the pragmatic
use of the language.
This is important in the understanding of texts and dialogues.
The idea is, what was said is reinterpreted to determine what was actually
meant.
Example: “Do you know what time it is?”
Should be interpreted as a request.
Real World NLP Application
Machine Translation
Information Retrieval / NL interface
Information Visualization
Autonomous interacting bots
Grammar Checking Systems

Speech Recognition Systems / Speech Synthesizers
Document Summary Systems
Machine Translation: Deluxe Universal Translator
Information Retrieval: Buzzcity
AltaVista Search Engine
AltaVista Search Engine
Information Visualization: Cartia’s Themescape
Autonomous interacting bots: Eliza’s grand-daughter -Lisa

http://stuff.simplenet.com/files/doorsam/lisa18.zip
Grammar Checking Systems: MS Word Grammar Checker
Nlp

More Related Content

What's hot

Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language ProcessingRishikese MR
 
Introduction to Natural Language Processing (NLP)
Introduction to Natural Language Processing (NLP)Introduction to Natural Language Processing (NLP)
Introduction to Natural Language Processing (NLP)VenkateshMurugadas
 
Natural language processing
Natural language processingNatural language processing
Natural language processingKarenVacca
 
Natural Language Processing
Natural Language Processing Natural Language Processing
Natural Language Processing Adarsh Saxena
 
Natural Language Processing (NLP)
Natural Language Processing (NLP)Natural Language Processing (NLP)
Natural Language Processing (NLP)Yuriy Guts
 
Introduction to natural language processing
Introduction to natural language processingIntroduction to natural language processing
Introduction to natural language processingMinh Pham
 
Natural Language Processing (NLP).pptx
Natural Language Processing (NLP).pptxNatural Language Processing (NLP).pptx
Natural Language Processing (NLP).pptxSHIBDASDUTTA
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processingsaurabhnarhe
 
Natural language processing (NLP)
Natural language processing (NLP) Natural language processing (NLP)
Natural language processing (NLP) ASWINKP11
 
Natural lanaguage processing
Natural lanaguage processingNatural lanaguage processing
Natural lanaguage processinggulshan kumar
 
Natural language processing (nlp)
Natural language processing (nlp)Natural language processing (nlp)
Natural language processing (nlp)Kuppusamy P
 
Natural language processing
Natural language processingNatural language processing
Natural language processingprashantdahake
 
Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language ProcessingPranav Gupta
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language ProcessingBhavya Chawla
 

What's hot (20)

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
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
NLP
NLPNLP
NLP
 
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 processingNatural language processing
Natural language processing
 
Natural Language Processing
Natural Language Processing Natural Language Processing
Natural Language Processing
 
Natural Language Processing (NLP)
Natural Language Processing (NLP)Natural Language Processing (NLP)
Natural Language Processing (NLP)
 
Introduction to natural language processing
Introduction to natural language processingIntroduction to natural language processing
Introduction to natural language processing
 
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
 
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
Natural language processingNatural language processing
Natural language processing
 
Natural language processing
Natural language processingNatural language processing
Natural language processing
 
NLP
NLPNLP
NLP
 
Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language Processing
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 

Viewers also liked

Natural Language Processing and Machine Learning
Natural Language Processing and Machine LearningNatural Language Processing and Machine Learning
Natural Language Processing and Machine LearningKarthik Sankar
 
Journée Inter-GDR ISIS et Robotique: Interaction Homme-Robot
Journée Inter-GDR ISIS et Robotique: Interaction Homme-RobotJournée Inter-GDR ISIS et Robotique: Interaction Homme-Robot
Journée Inter-GDR ISIS et Robotique: Interaction Homme-RobotLê Anh
 
lexicography
lexicographylexicography
lexicographyayfa
 
Un día hipotético
Un día hipotéticoUn día hipotético
Un día hipotéticoLucipaly
 
Colloquial & Literary types of communiation
Colloquial & Literary types of communiationColloquial & Literary types of communiation
Colloquial & Literary types of communiationlizibobo
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligencemailmerk
 
Weave-D - 2nd Progress Evaluation Presentation
Weave-D - 2nd Progress Evaluation PresentationWeave-D - 2nd Progress Evaluation Presentation
Weave-D - 2nd Progress Evaluation Presentationlasinducharith
 
Global Messaging Trends 2 - When are chatbots actually useful?
Global Messaging Trends 2 - When are chatbots actually useful?Global Messaging Trends 2 - When are chatbots actually useful?
Global Messaging Trends 2 - When are chatbots actually useful?Andrew Schorr
 
Text to Speech for Mobile Voice
Text to Speech for Mobile Voice Text to Speech for Mobile Voice
Text to Speech for Mobile Voice June Hostetter
 
Strengthening the Institutional Capacity of the PVTD within the Vocational T...
Strengthening the Institutional Capacity of the PVTD within the Vocational T...Strengthening the Institutional Capacity of the PVTD within the Vocational T...
Strengthening the Institutional Capacity of the PVTD within the Vocational T...Timo Rainio
 
Sagt07 Online Rev Vle
Sagt07 Online Rev VleSagt07 Online Rev Vle
Sagt07 Online Rev VleRCha
 
Finance bots - The move toward conversational finance
Finance bots - The move toward conversational financeFinance bots - The move toward conversational finance
Finance bots - The move toward conversational financeOrganic, Inc
 
Machine Learning in NLP
Machine Learning in NLPMachine Learning in NLP
Machine Learning in NLPVijay Ganti
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligenceiarthur
 
Minds Lab Contact_Center_Solution_Using_ai_v1.0
Minds Lab Contact_Center_Solution_Using_ai_v1.0Minds Lab Contact_Center_Solution_Using_ai_v1.0
Minds Lab Contact_Center_Solution_Using_ai_v1.0Eunjee Lee
 
NLP & Machine Learning - An Introductory Talk
NLP & Machine Learning - An Introductory Talk NLP & Machine Learning - An Introductory Talk
NLP & Machine Learning - An Introductory Talk Vijay Ganti
 
Natural Language Processing in Alternative and Augmentative Communication
Natural Language Processing in Alternative and Augmentative CommunicationNatural Language Processing in Alternative and Augmentative Communication
Natural Language Processing in Alternative and Augmentative CommunicationDivya Sugumar
 

Viewers also liked (20)

Natural Language Processing and Machine Learning
Natural Language Processing and Machine LearningNatural Language Processing and Machine Learning
Natural Language Processing and Machine Learning
 
Journée Inter-GDR ISIS et Robotique: Interaction Homme-Robot
Journée Inter-GDR ISIS et Robotique: Interaction Homme-RobotJournée Inter-GDR ISIS et Robotique: Interaction Homme-Robot
Journée Inter-GDR ISIS et Robotique: Interaction Homme-Robot
 
lexicography
lexicographylexicography
lexicography
 
Stylistic lexicology
Stylistic lexicologyStylistic lexicology
Stylistic lexicology
 
Un día hipotético
Un día hipotéticoUn día hipotético
Un día hipotético
 
Colloquial & Literary types of communiation
Colloquial & Literary types of communiationColloquial & Literary types of communiation
Colloquial & Literary types of communiation
 
NLP e Chatbots
NLP e ChatbotsNLP e Chatbots
NLP e Chatbots
 
Artificial intelligence
Artificial intelligenceArtificial intelligence
Artificial intelligence
 
Weave-D - 2nd Progress Evaluation Presentation
Weave-D - 2nd Progress Evaluation PresentationWeave-D - 2nd Progress Evaluation Presentation
Weave-D - 2nd Progress Evaluation Presentation
 
Global Messaging Trends 2 - When are chatbots actually useful?
Global Messaging Trends 2 - When are chatbots actually useful?Global Messaging Trends 2 - When are chatbots actually useful?
Global Messaging Trends 2 - When are chatbots actually useful?
 
Text to Speech for Mobile Voice
Text to Speech for Mobile Voice Text to Speech for Mobile Voice
Text to Speech for Mobile Voice
 
Strengthening the Institutional Capacity of the PVTD within the Vocational T...
Strengthening the Institutional Capacity of the PVTD within the Vocational T...Strengthening the Institutional Capacity of the PVTD within the Vocational T...
Strengthening the Institutional Capacity of the PVTD within the Vocational T...
 
Sagt07 Online Rev Vle
Sagt07 Online Rev VleSagt07 Online Rev Vle
Sagt07 Online Rev Vle
 
Finance bots - The move toward conversational finance
Finance bots - The move toward conversational financeFinance bots - The move toward conversational finance
Finance bots - The move toward conversational finance
 
Machine Learning in NLP
Machine Learning in NLPMachine Learning in NLP
Machine Learning in NLP
 
Lexicology
LexicologyLexicology
Lexicology
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Minds Lab Contact_Center_Solution_Using_ai_v1.0
Minds Lab Contact_Center_Solution_Using_ai_v1.0Minds Lab Contact_Center_Solution_Using_ai_v1.0
Minds Lab Contact_Center_Solution_Using_ai_v1.0
 
NLP & Machine Learning - An Introductory Talk
NLP & Machine Learning - An Introductory Talk NLP & Machine Learning - An Introductory Talk
NLP & Machine Learning - An Introductory Talk
 
Natural Language Processing in Alternative and Augmentative Communication
Natural Language Processing in Alternative and Augmentative CommunicationNatural Language Processing in Alternative and Augmentative Communication
Natural Language Processing in Alternative and Augmentative Communication
 

Similar to Nlp

Natural language processing
Natural language processingNatural language processing
Natural language processingSaurav Aryal
 
Artificial Intelligence Notes Unit 4
Artificial Intelligence Notes Unit 4Artificial Intelligence Notes Unit 4
Artificial Intelligence Notes Unit 4DigiGurukul
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language ProcessingMariana Soffer
 
Natural language processing
Natural language processingNatural language processing
Natural language processingBasha Chand
 
Natural Language Processing - Unit 1
Natural Language Processing - Unit 1Natural Language Processing - Unit 1
Natural Language Processing - Unit 1Mithun B N
 
Natural Language Processing (NLP)
Natural Language Processing (NLP)Natural Language Processing (NLP)
Natural Language Processing (NLP)Abdullah al Mamun
 
Natural Language Processing from Object Automation
Natural Language Processing from Object Automation Natural Language Processing from Object Automation
Natural Language Processing from Object Automation Object Automation
 
NLP pipeline in machine translation
NLP pipeline in machine translationNLP pipeline in machine translation
NLP pipeline in machine translationMarcis Pinnis
 
Engineering Intelligent NLP Applications Using Deep Learning – Part 1
Engineering Intelligent NLP Applications Using Deep Learning – Part 1Engineering Intelligent NLP Applications Using Deep Learning – Part 1
Engineering Intelligent NLP Applications Using Deep Learning – Part 1Saurabh Kaushik
 
Natural Language Processing Course in AI
Natural Language Processing Course in AINatural Language Processing Course in AI
Natural Language Processing Course in AISATHYANARAYANAKB
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)IJERD Editor
 

Similar to Nlp (20)

REPORT.doc
REPORT.docREPORT.doc
REPORT.doc
 
Natural language processing
Natural language processingNatural language processing
Natural language processing
 
1 Introduction.ppt
1 Introduction.ppt1 Introduction.ppt
1 Introduction.ppt
 
Artificial Intelligence Notes Unit 4
Artificial Intelligence Notes Unit 4Artificial Intelligence Notes Unit 4
Artificial Intelligence Notes Unit 4
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
Ijetcas14 458
Ijetcas14 458Ijetcas14 458
Ijetcas14 458
 
Natural Language Processing.pptx
Natural Language Processing.pptxNatural Language Processing.pptx
Natural Language Processing.pptx
 
Natural language processing
Natural language processingNatural language processing
Natural language processing
 
Natural Language Processing - Unit 1
Natural Language Processing - Unit 1Natural Language Processing - Unit 1
Natural Language Processing - Unit 1
 
Natural Language Processing (NLP)
Natural Language Processing (NLP)Natural Language Processing (NLP)
Natural Language Processing (NLP)
 
Nlp
NlpNlp
Nlp
 
Natural Language Processing from Object Automation
Natural Language Processing from Object Automation Natural Language Processing from Object Automation
Natural Language Processing from Object Automation
 
Nlp ambiguity presentation
Nlp ambiguity presentationNlp ambiguity presentation
Nlp ambiguity presentation
 
NLP todo
NLP todoNLP todo
NLP todo
 
NLP pipeline in machine translation
NLP pipeline in machine translationNLP pipeline in machine translation
NLP pipeline in machine translation
 
Nlp (1)
Nlp (1)Nlp (1)
Nlp (1)
 
Engineering Intelligent NLP Applications Using Deep Learning – Part 1
Engineering Intelligent NLP Applications Using Deep Learning – Part 1Engineering Intelligent NLP Applications Using Deep Learning – Part 1
Engineering Intelligent NLP Applications Using Deep Learning – Part 1
 
L1 nlp intro
L1 nlp introL1 nlp intro
L1 nlp intro
 
Natural Language Processing Course in AI
Natural Language Processing Course in AINatural Language Processing Course in AI
Natural Language Processing Course in AI
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 

Recently uploaded

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 

Recently uploaded (20)

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 

Nlp

  • 1.
  • 3. What is Natural Language?  Language is meant for Communicating about the world.  By studying language, we can come to understand more about the world.  Refers to the language spoken by people, e.g. English, Japanese, Swahili, etc.
  • 4. What Is Natural Language? One of the aims of Artificial Intelligence (AI) is to build machines that can "understand" commands in natural language, written or spoken.  A computer that can do this requires very powerful hardware and sophisticated software.  At the present time, this is at the early stages of development.
  • 5. Introduction to NLP It is not an easy task to teach a person or computer a natural language. The main problems are syntax (the rules governing the way in which words are arranged), and understanding context to determine the meaning of a word. To interpret even simple phrases requires a vast amount of knowledge. The basic goal of Natural language Processing is to enable a person to communicate with a computer in a language that they use in their everyday life.
  • 6. Natural Language And Computer Language Natural language are those that we use for communicating with each other, eg. Arabic, English, French, Japanese, etc. Natural language are expressive and easy for us to use. Computer languages are those that we use for controlling the operations of a computer, eg. Prolog, C, C++, C#, Java, Python,…,etc. Computer languages are easy for a computer to understand, but they are not expressive.
  • 7. What is Natural Language Processing?   ”Natural language processing (NLP) is a field of computer science, artificial intelligence (also called machine learning), and linguistics concerned with the interactions between computers and human (natural) languages. Specifically, the process of a computer extracting meaningful information from natural language input and/or producing natural language output ”
  • 8. Why Natural Language Processing? kJfmmfj mmmvvv nnnffn333 Uj iheale eleee mnster vensi credur Baboi oi cestnitze Coovoel2^ ekk; ldsllk lkdf vnnjfj? Fgmflmllk mlfm kfre xnnn!
  • 9. Computers Lack Knowledge •Computers “see” text in English the same you have seen the previous text! •People have no trouble understanding language •Common sense knowledge •Reasoning capacity •Experience •Computers have •No common sense knowledge •No reasoning capacity
  • 10. Why Natural Language Processing? Huge amounts of data Internet = at least 20 billions pages Intranet •Classify text into categories •Index and search large texts •Automatic translation •Speech understanding •Understand phone conversations •Information extraction •Extract useful information from resumes Applications for processing •Automatic summarization large amounts of texts •Condense 1 book into 1 page require NLP expertise •Question answering •Knowledge acquisition •Text generations / dialogues
  • 12. How can a machine understand these differences? Decorate the cake with the frosting. Decorate the cake with the kids. Throw out the cake with the frosting. Throw out the cake with the kids.
  • 13. How To Tackle These Problems? Solution is NATURAL LANGUAGE PROCESSING
  • 14. Goals Of Natural Language Processing? •Scientific Goal •Identify the computational machinery needed for an agent to exhibit various forms of linguistic behavior •Engineering Goal •Design, implement, and test systems that process natural languages for practical applications
  • 15. Where does it fit in the CS taxonomy? Computers Databases Robotics Information Retrieval Artificial Intelligence Algorithms Networking Search Natural Language Processing Machine Translation Language Analysis Semantics Parsing
  • 16. Methods In Natural Language Processing •Natural Language Understanding(NLU) The NLU task is understanding and reasoning while the input is a natural language •Natural Language Generation(NLG) NLG is a subfield of Natural Language Processing NLG is also referred to text generation
  • 17. Linguistic And Language Processing Linguistic is the science of language. It study includes •Sounds(phonology), •Word formation(morphology), •Sentence structure(syntax), •Meaning(semantics) and Understanding(pragmatics) etc
  • 19. Steps in Natural Language Processing
  • 20. Steps in Natural Language Processing Natural Language Processing is done at 5 Levels Morphological Analysis Syntactic Analysis Semantic Analysis Discourse integration Pragmatic Analysis
  • 21. Morphological Analysis Individual words are analyzed into their components and non-word tokens such as punctuation are separated from the words. Morphology is the structure of words. It is concerned with inflection.  It is also concerned with derivation of new words from existing ones.  In NLP, words are also known as lexicon items and a set of words form a lexicon.
  • 22.
  • 23. Why it is important? Any NL analysis system needs a lexicon {a module that tells what words there are and what properties they have}. Simplest model is a full form dictionary that lists every word explicitly. Simply expanding the dictionary fails to take advantages of the regularities. No dictionary contains all the words one is likely to encounter in real input. - Languages with highly productive morphology (e.g. Finnish, where a verb can have many thousands of forms.) - Noun Compounding
  • 24. Morphological Analysis: Example Suppose we have an English interface to an operating system and the following sentence is typed: I want to print Bill’s .init file. Morphological analysis must do the following things: Pull apart the word “Bill’s” into proper noun “Bill” and the possessive suffix “’s” Recognize the sequence “.init” as a file extension that is functioning as an adjective in the sentence.
  • 25.
  • 26. Syntactic Analysis •Here the analysis is of words in a sentence to know the grammatical structure of a sentence. •The words are transformed into structures that show the words relate to each others. •Some word sequences may be rejected if they violate the rules of the language for how words may be combined. •Example : “Boy the go the to store”
  • 27. Syntactic Analysis : Example John hit the ball S -Sentence NP -Noun Phrase VP -Verb Phrase Det-Determiner N -Noun
  • 28. Semantic Analysis Semantic analysis is concerned with the meaning of the language. The first step in any semantic processing system is to look up the individual words in a dictionary (or lexicon) and extract their meanings.
  • 29. Semantic Analysis Unfortunately, many words have several meanings, for example, the word ‘diamond’ might have the following set of meanings: (1) a geometrical shape with four equal sides. (2) a baseball field (3) an extremely hard and valuable gemstone
  • 30. Semantic Analysis To select the correct meaning for the word ‘diamond’ in the sentence “Joan saw Susan’s diamond shimmering from across the room”. It is necessary to know that neither geometrical shapes nor baseball fields shimmer, whereas gemstones do (process of elimination). The process of determining the correct meaning of an individual word is call or . It is done by associating, with each word in the lexicon, information about the contexts in which each of the word’s senses may appear.
  • 31. Semantic Analysis Other useful semantic markers are PHYSICAL-OBJECT ANIMATE-OBJECT ABSTRACT-OBJECT Using these markers, the correct meaning of ‘diamond’ in the sentence “I dropped my diamond” can be computed. As part of the lexical entry, the verb ‘drop’ will specify that its object must be a PHYSICAL-OBJECT.
  • 32. Semantic Analysis Finally, we have to process the text at sentence level. There are four approaches to this. •semantic grammar •case grammar •conceptual parsing •approximately compositional semantic interpretation.
  • 33. Discourse Integration The meaning of individual sentence may depend on the sentences that precede it and may influence the meaning of the sentences that follow it Example : “You wanted it” Once the correct reference for it is known, we can also determine exactly which it is being referred to.
  • 34. Pragmatic Analysis The final step in pragmatic processing is to translate, from the knowledge based representation to a command to be executed by the system. This is an additional stage of analysis concerned with the pragmatic use of the language. This is important in the understanding of texts and dialogues. The idea is, what was said is reinterpreted to determine what was actually meant. Example: “Do you know what time it is?” Should be interpreted as a request.
  • 35. Real World NLP Application Machine Translation Information Retrieval / NL interface Information Visualization Autonomous interacting bots Grammar Checking Systems Speech Recognition Systems / Speech Synthesizers Document Summary Systems
  • 36. Machine Translation: Deluxe Universal Translator
  • 41. Autonomous interacting bots: Eliza’s grand-daughter -Lisa http://stuff.simplenet.com/files/doorsam/lisa18.zip
  • 42. Grammar Checking Systems: MS Word Grammar Checker