|
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.NounResolver
Resolve a NounPhrase to one instance in the ObjectTable.
ObjectTable
Constructor Summary | |
NounResolver(Discourse discourse)
Creates a new NounResolver instance. |
Method Summary | |
ResolvedNoun |
resolve(NounPhrase np)
Searches for an instance in the ObjectTable that the NounPhrase representes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NounResolver(Discourse discourse)
discourse
- Discourse object used in resolving nounsMethod Detail |
public ResolvedNoun resolve(NounPhrase np) throws FidoException
Sentence Patterns
Sentence Pattern N1 Type N2 Type Example the N1 AV the N2 EI EI The shark eat the seal the N1 AV a N2 EI CI The man bought a car a N1 AV the N2 CI EI A boy broke the window a N1 AV a N2 CI CI A lion killed a gazel the N1 LV the N2 EI EI The problem is the process the N1 LV a N2 EI C The dog is a Poodle a N1 LV a N2 C C A lion is a cat PN1 LV PN2 C C Wolves are hunters PN1 AV PN2 C C Sharks attack seals Legend: LV = linking verb, AV = action verb, PN = plural noun, EI = existing instance, CI = create instance, C = class
np
- NounPhrase to resolve
FidoException
- General exception thrown if the NounPhrase could not
be processed. The exception will contain a wrapped
exception that is the root cause.
|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |