A C G L

A

addDocument(String) - Method in class com.senterre.lloyd.Lloyd
Method to add a whole document to the Lloyd's brain.
addSentence(String) - Method in class com.senterre.lloyd.Lloyd
Method used to train Lloyd by feeding it with sentence(s).

C

com.senterre.lloyd - package com.senterre.lloyd
 

G

getSentence() - Method in class com.senterre.lloyd.Lloyd
This method returns a completly random sentence.
getSentence(String) - Method in class com.senterre.lloyd.Lloyd
This method tries to return a sentence containing the "word"
getSentence(String[]) - Method in class com.senterre.lloyd.Lloyd
Return a random sentence by determining which word may be the most significant from the given sentence.

L

Lloyd - class com.senterre.lloyd.Lloyd.
Lloyd is an object that can learn and an answer sentences.
Lloyd() - Constructor for class com.senterre.lloyd.Lloyd
Class constructor.
Lloyd(int) - Constructor for class com.senterre.lloyd.Lloyd
Class constructor specifying the intelligble level.

A C G L