Package | Description |
---|---|
org.botlibre.thought.language |
Modifier and Type | Method and Description |
---|---|
static Comprehension.PathType |
Comprehension.PathType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Comprehension.PathType[] |
Comprehension.PathType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Comprehension.checkQuotient(Vertex currentState,
Vertex sentence,
Vertex questionInput,
Vertex responseInput,
Comprehension.PathType path,
java.util.Map<Vertex,Vertex> variables,
Network network)
Check if any of the existing quotients match, if none do, then add a new quotient.
|
boolean |
Comprehension.processState(Vertex currentState,
java.util.List<Vertex> words,
int index,
java.lang.String statePath,
Comprehension.PathType path,
Vertex sentence,
Vertex questionInput,
Vertex responseInput,
java.util.Map<Vertex,Vertex> variables,
Network network)
Check if any of the current states match the next word,
if no match, or quotient does not match, add a new case.
|