AI-ExpertSystem-Simple

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

I am assuming that you know what an expert system is and know why 
you are even running this code for in the first place.

TO DO

* More documentation (you can never have too much)

REQUIREMENTS

* Developed under 5.6.1 but should work on anything 5+.
* Written completely in Perl. XS is not required.
* Requires XML::Twig to parse the XML

AUTHOR

Peter Hickman <peterhi@ntlworld.com>

Copyright (c) 2003, Peter Hickman. All rights reserved.

This module is free software. It may be used, redistributed and/or 
modified under the same terms as Perl itself.

lib/AI/ExpertSystem/Simple.pm  view on Meta::CPAN


=over 4

=item reset( )

Resets the system back to its initial state so that a new consoltation can be run

=item load( FILENAME )

This method takes the FILENAME of an XML knowledgebase and attempts to parse it to set up the data structures 
required for a consoltation.

=item process( )

Once the knowledgebase is loaded the consultation is run by repeatedly calling this method.

It returns four results:

=over 4

=item "question"



( run in 0.795 second using v1.01-cache-2.11-cpan-0a6323c29d9 )