name.panitz.eliza
Class Data

java.lang.Object
  extended by name.panitz.eliza.Data

public class Data
extends java.lang.Object

This class contains key/value pairs of how to react on certain messages. The data has been taken from the original Eliza implementation in Gofer done by Mark P. Jones.


Field Summary
 Map<java.lang.String,java.lang.String> CONJUGATES
           
 Li<java.lang.String> repeatMsgs
          A list of reactions, when the same question has been repeated.
 Map<Li<java.lang.String>,Li<java.lang.String>> respMsgs
          respMsgs associates possible answers patterns to certain keywords in the qustion.
 
Constructor Summary
Data()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

respMsgs

public Map<Li<java.lang.String>,Li<java.lang.String>> respMsgs
respMsgs associates possible answers patterns to certain keywords in the qustion. This is a list of pairs. The first element of the pair is a String. The second a list of possible answers for questions containing the first element.


CONJUGATES

public Map<java.lang.String,java.lang.String> CONJUGATES

repeatMsgs

public Li<java.lang.String> repeatMsgs
A list of reactions, when the same question has been repeated.

Constructor Detail

Data

public Data()