Expert Systems and NLP Notes
Expert Systems and NLP Notes
(A). D E F I N I T I O N
Systems that use human knowledge captured in computers to solve problems that
ordinarily require human expertise. Human experts include medical doctors, computer
hardware engineers, vehicle mechanics, economists, weather forecasters, geologists, etc.
(B). C O M P O N E N T S
(i). Knowledge Acquisition System:
System for accumulation, transfer, and transformation of problem solving expertise
from experts or documented sources into a computer program.
(ii). Knowledgebase
Contains the knowledge necessary for understanding, formulation, and solving
problems.
Elements: Facts (such as problem situation and theory of the problem area), and
rules (that direct the use of the knowledge to solve problems).
Components
(I). The interpreter: The rule interpreter.
(II). A scheduler: Maintains control over the agenda.
(III). A consistency enforcer: Attempts to maintain a consistent representation of
the emerging solution.
(C). P E R S O N S C O N C E R N E D I N E X P E R T S Y S T E M S
(i). Expert
The human being with extensive knowledge, judgment, experience and methods
along with the ability to apply these talents to give advice and solve problems.
(D). P R O B L E M A R E A S
(i). Interpretation Systems: Explains observed data.
E.g. Surveillance, speech understanding, image analysis, signal interpretation.
Etc.
(E). C O M P A R I S O N W I T H C O N V E N T I O N A L P R O G R A M S
(F). E X E R C I S E S
(i). Explain the meaning of the term expert system. Describe its components.
(ii). Describe four types of problems that are solved by expert systems.
(iv). Explain five differences between expert systems and conventional programs.
5
(A). D E F I N I T I O N
Research aimed at making people and computers communicate in a natural (human) language such as
English rather than in computer language.
Two fields:
(i). Natural language understanding: Making computers understand English statements so that computers
can communicate with people more easily.
(B). A P P L I C A T I O N S
Machine translation E.g. newspaper translation. E.g. SPANAM (a system that translates between
English and Spanish), Taum-Meteo (developed at university of Monstreal to translate weather
reports from English to French).
Database access: Allows user to interact with the database without having to learn a formal language
like SQL.e.g. Fernando Pereira’s CHAT developed in 1983. it responds to queries directed to a
geographical database. It answers questions such as which countries are bordered by two seas? What
are the countries from which a river flows into the black sea?
Information retrieval: Retrieving documents that are relevant to a query from a group of documents.
The query is a list of words describing the contents of the required document.
Data extraction: Extracting useful data from a natural language text. E.g. SCISOR system
(developed 1990) extracts various pieces of data from a news story.
(C). C H A L L E N G E S
(i). Ambiguity: Many things we say can be interpreted in many ways. Includes;
(I). Multiple word meanings. E.g. the word “Pen”.
(II). Syntactic ambiguity: E.g. “I hit the man with a hammer”.
Question: Picked a hammer and hit the man or hit the man who was holding a hammer?
(III). Categorical ambiguity: E.g. The word “Time” can be a noun, a verb or an adjective. E.gs.
Sentences: “Time is money” (Noun), “Time me on the last lap” (Verb), “Time travel is not
likely in my lifetime” (adjective).
(IV). Referential ambiguity: More than one objects can be referred to by a noun phrase.
E.g. “After they finished the exam, the students and the lecturers left”. Who finished
the exam (students or the lecturers)?
(V). Unclear ante cents: (use of pronouns). E.g. John hit Bill because of his failure to
understand”. Who failed to understand, John or Bill?
(ii). Incompleteness: We do not always say all what we mean. Because we share
common experiences, we usually leave out many details and assume that our
listeners can ‘read between the lines’.
(iii). Inaccuracy: Includes spelling errors, ungrammatical constructions, and
improper punctuation.
(D). N L P U N D E R S T A N D I N G T E C H N I Q U E S
Steps taken to try and understand the meaning of sentences.
[s, [np, [proper_noun, sue]], [vp, [v, hit], [np, [proper_noun, tom]]]]
8
(F). E X E R C I S E S
(i). Discuss areas where you think NLP could be applied in Kenya.
(ii). Describe with examples the reasons to why NLP is a big problem to researchers.
(iii).Explain the ambiguities in the following sentence.
(I). Patrick argued with Alex in his office.
(II). Here you are.
(III). Go to train.