Indexed Concept Parsing code
Indexed Concept Parsing is demonstrated in a simple system for interacting
with customers, in a micro version of the
This code was written in Macintosh Common Lisp, version 2.1, but should
be portable to other Lisps as well.
There are five sections of the Code/ various utilities, a frame system,
a version of Direct Memory Access Parsing, and
a version of indexed concept parsing. All of these are combined
in the micro-Casper verison.
- A simple frame system, based on code by Chris Riesbeck. It supports
frame definition, features, abstractions and specializations.
Direct Memory Access Parsing
- A simple version of Direct Memory Access Parsing, based on code by Chris Riesbeck.
It is based on the simple frame system.
Indexed Concept Parsing
- A simple version of indexed concept parsing.
It uses a DMAP-based matcher, and the frame system.
- A simple conversation system, based on the Casper tutorial, which
shows how indexed concept parsing works.
- Data for the conversational turns between the customer and the
customer service representative.
- Frame data.
- Phrases attached to frames.
- Associations between index concepts (frames) and target concepts
(customer service representative statements).
Much of the code depends on the availability of these utilities.
- This is the loader file for Micro-Casper. It defines packages and
a simple loading system. It also defines specific file dependencies.
- This is a simple table facility; that is, a way to simply define key to
- List creation tools; specifically, converting strings into lists.
- Logging facility.
The following packages are defined:
- Indexed concept parsing.
- Frame package.
- Direct Memory Access Parsing.
- Logging utility.
In order to run Micro-Casper, do the following:
An example run of the Casper system can be seen in the
Casper example file.
- Edit the file ICP.system and change the appropriate
- Load the file ICP.system.
- Run (SETUP)