SlideShare a Scribd company logo
Unit-4
Structural Knowledge Representation
Predicate logic or First-order predicate logic.
Constant 1, 2, A, John, Mumbai, cat,....
Variables x, y, z, a, b,....
Predicates Brother, Father, >,....
Function sqrt, LeftLegOf, ....
Connectives ∧, ∨, ¬, ⇒, ⇔
Equality ==
Quantifier ∀, ∃
Basic Elements of First-order logic:
• Marvin Minsky in the book on Computer Vision proposed frames as a means of
representing common-sense knowledge.
• In that Minsky proposed that knowledge is organized into small “packets” called
frames.
• The contents of the frame are certain slots which have values. All frames of a given
situation constitute the system.
• Whenever one encounters a situation, a series of related frames are activated and
reasoning is done.
• “A Frame can be defined as a data structure that has slots for various objects and a
collection of frames consists of expectations for a given situation.”
• A Frame structure provides facilities for describing objects, facts about situation,
procedures on what to do when a situation is encountered.
• Because of these facilities a frame provides, frames are used to represent the two
types of knowledge, viz., declarative/factual and procedural.
Frames
A Script is a knowledge representation structure that is extensively used for describing stereo-type
sequences of actions”.
The following fig. represents a miniature restaurant script with customer going to a restaurant, ordering
some eatables, eating them, paying the due amount and leaving the restaurant.
Script
Semantic Nets
Semantic networks are an alternative to predicate logic as a form of knowledge
representation. The idea is that we can store our knowledge in the form of a graph, with
nodes representing objects in the world, and arcs representing relationships between those
objects.
is intended to represent the data:
Tom is a cat.
Tom caught a bird.
Tom is owned by John.
Tom is ginger in colour.
Cats like cream.
The cat sat on the mat.
A cat is a mammal.
A bird is an animal.
All mammals are animals.
Mammals have fur.
• It is argued that this form of representation is closer to the way humans structure
knowledge by building mental links between things than the predicate logic we
considered earlier.
• Note in particular how all the information about a particular object is concentrated on
the node representing that object, rather than scattered around several clauses in
logic.
• Tom is a cat is represented by Cat(Tom)
• The cat sat on the mat is represented by ∃x∃y(Cat(x)∧Mat(y)∧SatOn(x,y))
• A cat is a mammal is represented by ∀x(Cat(X)→Mammal(x))
Knowledge Representation Schemes
1. Logical Representation Scheme:
• This class of representation uses expressions in formal logic to represent a knowledge
base.
• Inference rules and proof procedures apply this knowledge to problem solving.
• First order predicate calculus is the most widely used logical representation scheme, and
PROLOG is an ideal programming language for implementing logical representation
schemes.
2. Procedural Representation Scheme:
• Procedural scheme represents knowledge as a set of instructions for solving a problem.
• In a rule-based system, for example, an if then rule may be interpreted as a procedure
for searching a goal in a problem domain: to arrive at the conclusion, solve the premises
in order.
• Production systems are examples of a procedural representation scheme.
3. Network Representation Scheme:
• Network representation captures knowledge as a graph in which the nodes
represent objects or concepts in the problem domain and the arcs represent
relations or associations between them.
• Examples of network representations include semantic network, conceptual
dependencies and conceptual graphs.
4. Structured Representation Scheme:
• Structured representation languages extend networks by allowing each node to be a
complex data structure consisting of named slots with attached values.
• These values may be simple numeric or complex data, such as pointers to other
frames, or even procedures.
Parse Tree:
NLP Applications
Speech Recognition
Speech Recognition is a technology that enables the computer to convert voice input data to
machine readable format. There are a lot of fields where speech recognition is used like, virtual
assistants, adding speech-to-text, translating speech, sending emails etc.
Voice Assistants and Chatbots
All of us are well versed with the idea of Voice assistants like Alexa, Siri and Google Assistant,
and chatbots that are integrated in many websites to help and guide new users. Voice assistant is
a software that uses NLP and speech recognition to understand voice commands of a user and
perform accordingly.
Auto Correct and Auto prediction
There are many softwares available nowadays that check grammar and spelling of the text we
type and save us from embarrassing spelling and grammatical mistakes in our emails, texts or
other documents. NLP plays an important role in those softwares and functions.
Email Filtering
Most of the professional work is done through emails and it would be quite a hassle if all the
emails we received were not segregated into different sections. Gmail classifies all the emails
into primary, social and promotional sections. Even all the spam emails are sent to a different
section so that they do not flood our inbox.
Sentiment Analysis
Human speech could be quite hard to interpret as it involves expressions and sentiments
beyond literal meanings. Expressions like sarcasm, threat, exclamation etc. are often very
hard to be recognised by the computer.
Advertisement to Targeted Audience
If you ever search any product or object in any shopping site, you would often see ads of
those products and other related products on other sites. This type of targeted online
advertising is done with the help of NLP and it is known as Targeted Advertising.
Translation
Social Media has brought the entire world together but with unity comes challenges
like language barrier. With different translating softwares that work individually or are
integrated within other applications, this hurdle has been easily defeated.
Social Media Analytics
Social Media is an integral part of everyone’s life nowadays and many people use it to
post their thoughts about different businesses and products. The companies can
understand their market position and get their customer reviews by analyzing the
data.
Recruitment
NLP has made the job easier by filtering through all the resumes and shortlisting the
candidates by different techniques like information extraction and name entity
recognition. It goes through different attributes like Location, skills, education etc. and
selects candidates who meet the requirements of the company closely.
Text Summarisation
There is a huge amount of data available on the internet and it is very hard to go
through all the data to extract a single piece of information. With the help of NLP, text
summarization has been made available to the users. This helps in the simplification of
huge amounts of data in articles, news, research papers etc.
The top 7 techniques Natural Language Processing (NLP) uses to extract data from text are:
1. Sentiment Analysis
This is the dissection of data (text, voice, etc) in order to determine whether it’s positive,
neutral, or negative.
2. Named Entity Recognition
NER (because we in the tech world are huge fans of our acronyms) is a Natural Language
Processing technique that tags ‘named identities’ within text and extracts them for further
analysis.
3. Text Summary
This is a fun one. Text summarization is the breakdown of jargon, whether scientific, medical,
technical or other, into its most basic terms using natural language processing in order to
make it more understandable.
4. Topic Modeling
Topic Modeling is an unsupervised Natural Language Processing technique that utilizes
artificial intelligence programs to tag and group text clusters that share common topics.
5. Text Classification
Again, text classification is the organizing of large amounts of unstructured text (meaning
the raw text data you are receiving from your customers). Topic modeling, sentiment
analysis, and keyword extraction (which we’ll go through next) are subsets of text
classification.
6. Keyword Extraction
The final key to the text analysis puzzle, keyword extraction, is a broader form of the
techniques we have already covered. By definition, keyword extraction is the automated
process of extracting the most relevant information from text using AI and machine learning
algorithms.
7. Lemmatization and Stemming
Lemmatization considers the context and converts the word to its meaningful base form,
which is called Lemma. For instance, stemming the word 'Caring' would return 'Car‘.
Stemming is a process that stems or removes last few characters from a word, often leading
to incorrect meanings and spelling.
Recursive Transition Networks (RTN)
• RTNs are considered as development for finite state automata with some essential
conditions to take the recursive complexion for some definitions in consideration.
• A recursive transition network consists of nodes (states) and labeled arcs (transitions).
• It permits arc labels to refer to other networks and they in turn may refer back to the
referring network rather than just permitting word categories.
• It is a modified version of transition network. It allows arc labels that refer to other
networks rather than word category.
POP: indicates that input string has been accepted by the network. In RTN, one state is
specified as a start state. A string is accepted by an RTN if a POP arc is reached and all the
input has been consumed. Let us consider a sentence “The stone was dark black”.
Here The: ART
Stone: ADJ NOUN
Was: VERB
Dark: ADJ
Black: ADJ NOUN
The RTN structure is given in figure
Augmented Transition Network (ATN)
• An ATN is a modified transition network. It is an extension of RTN. The ATN uses a top
down parsing procedure to gather various types of information to be later used for
understanding system.
• It produces the data structure suitable for further processing and capable of storing semantic
details.
• An augmented transition network (ATN) is a recursive transition network that can perform
tests and take actions during arc transitions.
• An ATN uses a set of registers to store information.
• A set of actions is defined for each arc and the actions can look at and modify the registers.
An arc may have a test associated with it.
• The arc is traversed (and its action) is taken only if the test succeeds.
Frame-Script and Predicate logic.pptx

More Related Content

Similar to Frame-Script and Predicate logic.pptx

Nltk
NltkNltk
Nltk
Anirudh
 
EXPLORING NATURAL LANGUAGE PROCESSING (1).pptx
EXPLORING NATURAL LANGUAGE PROCESSING (1).pptxEXPLORING NATURAL LANGUAGE PROCESSING (1).pptx
EXPLORING NATURAL LANGUAGE PROCESSING (1).pptx
AtulKumarUpadhyay4
 
DataFest 2017. Introduction to Natural Language Processing by Rudolf Eremyan
DataFest 2017. Introduction to Natural Language Processing by Rudolf EremyanDataFest 2017. Introduction to Natural Language Processing by Rudolf Eremyan
DataFest 2017. Introduction to Natural Language Processing by Rudolf Eremyan
rudolf eremyan
 
Generating domain specific sentiment lexicons using the Web Directory
Generating domain specific sentiment lexicons using the Web Directory Generating domain specific sentiment lexicons using the Web Directory
Generating domain specific sentiment lexicons using the Web Directory
acijjournal
 
Basics of Generative AI: Models, Tokenization, Embeddings, Text Similarity, V...
Basics of Generative AI: Models, Tokenization, Embeddings, Text Similarity, V...Basics of Generative AI: Models, Tokenization, Embeddings, Text Similarity, V...
Basics of Generative AI: Models, Tokenization, Embeddings, Text Similarity, V...
Robert McDermott
 
Basics of Generative AI: Models, Tokenization, Embeddings, Text Similarity, V...
Basics of Generative AI: Models, Tokenization, Embeddings, Text Similarity, V...Basics of Generative AI: Models, Tokenization, Embeddings, Text Similarity, V...
Basics of Generative AI: Models, Tokenization, Embeddings, Text Similarity, V...
Robert McDermott
 
LearningAG.ppt
LearningAG.pptLearningAG.ppt
LearningAG.ppt
butest
 
A FILM SYNOPSIS GENRE CLASSIFIER BASED ON MAJORITY VOTE
A FILM SYNOPSIS GENRE CLASSIFIER BASED ON MAJORITY VOTEA FILM SYNOPSIS GENRE CLASSIFIER BASED ON MAJORITY VOTE
A FILM SYNOPSIS GENRE CLASSIFIER BASED ON MAJORITY VOTE
kevig
 
Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language Processing
dhruv_chaudhari
 
The Role Of Ontology In Modern Expert Systems Dallas 2008
The Role Of Ontology In Modern Expert Systems   Dallas   2008The Role Of Ontology In Modern Expert Systems   Dallas   2008
The Role Of Ontology In Modern Expert Systems Dallas 2008
Jason Morris
 
A FILM SYNOPSIS GENRE CLASSIFIER BASED ON MAJORITY VOTE
A FILM SYNOPSIS GENRE CLASSIFIER BASED ON MAJORITY VOTEA FILM SYNOPSIS GENRE CLASSIFIER BASED ON MAJORITY VOTE
A FILM SYNOPSIS GENRE CLASSIFIER BASED ON MAJORITY VOTE
ijnlc
 
Mining Opinion Features in Customer Reviews
Mining Opinion Features in Customer ReviewsMining Opinion Features in Customer Reviews
Mining Opinion Features in Customer Reviews
IJCERT JOURNAL
 
Natural Language Processing .pdf
Natural Language Processing .pdfNatural Language Processing .pdf
Natural Language Processing .pdf
Anime196637
 
Artificial Intelligence (3).pdf
Artificial Intelligence (3).pdfArtificial Intelligence (3).pdf
Artificial Intelligence (3).pdf
sweta836730
 
NLP todo
NLP todoNLP todo
NLP todo
Rohit Verma
 
Computing with Directed Labeled Graphs
Computing with Directed Labeled GraphsComputing with Directed Labeled Graphs
Computing with Directed Labeled Graphs
Marko Rodriguez
 
Breaking down the AI magic of ChatGPT: A technologist's lens to its powerful ...
Breaking down the AI magic of ChatGPT: A technologist's lens to its powerful ...Breaking down the AI magic of ChatGPT: A technologist's lens to its powerful ...
Breaking down the AI magic of ChatGPT: A technologist's lens to its powerful ...
rahul_net
 
AI生成工具的新衝擊 - MS Bing & Google Bard 能否挑戰ChatGPT-4領導地位
AI生成工具的新衝擊 - MS Bing & Google Bard 能否挑戰ChatGPT-4領導地位AI生成工具的新衝擊 - MS Bing & Google Bard 能否挑戰ChatGPT-4領導地位
AI生成工具的新衝擊 - MS Bing & Google Bard 能否挑戰ChatGPT-4領導地位
eLearning Consortium 電子學習聯盟
 
ARTIFICIAL INTELLIGENCE---UNIT 4.pptx
ARTIFICIAL INTELLIGENCE---UNIT 4.pptxARTIFICIAL INTELLIGENCE---UNIT 4.pptx
ARTIFICIAL INTELLIGENCE---UNIT 4.pptx
RuchitaMaaran
 
INTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processingINTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processing
socarem879
 

Similar to Frame-Script and Predicate logic.pptx (20)

Nltk
NltkNltk
Nltk
 
EXPLORING NATURAL LANGUAGE PROCESSING (1).pptx
EXPLORING NATURAL LANGUAGE PROCESSING (1).pptxEXPLORING NATURAL LANGUAGE PROCESSING (1).pptx
EXPLORING NATURAL LANGUAGE PROCESSING (1).pptx
 
DataFest 2017. Introduction to Natural Language Processing by Rudolf Eremyan
DataFest 2017. Introduction to Natural Language Processing by Rudolf EremyanDataFest 2017. Introduction to Natural Language Processing by Rudolf Eremyan
DataFest 2017. Introduction to Natural Language Processing by Rudolf Eremyan
 
Generating domain specific sentiment lexicons using the Web Directory
Generating domain specific sentiment lexicons using the Web Directory Generating domain specific sentiment lexicons using the Web Directory
Generating domain specific sentiment lexicons using the Web Directory
 
Basics of Generative AI: Models, Tokenization, Embeddings, Text Similarity, V...
Basics of Generative AI: Models, Tokenization, Embeddings, Text Similarity, V...Basics of Generative AI: Models, Tokenization, Embeddings, Text Similarity, V...
Basics of Generative AI: Models, Tokenization, Embeddings, Text Similarity, V...
 
Basics of Generative AI: Models, Tokenization, Embeddings, Text Similarity, V...
Basics of Generative AI: Models, Tokenization, Embeddings, Text Similarity, V...Basics of Generative AI: Models, Tokenization, Embeddings, Text Similarity, V...
Basics of Generative AI: Models, Tokenization, Embeddings, Text Similarity, V...
 
LearningAG.ppt
LearningAG.pptLearningAG.ppt
LearningAG.ppt
 
A FILM SYNOPSIS GENRE CLASSIFIER BASED ON MAJORITY VOTE
A FILM SYNOPSIS GENRE CLASSIFIER BASED ON MAJORITY VOTEA FILM SYNOPSIS GENRE CLASSIFIER BASED ON MAJORITY VOTE
A FILM SYNOPSIS GENRE CLASSIFIER BASED ON MAJORITY VOTE
 
Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language Processing
 
The Role Of Ontology In Modern Expert Systems Dallas 2008
The Role Of Ontology In Modern Expert Systems   Dallas   2008The Role Of Ontology In Modern Expert Systems   Dallas   2008
The Role Of Ontology In Modern Expert Systems Dallas 2008
 
A FILM SYNOPSIS GENRE CLASSIFIER BASED ON MAJORITY VOTE
A FILM SYNOPSIS GENRE CLASSIFIER BASED ON MAJORITY VOTEA FILM SYNOPSIS GENRE CLASSIFIER BASED ON MAJORITY VOTE
A FILM SYNOPSIS GENRE CLASSIFIER BASED ON MAJORITY VOTE
 
Mining Opinion Features in Customer Reviews
Mining Opinion Features in Customer ReviewsMining Opinion Features in Customer Reviews
Mining Opinion Features in Customer Reviews
 
Natural Language Processing .pdf
Natural Language Processing .pdfNatural Language Processing .pdf
Natural Language Processing .pdf
 
Artificial Intelligence (3).pdf
Artificial Intelligence (3).pdfArtificial Intelligence (3).pdf
Artificial Intelligence (3).pdf
 
NLP todo
NLP todoNLP todo
NLP todo
 
Computing with Directed Labeled Graphs
Computing with Directed Labeled GraphsComputing with Directed Labeled Graphs
Computing with Directed Labeled Graphs
 
Breaking down the AI magic of ChatGPT: A technologist's lens to its powerful ...
Breaking down the AI magic of ChatGPT: A technologist's lens to its powerful ...Breaking down the AI magic of ChatGPT: A technologist's lens to its powerful ...
Breaking down the AI magic of ChatGPT: A technologist's lens to its powerful ...
 
AI生成工具的新衝擊 - MS Bing & Google Bard 能否挑戰ChatGPT-4領導地位
AI生成工具的新衝擊 - MS Bing & Google Bard 能否挑戰ChatGPT-4領導地位AI生成工具的新衝擊 - MS Bing & Google Bard 能否挑戰ChatGPT-4領導地位
AI生成工具的新衝擊 - MS Bing & Google Bard 能否挑戰ChatGPT-4領導地位
 
ARTIFICIAL INTELLIGENCE---UNIT 4.pptx
ARTIFICIAL INTELLIGENCE---UNIT 4.pptxARTIFICIAL INTELLIGENCE---UNIT 4.pptx
ARTIFICIAL INTELLIGENCE---UNIT 4.pptx
 
INTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processingINTRODUCTION TO Natural language processing
INTRODUCTION TO Natural language processing
 

More from nilesh405711

A_Review_of_Cybersecurity_in_Grid-Connected_Power_Electronics_Converters_Vuln...
A_Review_of_Cybersecurity_in_Grid-Connected_Power_Electronics_Converters_Vuln...A_Review_of_Cybersecurity_in_Grid-Connected_Power_Electronics_Converters_Vuln...
A_Review_of_Cybersecurity_in_Grid-Connected_Power_Electronics_Converters_Vuln...
nilesh405711
 
A_Cooperative_PoW_and_Incentive_Mechanism_for_Blockchain_in_Edge_Computing.pdf
A_Cooperative_PoW_and_Incentive_Mechanism_for_Blockchain_in_Edge_Computing.pdfA_Cooperative_PoW_and_Incentive_Mechanism_for_Blockchain_in_Edge_Computing.pdf
A_Cooperative_PoW_and_Incentive_Mechanism_for_Blockchain_in_Edge_Computing.pdf
nilesh405711
 
Smart_Land_Registration_Using_BlockChain.pdf
Smart_Land_Registration_Using_BlockChain.pdfSmart_Land_Registration_Using_BlockChain.pdf
Smart_Land_Registration_Using_BlockChain.pdf
nilesh405711
 
CHERUBIM_A_Secure_and_Highly_Parallel_Cross-Shard_Consensus_Using_Quadruple_P...
CHERUBIM_A_Secure_and_Highly_Parallel_Cross-Shard_Consensus_Using_Quadruple_P...CHERUBIM_A_Secure_and_Highly_Parallel_Cross-Shard_Consensus_Using_Quadruple_P...
CHERUBIM_A_Secure_and_Highly_Parallel_Cross-Shard_Consensus_Using_Quadruple_P...
nilesh405711
 
Smart_Land_Registration_Using_BlockChain.pdf
Smart_Land_Registration_Using_BlockChain.pdfSmart_Land_Registration_Using_BlockChain.pdf
Smart_Land_Registration_Using_BlockChain.pdf
nilesh405711
 
DQDB notes.pdf
DQDB notes.pdfDQDB notes.pdf
DQDB notes.pdf
nilesh405711
 
practical 9.docx
practical 9.docxpractical 9.docx
practical 9.docx
nilesh405711
 
lecture02-cpp.ppt
lecture02-cpp.pptlecture02-cpp.ppt
lecture02-cpp.ppt
nilesh405711
 
Introduction06.ppt
Introduction06.pptIntroduction06.ppt
Introduction06.ppt
nilesh405711
 
Network-20210426203825.ppt
Network-20210426203825.pptNetwork-20210426203825.ppt
Network-20210426203825.ppt
nilesh405711
 
New Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptxNew Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptx
nilesh405711
 

More from nilesh405711 (11)

A_Review_of_Cybersecurity_in_Grid-Connected_Power_Electronics_Converters_Vuln...
A_Review_of_Cybersecurity_in_Grid-Connected_Power_Electronics_Converters_Vuln...A_Review_of_Cybersecurity_in_Grid-Connected_Power_Electronics_Converters_Vuln...
A_Review_of_Cybersecurity_in_Grid-Connected_Power_Electronics_Converters_Vuln...
 
A_Cooperative_PoW_and_Incentive_Mechanism_for_Blockchain_in_Edge_Computing.pdf
A_Cooperative_PoW_and_Incentive_Mechanism_for_Blockchain_in_Edge_Computing.pdfA_Cooperative_PoW_and_Incentive_Mechanism_for_Blockchain_in_Edge_Computing.pdf
A_Cooperative_PoW_and_Incentive_Mechanism_for_Blockchain_in_Edge_Computing.pdf
 
Smart_Land_Registration_Using_BlockChain.pdf
Smart_Land_Registration_Using_BlockChain.pdfSmart_Land_Registration_Using_BlockChain.pdf
Smart_Land_Registration_Using_BlockChain.pdf
 
CHERUBIM_A_Secure_and_Highly_Parallel_Cross-Shard_Consensus_Using_Quadruple_P...
CHERUBIM_A_Secure_and_Highly_Parallel_Cross-Shard_Consensus_Using_Quadruple_P...CHERUBIM_A_Secure_and_Highly_Parallel_Cross-Shard_Consensus_Using_Quadruple_P...
CHERUBIM_A_Secure_and_Highly_Parallel_Cross-Shard_Consensus_Using_Quadruple_P...
 
Smart_Land_Registration_Using_BlockChain.pdf
Smart_Land_Registration_Using_BlockChain.pdfSmart_Land_Registration_Using_BlockChain.pdf
Smart_Land_Registration_Using_BlockChain.pdf
 
DQDB notes.pdf
DQDB notes.pdfDQDB notes.pdf
DQDB notes.pdf
 
practical 9.docx
practical 9.docxpractical 9.docx
practical 9.docx
 
lecture02-cpp.ppt
lecture02-cpp.pptlecture02-cpp.ppt
lecture02-cpp.ppt
 
Introduction06.ppt
Introduction06.pptIntroduction06.ppt
Introduction06.ppt
 
Network-20210426203825.ppt
Network-20210426203825.pptNetwork-20210426203825.ppt
Network-20210426203825.ppt
 
New Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptxNew Microsoft PowerPoint Presentation.pptx
New Microsoft PowerPoint Presentation.pptx
 

Recently uploaded

Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
Mahmoud Morsy
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
TaghreedAltamimi
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
bijceesjournal
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
Atif Razi
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
architagupta876
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
VANDANAMOHANGOUDA
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
AjmalKhan50578
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
21UME003TUSHARDEB
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
LAXMAREDDY22
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
ElakkiaU
 

Recently uploaded (20)

Certificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi AhmedCertificates - Mahmoud Mohamed Moursi Ahmed
Certificates - Mahmoud Mohamed Moursi Ahmed
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
Software Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.pptSoftware Quality Assurance-se412-v11.ppt
Software Quality Assurance-se412-v11.ppt
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
Mechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdfMechanical Engineering on AAI Summer Training Report-003.pdf
Mechanical Engineering on AAI Summer Training Report-003.pdf
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
 
An Introduction to the Compiler Designss
An Introduction to the Compiler DesignssAn Introduction to the Compiler Designss
An Introduction to the Compiler Designss
 

Frame-Script and Predicate logic.pptx

  • 2. Predicate logic or First-order predicate logic. Constant 1, 2, A, John, Mumbai, cat,.... Variables x, y, z, a, b,.... Predicates Brother, Father, >,.... Function sqrt, LeftLegOf, .... Connectives ∧, ∨, ¬, ⇒, ⇔ Equality == Quantifier ∀, ∃ Basic Elements of First-order logic:
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11. • Marvin Minsky in the book on Computer Vision proposed frames as a means of representing common-sense knowledge. • In that Minsky proposed that knowledge is organized into small “packets” called frames. • The contents of the frame are certain slots which have values. All frames of a given situation constitute the system. • Whenever one encounters a situation, a series of related frames are activated and reasoning is done. • “A Frame can be defined as a data structure that has slots for various objects and a collection of frames consists of expectations for a given situation.” • A Frame structure provides facilities for describing objects, facts about situation, procedures on what to do when a situation is encountered. • Because of these facilities a frame provides, frames are used to represent the two types of knowledge, viz., declarative/factual and procedural. Frames
  • 12.
  • 13. A Script is a knowledge representation structure that is extensively used for describing stereo-type sequences of actions”. The following fig. represents a miniature restaurant script with customer going to a restaurant, ordering some eatables, eating them, paying the due amount and leaving the restaurant. Script
  • 14. Semantic Nets Semantic networks are an alternative to predicate logic as a form of knowledge representation. The idea is that we can store our knowledge in the form of a graph, with nodes representing objects in the world, and arcs representing relationships between those objects.
  • 15. is intended to represent the data: Tom is a cat. Tom caught a bird. Tom is owned by John. Tom is ginger in colour. Cats like cream. The cat sat on the mat. A cat is a mammal. A bird is an animal. All mammals are animals. Mammals have fur. • It is argued that this form of representation is closer to the way humans structure knowledge by building mental links between things than the predicate logic we considered earlier. • Note in particular how all the information about a particular object is concentrated on the node representing that object, rather than scattered around several clauses in logic. • Tom is a cat is represented by Cat(Tom) • The cat sat on the mat is represented by ∃x∃y(Cat(x)∧Mat(y)∧SatOn(x,y)) • A cat is a mammal is represented by ∀x(Cat(X)→Mammal(x))
  • 16. Knowledge Representation Schemes 1. Logical Representation Scheme: • This class of representation uses expressions in formal logic to represent a knowledge base. • Inference rules and proof procedures apply this knowledge to problem solving. • First order predicate calculus is the most widely used logical representation scheme, and PROLOG is an ideal programming language for implementing logical representation schemes. 2. Procedural Representation Scheme: • Procedural scheme represents knowledge as a set of instructions for solving a problem. • In a rule-based system, for example, an if then rule may be interpreted as a procedure for searching a goal in a problem domain: to arrive at the conclusion, solve the premises in order. • Production systems are examples of a procedural representation scheme.
  • 17. 3. Network Representation Scheme: • Network representation captures knowledge as a graph in which the nodes represent objects or concepts in the problem domain and the arcs represent relations or associations between them. • Examples of network representations include semantic network, conceptual dependencies and conceptual graphs. 4. Structured Representation Scheme: • Structured representation languages extend networks by allowing each node to be a complex data structure consisting of named slots with attached values. • These values may be simple numeric or complex data, such as pointers to other frames, or even procedures.
  • 18.
  • 19.
  • 20.
  • 21.
  • 23.
  • 24.
  • 25. NLP Applications Speech Recognition Speech Recognition is a technology that enables the computer to convert voice input data to machine readable format. There are a lot of fields where speech recognition is used like, virtual assistants, adding speech-to-text, translating speech, sending emails etc. Voice Assistants and Chatbots All of us are well versed with the idea of Voice assistants like Alexa, Siri and Google Assistant, and chatbots that are integrated in many websites to help and guide new users. Voice assistant is a software that uses NLP and speech recognition to understand voice commands of a user and perform accordingly. Auto Correct and Auto prediction There are many softwares available nowadays that check grammar and spelling of the text we type and save us from embarrassing spelling and grammatical mistakes in our emails, texts or other documents. NLP plays an important role in those softwares and functions.
  • 26. Email Filtering Most of the professional work is done through emails and it would be quite a hassle if all the emails we received were not segregated into different sections. Gmail classifies all the emails into primary, social and promotional sections. Even all the spam emails are sent to a different section so that they do not flood our inbox. Sentiment Analysis Human speech could be quite hard to interpret as it involves expressions and sentiments beyond literal meanings. Expressions like sarcasm, threat, exclamation etc. are often very hard to be recognised by the computer. Advertisement to Targeted Audience If you ever search any product or object in any shopping site, you would often see ads of those products and other related products on other sites. This type of targeted online advertising is done with the help of NLP and it is known as Targeted Advertising.
  • 27. Translation Social Media has brought the entire world together but with unity comes challenges like language barrier. With different translating softwares that work individually or are integrated within other applications, this hurdle has been easily defeated. Social Media Analytics Social Media is an integral part of everyone’s life nowadays and many people use it to post their thoughts about different businesses and products. The companies can understand their market position and get their customer reviews by analyzing the data. Recruitment NLP has made the job easier by filtering through all the resumes and shortlisting the candidates by different techniques like information extraction and name entity recognition. It goes through different attributes like Location, skills, education etc. and selects candidates who meet the requirements of the company closely.
  • 28. Text Summarisation There is a huge amount of data available on the internet and it is very hard to go through all the data to extract a single piece of information. With the help of NLP, text summarization has been made available to the users. This helps in the simplification of huge amounts of data in articles, news, research papers etc.
  • 29. The top 7 techniques Natural Language Processing (NLP) uses to extract data from text are: 1. Sentiment Analysis This is the dissection of data (text, voice, etc) in order to determine whether it’s positive, neutral, or negative. 2. Named Entity Recognition NER (because we in the tech world are huge fans of our acronyms) is a Natural Language Processing technique that tags ‘named identities’ within text and extracts them for further analysis. 3. Text Summary This is a fun one. Text summarization is the breakdown of jargon, whether scientific, medical, technical or other, into its most basic terms using natural language processing in order to make it more understandable. 4. Topic Modeling Topic Modeling is an unsupervised Natural Language Processing technique that utilizes artificial intelligence programs to tag and group text clusters that share common topics.
  • 30. 5. Text Classification Again, text classification is the organizing of large amounts of unstructured text (meaning the raw text data you are receiving from your customers). Topic modeling, sentiment analysis, and keyword extraction (which we’ll go through next) are subsets of text classification. 6. Keyword Extraction The final key to the text analysis puzzle, keyword extraction, is a broader form of the techniques we have already covered. By definition, keyword extraction is the automated process of extracting the most relevant information from text using AI and machine learning algorithms. 7. Lemmatization and Stemming Lemmatization considers the context and converts the word to its meaningful base form, which is called Lemma. For instance, stemming the word 'Caring' would return 'Car‘. Stemming is a process that stems or removes last few characters from a word, often leading to incorrect meanings and spelling.
  • 31. Recursive Transition Networks (RTN) • RTNs are considered as development for finite state automata with some essential conditions to take the recursive complexion for some definitions in consideration. • A recursive transition network consists of nodes (states) and labeled arcs (transitions). • It permits arc labels to refer to other networks and they in turn may refer back to the referring network rather than just permitting word categories. • It is a modified version of transition network. It allows arc labels that refer to other networks rather than word category.
  • 32. POP: indicates that input string has been accepted by the network. In RTN, one state is specified as a start state. A string is accepted by an RTN if a POP arc is reached and all the input has been consumed. Let us consider a sentence “The stone was dark black”. Here The: ART Stone: ADJ NOUN Was: VERB Dark: ADJ Black: ADJ NOUN The RTN structure is given in figure
  • 33. Augmented Transition Network (ATN) • An ATN is a modified transition network. It is an extension of RTN. The ATN uses a top down parsing procedure to gather various types of information to be later used for understanding system. • It produces the data structure suitable for further processing and capable of storing semantic details. • An augmented transition network (ATN) is a recursive transition network that can perform tests and take actions during arc transitions. • An ATN uses a set of registers to store information. • A set of actions is defined for each arc and the actions can look at and modify the registers. An arc may have a test associated with it. • The arc is traversed (and its action) is taken only if the test succeeds.