|
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.VerbPrepositionResolver
Places the ResolvedNouns for each prepositional phrase attached to the verb in the appropriate frame slot. The frame slot is determined by the preposition string looked up in the AdverbPreposition table.
Constructor Summary | |
VerbPrepositionResolver()
Creates a new VerbPrepositionResolver instance. |
Method Summary | |
void |
resolve(Sentence sentence,
Frame frame)
For each PrepositionalPhrase from the VerbPhrase in the sentence parameter, lookup the preposition in the AdverbPrepsotion table to retrieve a frame slot. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VerbPrepositionResolver()
Method Detail |
public void resolve(Sentence sentence, Frame frame) throws FidoDatabaseException, PrepositionNotFoundException, ObjectNotFoundException
sentence
- Sentence structure to pull the prepositional
phrases.frame
- Frame to set the frame slots.
FidoDatabaseException
- Thrown if there is an error contacting or
processing a database request.
ObjectNotFoundException
- Thrown if the object id of the ResolvedNoun
for the preposition is not found. This should
never happen.
PrepositionNotFoundException
- Thrown if the preposition was not
found in the AdverbPreposition table.
|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |