Skip to content

Commit f3befb3

Browse files
committed
first commit
1 parent 03c5ba8 commit f3befb3

File tree

1 file changed

+114
-0
lines changed

1 file changed

+114
-0
lines changed

README.md

+114
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
<HTML>
2+
<HEAD>
3+
<TITLE>Indexed Concept Parsing code</TITLE>
4+
</HEAD>
5+
<BODY>
6+
<H2>Indexed Concept Parsing code</H2>
7+
8+
Indexed Concept Parsing is demonstrated in a simple system for interacting
9+
with customers, in a micro version of the
10+
<A HREF="http://techreport.ils.nwu.edu/tr51.html">Casper Project</A>.
11+
This code was written in Macintosh Common Lisp, version 2.1, but should
12+
be portable to other Lisps as well.
13+
14+
15+
<H2>Files</H2>
16+
17+
There are five sections of the Code/ various utilities, a frame system,
18+
a version of Direct Memory Access Parsing, and
19+
a version of indexed concept parsing. All of these are combined
20+
in the micro-Casper verison.
21+
22+
23+
<H3>Frame System</H3>
24+
<dl>
25+
<dt><A HREF="Code/micro-frame.lisp">Micro-frame.lisp</A>
26+
<dd> A simple frame system, based on code by Chris Riesbeck. It supports
27+
frame definition, features, abstractions and specializations.
28+
29+
</dl>
30+
31+
<H3>Direct Memory Access Parsing</H3>
32+
<dl>
33+
<dt><A HREF="Code/micro-dmap.lisp">Micro-DMAP.lisp</A>
34+
<dd> A simple version of Direct Memory Access Parsing, based on code by Chris Riesbeck.
35+
It is based on the simple frame system.
36+
37+
</dl>
38+
39+
<H3>Indexed Concept Parsing</H3>
40+
<dl>
41+
<dt><A HREF="Code/micro-icp.lisp">Micro-ICP.lisp</A>
42+
<dd> A simple version of indexed concept parsing.
43+
It uses a DMAP-based matcher, and the frame system.
44+
</dl>
45+
46+
<H3>Micro-Casper</H3>
47+
<dl>
48+
<dt><A HREF="Code/micro-casper.lisp">Micro-Casper.lisp</A>
49+
<dd> A simple conversation system, based on the Casper tutorial, which
50+
shows how indexed concept parsing works.
51+
<dt><A HREF="Data/micro-casper.data">Micro-Casper.data</A>
52+
<dd> Data for the conversational turns between the customer and the
53+
customer service representative.
54+
<dt><A HREF="Data/frames.data">frames.data</A>
55+
<dd> Frame data.
56+
<dt><A HREF="Data/phrases.data">phrases.data</A>
57+
<dd> Phrases attached to frames.
58+
<dt><A HREF="Data/associations.data">associations.data</A>
59+
<dd> Associations between index concepts (frames) and target concepts
60+
(customer service representative statements).
61+
</dl>
62+
63+
<H3>Utilities</H3>
64+
65+
Much of the code depends on the availability of these utilities.
66+
<dl>
67+
<dt><A HREF="ICP.system">ICP.system</A>
68+
<dd> This is the loader file for Micro-Casper. It defines packages and
69+
a simple loading system. It also defines specific file dependencies.
70+
<dt><A HREF="Code/Utilities/tables.lisp">tables.lisp</A>
71+
<dd> This is a simple table facility; that is, a way to simply define key to
72+
data tables.
73+
<dt><A HREF="Code/Utilities/toList.lisp">toList.lisp</A>
74+
<dd> List creation tools; specifically, converting strings into lists.
75+
<dt><A HREF="Code/Utilities/logging.lisp">logging.lisp</A>
76+
<dd>Logging facility.
77+
</dl>
78+
79+
<H2>Packages</H2>
80+
81+
The following packages are defined:
82+
83+
<dl>
84+
<dt>icp
85+
<dd> Indexed concept parsing.
86+
<dt>frames
87+
<dd>Frame package.
88+
<dt>dmap
89+
<dd>Direct Memory Access Parsing.
90+
<dt>log
91+
<dd>Logging utility.
92+
<dt>capser
93+
<dd>Micro-Casper
94+
95+
</dl>
96+
97+
<H2>Running Micro-Casper</h2>
98+
99+
In order to run Micro-Casper, do the following:
100+
101+
<ol>
102+
<li>Edit the file <A HREF="ICP.system">ICP.system</A> and change the appropriate
103+
path names.
104+
<li>Load the file <A HREF="ICP.system">ICP.system</A>.
105+
<li>Run (SETUP)
106+
</ol>
107+
108+
An example run of the Casper system can be seen in the
109+
<A HREF="Results/casper.example">Casper example</A> file.
110+
111+
<HR>
112+
113+
</BODY>
114+
</HTML>

0 commit comments

Comments
 (0)