PAI 5.02 review

Download
by rbytes.net on

PAI is a Question Answering System that gains information from a conversation conducted in a restricted form of the English languag

License: GPL (GNU General Public License)
File size: 0K
Developer: Claudio Scordino
0 stars award from rbytes.net

PAI is a Question Answering System that gains information from a conversation conducted in a restricted form of the English language.

The code is written in C++, and uses a layer provided by the words class. This class provides a lot of operations on strings (C++ lacks of powerful operations on strings) and is widely used by all the other classes.

The code is composed of the following files:

words.h: dichiaration of class words
words.cpp: definitions of functions for the class words
verbs.h: dichiaration of class verb
verbs.cpp: definitions of functions for the class verb
memory.h: dichiaration of class memory
memory.cpp: definitions of functions for the class memory

reading.cpp: code to read an external file

command.h: dichiaration of class command
command.cpp: definitions of functions for the class command
execute.cpp: code to execute an external program

start.cpp: code to initialize the program
main.cpp: code to start the program

Installation

Open a shell, and unzip the file with the command

tar xvfz pai5.02_unix.tar.gz

Move into the main directory, and type

make

This will compile the program.

To install the program in your system (you need to be root), type

make install

At this point, if you want to clean the system, just type

make clean

PAI 5.02 keywords