CardWorld1a
2010 Aug 25, Sep 4, updated 2012 Apr 9, Jun 10, Dec 4 - James A.
Mason
CardWorld1a is a modification of CardWorld1, a small example model
of
understanding English in a limited pragmatic domain.
CardWorld1a
differs from CardWorld1 only in using ASDDecider
and a decision network, CardDecisionNet1.grm (the merger of two
separate networks, CardDecisionNet1a.grm
and CardDecisionNet1b.grm)
to replace many lines of nested if ... else logic in the methods
findReferents ... of class CardAgent1.java (compare old version and new version). It provides a
significant example of the use of the ASDDecider program. The
demonstration
version
of ASDEditor can be used to view the decision networks
CardDecisionNet1a.grm and CardDecisionNet1b.grm.
CardWorld1a.zip
contains all of the files necessary to run the example. Just
download the zip file to a directory of its own, extract all of the
files from the zip archive, and use the following java command in
that
directory to run it:
java -cp
cards1a.jar;asddigraphs.jar cards1a.CardWorld
Or you may be able to run
it
with a simpler command line: java
cards1a.CardWorld
The model was compiled with Java jdk1.6.0_17 and should be run with
JRE
6.
The file CardWorld1aSource.zip
contains the Java source code for CardWorld1a.
CardWorld home page