Third-party software components provide the following functionalities in the system:
SWIPL_LIBDIR
to the path to the swi-prolog library. The prototype employs Prolog as domain reasoner for certain schemata of word problems.In addition, the system requires the availability of the jpl library for accessing Prolog from Java code. It is installed by the prolog installer, check that the jpl.jar
exists and write down the path (It will be needed for the configuration step below).
Project-related software components:
GF; (in our architecture, version version 3.4 ). GF is used to provide the natural language parsing and generation in the Dialog system.
gf-java to use the GF web services from Java; (distributed under lib
, version gf-java-0.8.1.jar ).
Install all the components as directed.
Now configure by passing SWIPL_LIBDIR
for the path to the swi-prolog library and JPL_LIBDIR
for the path to the directory containing jpl.jar
. In our case:
./configure SWIPL_LIBDIR=/opt/local/lib/swipl-6.2.2/lib/i386-darwin11.3.0/ JPL_LIBDIR=/opt/local/lib/swipl-6.2.2/lib/
and then build the system
make