fido.linguistic
Class SentenceResolver
java.lang.Object
|
+--fido.linguistic.SentenceResolver
- public class SentenceResolver
- extends java.lang.Object
Resolves the multiple sentence structure from the
SentenceComponents module and determines one course
of action for the system to perform.
This module calls the NounFrameSlot, VerbPrepositionResolver,
and VerbResolver.
- See Also:
NounFrameSlot,
VerbPrepositionResolver,
VerbResolver
|
Method Summary |
Frame |
resolve(java.util.Vector clauses)
Takes multiple sentence structures and generates a frame
with one action to perform. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SentenceResolver
public SentenceResolver()
- Creates a new SentenceResolver instance.
resolve
public Frame resolve(java.util.Vector clauses)
throws FidoDatabaseException,
NoMeaningsMatchException,
MultipleMeaningsMatchException
- Takes multiple sentence structures and generates a frame
with one action to perform.
- Parameters:
clauses - Vector of sentence structures from the
SentenceComponents module.
- Throws:
FidoDatabaseException - Thrown if there is an error contacting or
processing a database request.
NoMeaningsMatchException - Thrown if none of the sentence
structures resolve to an action.
MultipleMeaningsMatchException - Thrown if more than one of the sentence
structures resolve to an action.- See Also:
NounFrameSlot,
VerbPrepositionResolver,
VerbResolver