Constructor and Description |
---|
AutonomousSystemFactoid() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFactoid(java.lang.String lookup)
Returns the factoid's response based on a lookup parameter.
|
java.lang.Boolean |
isTriggered(java.lang.String trigger)
Checks if a word a trigger word for this factoid.
|
public java.lang.Boolean isTriggered(java.lang.String trigger)
Factoid
isTriggered
in interface Factoid
trigger
- the word to checkpublic java.lang.String getFactoid(java.lang.String lookup)
Factoid
getFactoid
in interface Factoid
lookup
- a parameter to pass to the factoid that may influence the response