public class Eliza extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ElizaComments |
elizaComments |
protected String |
previousInput |
| Constructor and Description |
|---|
Eliza() |
Eliza(InputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
protected static String |
cleanInput(String input) |
protected static String |
cleanOutput(String output) |
String |
getGreetString() |
protected String |
getRepeatString() |
String |
getResponse(String userInput) |
String |
getSayGoodByeString() |
protected String previousInput
protected ElizaComments elizaComments
public Eliza()
throws IOException
IOExceptionpublic Eliza(InputStream stream) throws IOException
IOExceptionCopyright © 2016. All rights reserved.