|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdbpackage.Analyze
| Field Summary |
| Fields inherited from interface naturalpackage.Pos |
ADJ, adjexceptions, ADV, ALL_S, ART, ARTS, CONJ, CONJS, DET, DETS, HOW, MEASUREMENT, NOUN, NP, NUM_S, NUMBER, PP, PREP, PREPS, PRON, PRONS, UNKNOWN, VERB, VP, WHAT, WHEN, WHERE, WHO, WHY |
| Constructor Summary | |
Analyze()
|
|
| Method Summary | |
AnswerHolder |
analyzeIt(java.lang.String[] sentence,
int[] pos)
This method is the driver for analyzing the question see internal code for precise documentationon details |
java.lang.String |
checkForKeyword(java.lang.String[] sentence)
This method checks for a keyword (point of reference) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Analyze()
| Method Detail |
public AnswerHolder analyzeIt(java.lang.String[] sentence,
int[] pos)
sentence - this is just the sentence you are analyzingpos - this is an int array that contains POS see POS class for constants and what they represent
AtnMainpublic java.lang.String checkForKeyword(java.lang.String[] sentence)
sentence - The sentence you want checked
AtnMain
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||