public interface Factoid
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.
|
java.lang.Boolean isTriggered(java.lang.String trigger)
trigger
- the word to checkjava.lang.String getFactoid(java.lang.String lookup)
lookup
- a parameter to pass to the factoid that may influence the response