|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdbpackage.KeywordAdder
| 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 | |
KeywordAdder()
|
|
| Method Summary | |
boolean |
addAKeyword(java.lang.String key,
java.lang.Object possibles)
|
boolean |
blankFiles()
This method just blanks out the keyword hash |
boolean |
checkForKeyword(java.lang.String key)
|
java.lang.String[] |
getAllKeywords()
This method just returns an arry of all the keywords |
void |
printKeywords()
Prints all the keywords |
java.lang.String[] |
returnCommon(java.lang.String key)
This method returns an arry of common associations with that keyword |
void |
saveAllHashs()
Saves all the keyword hashes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public KeywordAdder()
| Method Detail |
public boolean addAKeyword(java.lang.String key,
java.lang.Object possibles)
key - the key you want to add to the hashpossibles - represents an array of possible assoiciated words
public boolean checkForKeyword(java.lang.String key)
key - the key you want to check
y
public void printKeywords()
public java.lang.String[] getAllKeywords()
public void saveAllHashs()
public java.lang.String[] returnCommon(java.lang.String key)
key - the key you want to add to the hash
public boolean blankFiles()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||