AIML files: http://www.alicebot.org/aiml/aaa/ I want to make these AIML files the knowledge base of my Prolog program. Help me. Thanks in advance.
P.S. Excuse my bad englis开发者_Python百科h.
http://pycdep.sourceforge.net contains something AIML-like implemented in prolog. Maybe it can serve as a starting point.
You might want to consult (rent it from your local library, don't buy the whole book) the following book:
An Introduction to Language Processing with Perl and Prolog
Pierre M. Nugues (Autor)
Text Book
Before delving into chart parsers and the like, the book contains two sections that deal with eliza like template matching. The sections are:
9.2 Word Spotting and Template Matching
9.3 Multiword Detection
It has Prolog code snipets. The code snipets are not optimized for speed or large volumes, but they show the general idea of the algorithms.
The book is good in computer linguistics, but you might want to consult additional sources for Q&A logic etc..
Best Regards
P.S.: Currently working as well on a Prolog port of a Java/Prolog hybrid extraction pipeline CAT
精彩评论