SlideShare a Scribd company logo
Natural Language Processing
BY SAURABH KAUSHIK (3174)
SARVESH RAWAT (3121)
SHAFAQ ALI (3122)
Overview of Linguistic
 Each human language is a complex of knowledge and abilities enabling
speakers of the language to communicate with each other, to express
ideas, hypotheses, emotions, desires, and all the other things that need
expressing.
 Linguistics is the study of these knowledge systems in all their aspects:
how is such a knowledge system structured, how is it acquired, how is it
used in the production and comprehension of messages, how does it
change over time? Linguists consequently are concerned with a number of
particular questions about the nature of language.
Levels of Language
Phonetic and phonological knowledge
Morphological knowledge
Syntactic knowledge
Semantic knowledge
Pragmatic knowledge
World knowledge
Phonetic and phonological knowledge
 This is knowledge which relates sounds to
the words we recognize.
 A phoneme is the smallest unit of sounds.
 Phones are aggregated into word sounds
Morphological knowledge
 This is lexical knowledge which relates to word
constructions from basic units called morphemes.
 A morpheme is the smallest unit of meaning.
 E.g. the construction of friendly from the root ‘friend’
and the suffix ‘ly’.
Syntactic knowledge
 This knowledge relates to how words are put together
or structured to form grammatically correct sentences
in the language
Semantic knowledge
 This knowledge is concerned with the meanings of
words and phrases and how they combine to form
sentence meanings.
Pragmatic knowledge
 This is high-level knowledge which relates to the use
of sentences in different contexts and how the
context affects the meaning of the sentences.
World knowledge
 World knowledge relates to the language a user must
have in order to understand and carry on a
conversation.
 It must include an understanding of the other
person’s beliefs and goals.
Grammars & Languages
 Alphabet (vocabulary): Σ
 Concatenation operations
 Σ* : set of all strings that can be formed with symbols of Σ
 Language: L ⊆ Σ*
 Given a string w1
n of Σ*:
w1
n = w1, …, wn
wi ∈ Σ
 We have to determine if w1
n ∈ L
Grammars & Languages
<V, Σ, P, S>
Non-terminal vocabulary
(set of variables)
Terminal vocabulary
(alphabet)
Production set
Initial variable
Example
Production Rules: S NP VP
NP ART N
VP V NP
N boy|popsicle|frog
V ate|kissed|flew
ART the|a
(S = starting symbol, NP = noun phrase, VP = verb phrase, N = noun, V = verb & ART = Article)
Sentence Generated : The boy ate a popsicle,The frog kissed a boy,A boy ate the frog.
Grammar Languages Automaton
Type-0 Recursively enumerable Turing machine
Type-1 Context-sensitive
Linear-bounded non-
deterministic Turing machine
Type-2 Context-free
Non-deterministic pushdown
automaton
Type-3 Regular Finite state automaton
Chomsky Hierarchy of Grammar
 Type 0 G :- xyz xwz , where y cannot be empty string.
 Type 1 G :- S aS; AB BA; |L.H.S|<=|R.H.S.|
 Type 2 G :- S aSb; A BC; here |L.H.S.|=1
 Type 3 G :- A aB;A a; Most restrictive grammer
Structural Representation
Basic Parsing Techniques
 Parsing technique, the method of analyzing a sentence to
determine its structure according to the grammar
 The most common way of representing how a sentence is
broken into its major subparts (constituents), and how those
subparts are broken up in turn, is a tree.
Basic Parsing Techniques
Lexicon Table
Transition Network
 Transition Network used to represent formal and natural language
structures.
 They are formed using directed graphs and finite state automata.
 It consist of No. of nodes and labeled arcs.
 The nodes represent different states in traversing a sentence & the arcs
represent rules or test conditions required to make the transition from one
state to the next.
 A path through a T.N. corresponds to a permissible sequence of word
types for a given grammar
Example
Sentences:-
a. Big white fluffy clouds.
b. Our bright children.
c. A large beautiful white
flower.
d. Large green leaves.
e. Buildings.
f. Boston’s best seafood
restaurants.
Top-Down V/S Bottom-up Parsing
Top-Down Parsing Bottom-Up Parsing
Deterministic V/S Non-Deterministic
Network
Recursive T.N.
Recursive T.N. is a T.N. which permits arc labels to refer to other networks
Augmented T.N.
 When we include semantic information with grammar then
performance of parser increases.
 We can achieve the additional capabilities by augmenting a
RTN with the ability to perform additional tests and store
immediate results as a sentence is being parsed, then
resulting T.N. is called an Augmented Transition Network.
THANK-YOU!

More Related Content

What's hot

Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language ProcessingMariana Soffer
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language ProcessingYasir Khan
 
Natural Language Processing (NLP) - Introduction
Natural Language Processing (NLP) - IntroductionNatural Language Processing (NLP) - Introduction
Natural Language Processing (NLP) - Introduction
Aritra Mukherjee
 
Nlp ambiguity presentation
Nlp ambiguity presentationNlp ambiguity presentation
Nlp ambiguity presentation
Gurram Poorna Prudhvi
 
Natural Language Processing: L02 words
Natural Language Processing: L02 wordsNatural Language Processing: L02 words
Natural Language Processing: L02 words
ananth
 
Natural language processing (NLP) introduction
Natural language processing (NLP) introductionNatural language processing (NLP) introduction
Natural language processing (NLP) introduction
Robert Lujo
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
Varunjeet Singh Rekhi
 
NLP_KASHK:Finite-State Morphological Parsing
NLP_KASHK:Finite-State Morphological ParsingNLP_KASHK:Finite-State Morphological Parsing
NLP_KASHK:Finite-State Morphological Parsing
Hemantha Kulathilake
 
Natural Language Processing: Parsing
Natural Language Processing: ParsingNatural Language Processing: Parsing
Natural Language Processing: Parsing
Rushdi Shams
 
Natural language processing
Natural language processingNatural language processing
Natural language processing
Saurav Aryal
 
Natural language processing (nlp)
Natural language processing (nlp)Natural language processing (nlp)
Natural language processing (nlp)
Kuppusamy P
 
Language Model (N-Gram).pptx
Language Model (N-Gram).pptxLanguage Model (N-Gram).pptx
Language Model (N-Gram).pptx
HeneWijaya
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
Rishikese MR
 
Information retrieval 9 tf idf weights
Information retrieval 9 tf idf weightsInformation retrieval 9 tf idf weights
Information retrieval 9 tf idf weights
Vaibhav Khanna
 
Introduction to natural language processing
Introduction to natural language processingIntroduction to natural language processing
Introduction to natural language processing
Minh Pham
 
Algorithm analysis
Algorithm analysisAlgorithm analysis
Algorithm analysissumitbardhan
 
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
Shubhankar Mohan
 
Natural Language processing Parts of speech tagging, its classes, and how to ...
Natural Language processing Parts of speech tagging, its classes, and how to ...Natural Language processing Parts of speech tagging, its classes, and how to ...
Natural Language processing Parts of speech tagging, its classes, and how to ...
Rajnish Raj
 
Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language Processing
rohitnayak
 

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 (NLP) - Introduction
Natural Language Processing (NLP) - IntroductionNatural Language Processing (NLP) - Introduction
Natural Language Processing (NLP) - Introduction
 
Nlp ambiguity presentation
Nlp ambiguity presentationNlp ambiguity presentation
Nlp ambiguity presentation
 
Natural Language Processing: L02 words
Natural Language Processing: L02 wordsNatural Language Processing: L02 words
Natural Language Processing: L02 words
 
Natural language processing (NLP) introduction
Natural language processing (NLP) introductionNatural language processing (NLP) introduction
Natural language processing (NLP) introduction
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
NLP_KASHK:Finite-State Morphological Parsing
NLP_KASHK:Finite-State Morphological ParsingNLP_KASHK:Finite-State Morphological Parsing
NLP_KASHK:Finite-State Morphological Parsing
 
Natural language processing
Natural language processingNatural language processing
Natural language processing
 
Natural Language Processing: Parsing
Natural Language Processing: ParsingNatural Language Processing: Parsing
Natural Language Processing: Parsing
 
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)
 
Language Model (N-Gram).pptx
Language Model (N-Gram).pptxLanguage Model (N-Gram).pptx
Language Model (N-Gram).pptx
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
Information retrieval 9 tf idf weights
Information retrieval 9 tf idf weightsInformation retrieval 9 tf idf weights
Information retrieval 9 tf idf weights
 
Introduction to natural language processing
Introduction to natural language processingIntroduction to natural language processing
Introduction to natural language processing
 
Algorithm analysis
Algorithm analysisAlgorithm analysis
Algorithm analysis
 
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
 
Natural Language processing Parts of speech tagging, its classes, and how to ...
Natural Language processing Parts of speech tagging, its classes, and how to ...Natural Language processing Parts of speech tagging, its classes, and how to ...
Natural Language processing Parts of speech tagging, its classes, and how to ...
 
Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language Processing
 

Viewers also liked

Seminar on Quantum Automata and Languages
Seminar on Quantum Automata and LanguagesSeminar on Quantum Automata and Languages
Seminar on Quantum Automata and Languagesranjanphu
 
Understand Your Biddable World with Competitive Intelligence for Search
Understand Your Biddable World with Competitive Intelligence for SearchUnderstand Your Biddable World with Competitive Intelligence for Search
Understand Your Biddable World with Competitive Intelligence for Search
Adthena
 
Mysteries of Mobile Search for Finance
Mysteries of Mobile Search for FinanceMysteries of Mobile Search for Finance
Mysteries of Mobile Search for Finance
Adthena
 
How NOT to Make a Slideshare
How NOT to Make a SlideshareHow NOT to Make a Slideshare
How NOT to Make a Slideshare
Kristin Drysdale
 
The industrial revolution
The industrial revolutionThe industrial revolution
The industrial revolutionheathray
 
Otmica
OtmicaOtmica
Otmica
mislav123
 
RIOTING, LOOTING REPORTED IN FERGUSON A DAY AFTER COP KILLS UNARMED TEEN
RIOTING, LOOTING REPORTED IN FERGUSON A DAY AFTER COP KILLS UNARMED TEENRIOTING, LOOTING REPORTED IN FERGUSON A DAY AFTER COP KILLS UNARMED TEEN
RIOTING, LOOTING REPORTED IN FERGUSON A DAY AFTER COP KILLS UNARMED TEEN
Chad Cunningham
 
Justin Bieber - Looking For You ft. Migos and More
Justin Bieber - Looking For You ft. Migos and MoreJustin Bieber - Looking For You ft. Migos and More
Justin Bieber - Looking For You ft. Migos and More
Chad Cunningham
 
Primarie Insieme per Piazzola
Primarie Insieme per PiazzolaPrimarie Insieme per Piazzola
Primarie Insieme per Piazzolainsiemepp
 
Como crear un proyecto de i movie
Como crear un proyecto de i movieComo crear un proyecto de i movie
Como crear un proyecto de i moviemgvl1234
 
Brandon beal - twerk like miley
Brandon beal - twerk like mileyBrandon beal - twerk like miley
Brandon beal - twerk like miley
Chad Cunningham
 
3 g tech
3 g tech3 g tech
3 g tech
Yatin Sawant
 

Viewers also liked (14)

Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
Seminar on Quantum Automata and Languages
Seminar on Quantum Automata and LanguagesSeminar on Quantum Automata and Languages
Seminar on Quantum Automata and Languages
 
Caisa 1
Caisa 1Caisa 1
Caisa 1
 
Understand Your Biddable World with Competitive Intelligence for Search
Understand Your Biddable World with Competitive Intelligence for SearchUnderstand Your Biddable World with Competitive Intelligence for Search
Understand Your Biddable World with Competitive Intelligence for Search
 
Mysteries of Mobile Search for Finance
Mysteries of Mobile Search for FinanceMysteries of Mobile Search for Finance
Mysteries of Mobile Search for Finance
 
How NOT to Make a Slideshare
How NOT to Make a SlideshareHow NOT to Make a Slideshare
How NOT to Make a Slideshare
 
The industrial revolution
The industrial revolutionThe industrial revolution
The industrial revolution
 
Otmica
OtmicaOtmica
Otmica
 
RIOTING, LOOTING REPORTED IN FERGUSON A DAY AFTER COP KILLS UNARMED TEEN
RIOTING, LOOTING REPORTED IN FERGUSON A DAY AFTER COP KILLS UNARMED TEENRIOTING, LOOTING REPORTED IN FERGUSON A DAY AFTER COP KILLS UNARMED TEEN
RIOTING, LOOTING REPORTED IN FERGUSON A DAY AFTER COP KILLS UNARMED TEEN
 
Justin Bieber - Looking For You ft. Migos and More
Justin Bieber - Looking For You ft. Migos and MoreJustin Bieber - Looking For You ft. Migos and More
Justin Bieber - Looking For You ft. Migos and More
 
Primarie Insieme per Piazzola
Primarie Insieme per PiazzolaPrimarie Insieme per Piazzola
Primarie Insieme per Piazzola
 
Como crear un proyecto de i movie
Como crear un proyecto de i movieComo crear un proyecto de i movie
Como crear un proyecto de i movie
 
Brandon beal - twerk like miley
Brandon beal - twerk like mileyBrandon beal - twerk like miley
Brandon beal - twerk like miley
 
3 g tech
3 g tech3 g tech
3 g tech
 

Similar to Natural Language Processing

NLP-my-lecture (3).ppt
NLP-my-lecture (3).pptNLP-my-lecture (3).ppt
NLP-my-lecture (3).ppt
KrishnaGupta717939
 
Nlp (1)
Nlp (1)Nlp (1)
Segmentation Words for Speech Synthesis in Persian Language Based On Silence
Segmentation Words for Speech Synthesis in Persian Language Based On SilenceSegmentation Words for Speech Synthesis in Persian Language Based On Silence
Segmentation Words for Speech Synthesis in Persian Language Based On Silence
paperpublications3
 
Discourse analysis (Linguistics Forms and Functions)
Discourse analysis (Linguistics Forms and Functions)Discourse analysis (Linguistics Forms and Functions)
Discourse analysis (Linguistics Forms and Functions)
Satya Permadi
 
An Improved Approach to Word Sense Disambiguation
An Improved Approach to Word Sense DisambiguationAn Improved Approach to Word Sense Disambiguation
An Improved Approach to Word Sense DisambiguationSurabhi Verma
 
Ctel Module1
Ctel Module1Ctel Module1
Ctel Module1mrounds5
 
Grammar Syntax(1).pptx
Grammar Syntax(1).pptxGrammar Syntax(1).pptx
Grammar Syntax(1).pptx
SistemadeEstudiosMed
 
parts of speech,punctuation,use of grammer,active passive voice, change of ac...
parts of speech,punctuation,use of grammer,active passive voice, change of ac...parts of speech,punctuation,use of grammer,active passive voice, change of ac...
parts of speech,punctuation,use of grammer,active passive voice, change of ac...
UmarKhan422
 
Applied Linguistics "Grammar"
Applied Linguistics "Grammar"Applied Linguistics "Grammar"
Applied Linguistics "Grammar"
Kum Visal
 
Linguistics and its classification
Linguistics and its classificationLinguistics and its classification
Linguistics and its classification
Dr. Mohsin Khan
 
Introduction to linguistics syntax
Introduction to linguistics syntaxIntroduction to linguistics syntax
Introduction to linguistics syntax
AYOUBDRAOUI
 
Teaching alphabetics and fluency in reading
Teaching alphabetics and fluency in readingTeaching alphabetics and fluency in reading
Teaching alphabetics and fluency in reading
Marcia Luptak
 
Implementing Language Competencies
Implementing Language CompetenciesImplementing Language Competencies
Implementing Language Competencies
Universidad Americana (UAM)
 
Learning about language structure
Learning about language structureLearning about language structure
Learning about language structure
Roda Menil
 
Issues in applied linguistics 15 feb (1)
Issues in applied linguistics 15 feb (1)Issues in applied linguistics 15 feb (1)
Issues in applied linguistics 15 feb (1)
SamerYaqoob
 
ways of teaching grammar
 ways of teaching grammar  ways of teaching grammar
ways of teaching grammar
Tudosan Alesea
 
Applied linguistic: Contrastive Analysis
Applied linguistic: Contrastive AnalysisApplied linguistic: Contrastive Analysis
Applied linguistic: Contrastive AnalysisIntan Meldy
 
Lecture Notes-Are Natural Languages Regular.pdf
Lecture Notes-Are Natural Languages Regular.pdfLecture Notes-Are Natural Languages Regular.pdf
Lecture Notes-Are Natural Languages Regular.pdf
Deptii Chaudhari
 

Similar to Natural Language Processing (20)

NLP-my-lecture (3).ppt
NLP-my-lecture (3).pptNLP-my-lecture (3).ppt
NLP-my-lecture (3).ppt
 
Nlp (1)
Nlp (1)Nlp (1)
Nlp (1)
 
Segmentation Words for Speech Synthesis in Persian Language Based On Silence
Segmentation Words for Speech Synthesis in Persian Language Based On SilenceSegmentation Words for Speech Synthesis in Persian Language Based On Silence
Segmentation Words for Speech Synthesis in Persian Language Based On Silence
 
Discourse analysis (Linguistics Forms and Functions)
Discourse analysis (Linguistics Forms and Functions)Discourse analysis (Linguistics Forms and Functions)
Discourse analysis (Linguistics Forms and Functions)
 
An Improved Approach to Word Sense Disambiguation
An Improved Approach to Word Sense DisambiguationAn Improved Approach to Word Sense Disambiguation
An Improved Approach to Word Sense Disambiguation
 
Ctel Module1
Ctel Module1Ctel Module1
Ctel Module1
 
Grammar Syntax(1).pptx
Grammar Syntax(1).pptxGrammar Syntax(1).pptx
Grammar Syntax(1).pptx
 
parts of speech,punctuation,use of grammer,active passive voice, change of ac...
parts of speech,punctuation,use of grammer,active passive voice, change of ac...parts of speech,punctuation,use of grammer,active passive voice, change of ac...
parts of speech,punctuation,use of grammer,active passive voice, change of ac...
 
Applied Linguistics "Grammar"
Applied Linguistics "Grammar"Applied Linguistics "Grammar"
Applied Linguistics "Grammar"
 
Linguistics and its classification
Linguistics and its classificationLinguistics and its classification
Linguistics and its classification
 
Introduction to linguistics syntax
Introduction to linguistics syntaxIntroduction to linguistics syntax
Introduction to linguistics syntax
 
Teaching alphabetics and fluency in reading
Teaching alphabetics and fluency in readingTeaching alphabetics and fluency in reading
Teaching alphabetics and fluency in reading
 
Implementing Language Competencies
Implementing Language CompetenciesImplementing Language Competencies
Implementing Language Competencies
 
Learning about language structure
Learning about language structureLearning about language structure
Learning about language structure
 
nlp (1).pptx
nlp (1).pptxnlp (1).pptx
nlp (1).pptx
 
Ngu phap
Ngu phapNgu phap
Ngu phap
 
Issues in applied linguistics 15 feb (1)
Issues in applied linguistics 15 feb (1)Issues in applied linguistics 15 feb (1)
Issues in applied linguistics 15 feb (1)
 
ways of teaching grammar
 ways of teaching grammar  ways of teaching grammar
ways of teaching grammar
 
Applied linguistic: Contrastive Analysis
Applied linguistic: Contrastive AnalysisApplied linguistic: Contrastive Analysis
Applied linguistic: Contrastive Analysis
 
Lecture Notes-Are Natural Languages Regular.pdf
Lecture Notes-Are Natural Languages Regular.pdfLecture Notes-Are Natural Languages Regular.pdf
Lecture Notes-Are Natural Languages Regular.pdf
 

Recently uploaded

UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 

Recently uploaded (20)

UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 

Natural Language Processing

  • 1. Natural Language Processing BY SAURABH KAUSHIK (3174) SARVESH RAWAT (3121) SHAFAQ ALI (3122)
  • 2. Overview of Linguistic  Each human language is a complex of knowledge and abilities enabling speakers of the language to communicate with each other, to express ideas, hypotheses, emotions, desires, and all the other things that need expressing.  Linguistics is the study of these knowledge systems in all their aspects: how is such a knowledge system structured, how is it acquired, how is it used in the production and comprehension of messages, how does it change over time? Linguists consequently are concerned with a number of particular questions about the nature of language.
  • 3. Levels of Language Phonetic and phonological knowledge Morphological knowledge Syntactic knowledge Semantic knowledge Pragmatic knowledge World knowledge
  • 4. Phonetic and phonological knowledge  This is knowledge which relates sounds to the words we recognize.  A phoneme is the smallest unit of sounds.  Phones are aggregated into word sounds
  • 5. Morphological knowledge  This is lexical knowledge which relates to word constructions from basic units called morphemes.  A morpheme is the smallest unit of meaning.  E.g. the construction of friendly from the root ‘friend’ and the suffix ‘ly’.
  • 6. Syntactic knowledge  This knowledge relates to how words are put together or structured to form grammatically correct sentences in the language
  • 7. Semantic knowledge  This knowledge is concerned with the meanings of words and phrases and how they combine to form sentence meanings.
  • 8. Pragmatic knowledge  This is high-level knowledge which relates to the use of sentences in different contexts and how the context affects the meaning of the sentences.
  • 9. World knowledge  World knowledge relates to the language a user must have in order to understand and carry on a conversation.  It must include an understanding of the other person’s beliefs and goals.
  • 10. Grammars & Languages  Alphabet (vocabulary): Σ  Concatenation operations  Σ* : set of all strings that can be formed with symbols of Σ  Language: L ⊆ Σ*  Given a string w1 n of Σ*: w1 n = w1, …, wn wi ∈ Σ  We have to determine if w1 n ∈ L
  • 11. Grammars & Languages <V, Σ, P, S> Non-terminal vocabulary (set of variables) Terminal vocabulary (alphabet) Production set Initial variable
  • 12. Example Production Rules: S NP VP NP ART N VP V NP N boy|popsicle|frog V ate|kissed|flew ART the|a (S = starting symbol, NP = noun phrase, VP = verb phrase, N = noun, V = verb & ART = Article) Sentence Generated : The boy ate a popsicle,The frog kissed a boy,A boy ate the frog.
  • 13. Grammar Languages Automaton Type-0 Recursively enumerable Turing machine Type-1 Context-sensitive Linear-bounded non- deterministic Turing machine Type-2 Context-free Non-deterministic pushdown automaton Type-3 Regular Finite state automaton
  • 14. Chomsky Hierarchy of Grammar  Type 0 G :- xyz xwz , where y cannot be empty string.  Type 1 G :- S aS; AB BA; |L.H.S|<=|R.H.S.|  Type 2 G :- S aSb; A BC; here |L.H.S.|=1  Type 3 G :- A aB;A a; Most restrictive grammer
  • 16. Basic Parsing Techniques  Parsing technique, the method of analyzing a sentence to determine its structure according to the grammar  The most common way of representing how a sentence is broken into its major subparts (constituents), and how those subparts are broken up in turn, is a tree.
  • 18. Transition Network  Transition Network used to represent formal and natural language structures.  They are formed using directed graphs and finite state automata.  It consist of No. of nodes and labeled arcs.  The nodes represent different states in traversing a sentence & the arcs represent rules or test conditions required to make the transition from one state to the next.  A path through a T.N. corresponds to a permissible sequence of word types for a given grammar
  • 19. Example Sentences:- a. Big white fluffy clouds. b. Our bright children. c. A large beautiful white flower. d. Large green leaves. e. Buildings. f. Boston’s best seafood restaurants.
  • 20. Top-Down V/S Bottom-up Parsing Top-Down Parsing Bottom-Up Parsing
  • 22. Recursive T.N. Recursive T.N. is a T.N. which permits arc labels to refer to other networks
  • 23. Augmented T.N.  When we include semantic information with grammar then performance of parser increases.  We can achieve the additional capabilities by augmenting a RTN with the ability to perform additional tests and store immediate results as a sentence is being parsed, then resulting T.N. is called an Augmented Transition Network.