CT006-1
Learning Outcomes
At the end of this section, YOU should be able to:
Chapter 10
Artificial Intelligence
Expert Systems
Natural Language Processing
Chapter 10
Areas of AI
Knowledge
C
O
AI
N
C
Knowledge
representation
Problem
solving
E
P
T
Searching
Reasoning
Chapter 10
Six areas
of AI
Chapter 10
To preserve knowledge
Chapter 10
Chapter 10
Expertise
Experts
Transferring Expertise
Rules and Inferencing
Explanation Capability
Chapter 10
Expertise
Global strategies
Facts
Chapter 10
Expert
An expert :
Chapter 10
Transferring Expertise
Domain Expert
System
User (non-experts)
Chapter 10
Explanation
Explains the systems behaviour by interactively
answering questions like
why?
what?
how? when?
Computer and IT in Workplace
etc.
Chapter 10
knowledge-based system
rule-based system
frame-based system
hybrid system
Chapter 10
Expert Systems
Chapter 10
Chapter 10
User
User
interfac
e
Chapter 10
Inferenc
e
Engine
Knowledg
e Base
Basic ES Structure
Working
Memory
User Interface
Inference
Engine
Knowledge
Base
Explanation
Facility
Knowledge
Acquisition
Computer and IT in Workplace
Chapter 10
Knowledge Acquisition
Chapter 10
Knowledge Acquisition
Tasks involved:
interviews
observation
protocol analysis
brainstorming
Chapter 10
Knowledge Base
Chapter 10
Inference Engine
The brain of the ES
The control structure or the rule interpreter
Provides a methodology for reasoning
User interface
Chapter 10
Working Memory
Chapter 10
Assessment
Knowledge Acquisition
Knowledge
Design
Structure
Test
Evaluation
Documentation
Maintain
Maintenance
Computer and IT in Workplace
Chapter 10
Types of Users
Possible Types of Users:
1. A non-expert client seeking direct advice the ES
acts as a Consultant or Advisor
2. An ES builder improving or increasing the
knowledge base - a Partner
3. A student who wants to learn - an Instructor
4. An expert - a Colleague or Assistant
Chapter 10
Explanation
Ease of modification
Transportability
Adaptive learning
Chapter 10
Chapter 10
Chapter 10
1.
2.
3.
4.
5.
6.
Chapter 10
7.
8.
9.
10.
11.
12.
13.
Chapter 10
Facts of ES
Why?
Chapter 10
Why?
Chapter 10
Champion in Management
Plus
-
Chapter 10
Chapter 10
Chapter 10
What is NLP?
Chapter 10
Chapter 10
Speech Recognition
Words/
templates
Analog
signal
Digital
signal
Chapter 10
Input
Syntactic Analysis
helps us to understand how words are grouped
together to make sentences
use the structure of the sentence via the rules of syntax
Example:
Cows eat grass
N
Wrong syntax:
Eat cows grass
Chapter 10
Parse Trees
To ensure that the structure is correct
Sentence
verb_phrase
Noun_phrase
Proper_noun
Verb
Noun_phrase
Noun
"Cows"
Computer and IT in Workplace
" eat"
"grass"
Chapter 10
Parser Trees
Chapter 10
Exercise
Create a parse tree for the following sentences:
1.
2.
2.
Chapter 10
Semantic Analysis
syntactically correct,
semantically correct
syntactically correct,
semantically incorrect
Chapter 10
Noun_phrase - Cows
Verb - y x eat(x,y)
Noun_phrase
Noun - grass
Proper_noun
"Cows"
Computer and IT in Workplace
"eat"
"grass"
Chapter 10
Pragmatic Analysis
Analysis on the context of the sentences : where it was
said, by whom and why and what was said before
Example 1:
"Do you have the time?" means "what time is it?"
To look at the main goal of the sentence
Example 2:
" John just bought a car. He drove the car to work
today"
To look at the pronouns and associate it with the correct
noun
Computer and IT in Workplace
Chapter 10
Pragmatic Analysis
Identifying the goals and add them to the main
sentence will help to carry out this analysis.
Example:
Do you have the time?
S wants H to tell him the time
Chapter 10
Problem in Language
Main problem is ambiguity
Chapter 10
Problem in Language
Chapter 10
Review Questions
What are the 4 stages of language?
Define ES?
What id NLP?
What is the relationship between ES and NLP?
Chapter 10
Q&A
Computer and IT in Workplace
Chapter 10
Chapter 10