|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fido.linguistic.QuestionResolver
Resolves a fragment from the user to a sentence if the previous sentence from the system was a question.
(Currently not implemented)
Example: The user enters Throw the ball. The system finds two possible balls to throw nearby. The system asks the user Which ball, blue or red?. The response returned to the system will usually be a fragment, simply either blue or red. The Question Resolver module will determine that blue is an adjective. This was stored in the Discourse module as the missing piece of information. This was determined by the interogative pronoun in the question which.
The system would recreate the original sentence as Throw the blue ball which can be processed.
Constructor Summary | |
QuestionResolver(Discourse discourse)
Creates a new QuestionResolver instance. |
Method Summary | |
Sentence |
analyze(Fragment fragment)
Resolves the fragment paramter to a sentence using the previous discourse. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QuestionResolver(Discourse discourse)
discourse
- Current discourse between user and system.Method Detail |
public Sentence analyze(Fragment fragment)
fragment
- Fragment statement from the user
|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |