A B C D E F G H I K L M N P Q R S T U V W Y

A

ADJ - Static variable in interface naturalpackage.Pos
 
ADV - Static variable in interface naturalpackage.Pos
 
ALL_S - Static variable in interface naturalpackage.Pos
 
ART - Static variable in interface naturalpackage.Pos
 
ARTS - Static variable in interface naturalpackage.Pos
 
AddAWord - class naturalpackage.AddAWord.
 
AddAWord() - Constructor for class naturalpackage.AddAWord
 
Analyze - class dbpackage.Analyze.
 
Analyze() - Constructor for class dbpackage.Analyze
 
AnswerHolder - class dbpackage.AnswerHolder.
 
AnswerHolder() - Constructor for class dbpackage.AnswerHolder
 
Atn - class naturalpackage.Atn.
 
Atn() - Constructor for class naturalpackage.Atn
 
AtnMain - class AtnMain.
 
AtnMain() - Constructor for class AtnMain
 
addAKeyword(String, Object) - Method in class dbpackage.KeywordAdder
 
addAdj(String) - Method in class naturalpackage.AddAWord
This method adds a word to the adj hashtable and saves it
addAdv(String) - Method in class naturalpackage.AddAWord
This method adds a word to the adverb hashtable and saves it
addNo(String) - Method in class VecTree
 
addNoun(String) - Method in class naturalpackage.AddAWord
This method adds a word to the noun hashtable and saves it
addTemplate(String) - Method in class naturalpackage.Templates
 
addVerb(String) - Method in class naturalpackage.AddAWord
This method adds a word to the verb hashtable and saves it
addYes(String) - Method in class VecTree
 
adj - Variable in class naturalpackage.Atn
 
adjexceptions - Static variable in interface naturalpackage.Pos
 
adv - Variable in class naturalpackage.Atn
 
analyzeIt(String[], int[]) - Method in class dbpackage.Analyze
This method is the driver for analyzing the question see internal code for precise documentationon details
art - Variable in class naturalpackage.Atn
 

B

Bestguess - class naturalpackage.Bestguess.
 
Bestguess() - Constructor for class naturalpackage.Bestguess
 
BinTree - class dtreepackage.BinTree.
 
BinTree(int, String) - Constructor for class dtreepackage.BinTree
 
blankFiles() - Method in class dbpackage.KeywordAdder
This method just blanks out the keyword hash

C

CONJ - Static variable in interface naturalpackage.Pos
 
CONJS - Static variable in interface naturalpackage.Pos
 
CounterHolder - class naturalpackage.CounterHolder.
 
CounterHolder() - Constructor for class naturalpackage.CounterHolder
intializes counter to one; This is a "cheat" to keep persistant counter
check(String[]) - Method in class naturalpackage.Measurements
This class controls the checking of sentence for words dealing with measurements (Currently on USmeasurment system is recognized future plans for extending to the metric system are proposed
check(String[]) - Method in class naturalpackage.Suffixes
This method checks an array of strings for common suffix and prefixs.
checkForField(String, String) - Method in class dbpackage.TemDb
 
checkForKeyword(String[]) - Method in class dbpackage.Analyze
This method checks for a keyword (point of reference)
checkForKeyword(String) - Method in class dbpackage.KeywordAdder
 
checkForTable(String) - Method in class dbpackage.TemDb
 
checkForTableName(Connection, String) - Method in class dbpackage.NlpDb
This method checks to see if the table already exists in the database
checkForTemplate(Vector) - Method in class naturalpackage.Templates
 
checkForTree(Connection, String, String) - Method in class dbpackage.NlpDb
This method checks to see if a tree already exists in the db
checkMetric(String) - Method in class naturalpackage.Metricmeasurements
This method returns a true or false if the string that is sent in is a Metricmeasurement
checkUS(String[]) - Method in class naturalpackage.USmeasurements
This method just checks an array of strings and marks the elements that measurements
compareTemplate(Vector, Vector) - Method in class naturalpackage.Templates
 
conj - Variable in class naturalpackage.Atn
 
counter - Variable in class naturalpackage.CounterHolder
 
createNewTree() - Method in class dtreepackage.TreeBuilder
 
createTable(Connection, String) - Method in class dbpackage.NlpDb
This method creates a table in whatever DB you specify
createTable(String, int) - Method in class dbpackage.TemDb
 

D

DEBUG - Static variable in class dbpackage.DbMethods
 
DEBUG - Static variable in class naturalpackage.Suffixes
 
DET - Static variable in interface naturalpackage.Pos
 
DETS - Static variable in interface naturalpackage.Pos
 
DbMethods - class dbpackage.DbMethods.
 
DbMethods() - Constructor for class dbpackage.DbMethods
 
Dbtest - class Dbtest.
 
Dbtest() - Constructor for class Dbtest
 
dbpackage - package dbpackage
 
deleteATemplate(String) - Method in class naturalpackage.Templates
 
deleteAdj(String) - Method in class naturalpackage.AddAWord
This method deletes a word in the adjective hashtable and saves it
deleteAdv(String) - Method in class naturalpackage.AddAWord
This method deletes a word in the adverb hashtable and saves it
deleteNoun(String) - Method in class naturalpackage.AddAWord
This method deletes a word in the noun hashtable and saves it
deleteVerb(String) - Method in class naturalpackage.AddAWord
This method deletes a word in the verb hashtable and saves it
det - Variable in class naturalpackage.Atn
 
dtreepackage - package dtreepackage
 

E

emptyTemplate() - Method in class naturalpackage.Templates
 
executeQuery(Connection, String) - Method in class dbpackage.DbMethods
This method executes a select statement and returns the result.
executeUpdate(Connection, String) - Method in class dbpackage.DbMethods
This method executes an update statement

F

fieldExists(Connection, String, String, String, String) - Method in class dbpackage.DbMethods
This method checks to see if a field exists in the database
followTheTree() - Method in class dtreepackage.TreeRebuilder
 

G

getAllKeywords() - Method in class dbpackage.KeywordAdder
This method just returns an arry of all the keywords
getAnswer() - Method in class dbpackage.TemDb
 
getConnection(String, String) - Method in class dbpackage.DbMethods
Returns a connection to the MySQL database
getKeyword() - Method in class dbpackage.AnswerHolder
 
getNodeId() - Method in class dtreepackage.BinTree
This method returns the ID of the node
getPOSname(int) - Method in class naturalpackage.Translator
This method just checks an integer that is represneted in the POS interface and translates it into what it represents (noun, question etc)
getQuestion() - Method in class dbpackage.AnswerHolder
 
getRoot() - Method in class dtreepackage.TreeBuilder
 
getSynonym() - Method in class dbpackage.AnswerHolder
 
getTemAnswer() - Method in class dbpackage.AnswerHolder
 
getTree() - Method in class dbpackage.AnswerHolder
 
getVerb() - Method in class dbpackage.AnswerHolder
 
goForIt(String) - Method in class AtnMain
This method is the driver that checks to see if its a template if its not then it calls analyze to try other methods of recognition if none of them work it will call suggestions and try to move the user towards a template or tell them it cant recognize the question
grabTheTree(Connection, String, String) - Method in class dbpackage.NlpDb
This method grabs the tree from the database

H

HOW - Static variable in interface naturalpackage.Pos
 
helper(String) - Method in class naturalpackage.Templates
 

I

Isnumber - class naturalpackage.Isnumber.
 
Isnumber() - Constructor for class naturalpackage.Isnumber
 
insertValues(String, String, String) - Method in class dbpackage.TemDb
 
insertVerbAndVector(Connection, String, String, Vector) - Method in class dbpackage.NlpDb
This method inserts verb & vector (Which is how tree is represented in db
isNumber(String) - Method in class naturalpackage.Isnumber
This method returns a true or false if the string that is sent in is a number

K

KeywordAdder - class dbpackage.KeywordAdder.
 
KeywordAdder() - Constructor for class dbpackage.KeywordAdder
 

L

loadAllWords() - Method in class naturalpackage.AddAWord
This method loads adv, adv,noun,verb hashtables into memory

M

MEASUREMENT - Static variable in interface naturalpackage.Pos
 
Measurements - class naturalpackage.Measurements.
 
Measurements() - Constructor for class naturalpackage.Measurements
 
Metricmeasurements - class naturalpackage.Metricmeasurements.
 
Metricmeasurements() - Constructor for class naturalpackage.Metricmeasurements
 
main(String[]) - Static method in class Dbtest
 
main(String[]) - Static method in class NaturalAdmin
 
main(String[]) - Static method in class TestAddAWord
 
main(String[]) - Static method in class TreeTester
 
main(String[]) - Static method in class testprint
 

N

NOUN - Static variable in interface naturalpackage.Pos
 
NP - Static variable in interface naturalpackage.Pos
 
NUMBER - Static variable in interface naturalpackage.Pos
 
NUM_S - Static variable in interface naturalpackage.Pos
 
NaturalAdmin - class NaturalAdmin.
 
NaturalAdmin() - Constructor for class NaturalAdmin
 
NlpDb - class dbpackage.NlpDb.
 
NlpDb() - Constructor for class dbpackage.NlpDb
 
naturalpackage - package naturalpackage
 
noBranch - Variable in class dtreepackage.BinTree
 
noNode(String) - Method in class dtreepackage.TreeBuilder
 
nodeID - Variable in class dtreepackage.BinTree
 
noun - Variable in class naturalpackage.Atn
 

P

PP - Static variable in interface naturalpackage.Pos
 
PREP - Static variable in interface naturalpackage.Pos
 
PREPS - Static variable in interface naturalpackage.Pos
 
PRON - Static variable in interface naturalpackage.Pos
 
PRONS - Static variable in interface naturalpackage.Pos
 
Parser - class naturalpackage.Parser.
 
Parser() - Constructor for class naturalpackage.Parser
 
Pos - interface naturalpackage.Pos.
 
parse(String[], int) - Method in class naturalpackage.Atn
 
parseTheSentence(String) - Method in class naturalpackage.Parser
This method tokenizes the String sent in and puts into a vector removes punc and some common endings
prep - Variable in class naturalpackage.Atn
 
print(Hashtable) - Method in class naturalpackage.AddAWord
This method justs prints any hashtable to the screen just send in the hashtable
printKeywords() - Method in class dbpackage.KeywordAdder
Prints all the keywords
printNouns() - Method in class naturalpackage.AddAWord
This method justs prints ALL nouns to the screen
printTree() - Method in class dtreepackage.TreeBuilder
 
printTree() - Method in class dtreepackage.TreeRebuilder
 
printVerbs() - Method in class naturalpackage.AddAWord
This method justs prints ALL verbs to the screen
printadj() - Method in class naturalpackage.AddAWord
This method justs prints ALL adjectives to the screen
printadv() - Method in class naturalpackage.AddAWord
This method justs prints ALL adverbs to the screen
pron - Variable in class naturalpackage.Atn
 

Q

queryTree() - Method in class dtreepackage.TreeBuilder
 
questOrAns - Variable in class dtreepackage.BinTree
 

R

readObject(Connection, String, String) - Method in class dbpackage.StoreBlob
Reads an vector you have stored in the database code should be easily modified for any serialized object
rebuildTree(Vector) - Method in class dtreepackage.TreeRebuilder
 
renewFile() - Method in class naturalpackage.Templates
 
retrieveAnswer(String, String, String) - Method in class dbpackage.TemDb
 
returnCommon(String) - Method in class dbpackage.KeywordAdder
This method returns an arry of common associations with that keyword
returnKey() - Method in class naturalpackage.Templates
 
returnRef() - Method in class naturalpackage.Templates
 
returnSynonyms(String) - Method in class dbpackage.Synonyms
 
returnVec() - Method in class VecTree
 
rootNode(String) - Method in class dtreepackage.TreeBuilder
 

S

StoreBlob - class dbpackage.StoreBlob.
 
StoreBlob() - Constructor for class dbpackage.StoreBlob
 
Suffixes - class naturalpackage.Suffixes.
 
Suffixes() - Constructor for class naturalpackage.Suffixes
 
Suggestion - class dbpackage.Suggestion.
 
Suggestion() - Constructor for class dbpackage.Suggestion
 
Synonyms - class dbpackage.Synonyms.
 
Synonyms() - Constructor for class dbpackage.Synonyms
 
saveAllHashs() - Method in class dbpackage.KeywordAdder
Saves all the keyword hashes
saveAllSynonyms() - Method in class dbpackage.Synonyms
 
saveAllTables() - Method in class naturalpackage.AddAWord
This method saves all the tables used in conjunction with the methods that add a word
saveTemplate() - Method in class naturalpackage.Templates
 
setKeyword(String) - Method in class dbpackage.AnswerHolder
 
setQuestion(String) - Method in class dbpackage.AnswerHolder
 
setSynonym(String) - Method in class dbpackage.AnswerHolder
 
setTemplate(String) - Method in class dbpackage.AnswerHolder
 
setTree(Vector) - Method in class dbpackage.AnswerHolder
 
setVerb(String) - Method in class dbpackage.AnswerHolder
 
storeObject(Connection, String, String, Vector) - Method in class dbpackage.StoreBlob
Writes an object to the datase easily modified for serialized object you want to store
storeVerb(Connection, String, String) - Method in class dbpackage.NlpDb
This method stores something in the column
suggest(Vector, int[]) - Method in class dbpackage.Suggestion
 

T

TemDb - class dbpackage.TemDb.
 
TemDb() - Constructor for class dbpackage.TemDb
 
Templates - class naturalpackage.Templates.
 
Templates() - Constructor for class naturalpackage.Templates
 
TestAddAWord - class TestAddAWord.
 
TestAddAWord() - Constructor for class TestAddAWord
 
Translator - class naturalpackage.Translator.
 
Translator() - Constructor for class naturalpackage.Translator
 
TreeBuilder - class dtreepackage.TreeBuilder.
 
TreeBuilder() - Constructor for class dtreepackage.TreeBuilder
 
TreeRebuilder - class dtreepackage.TreeRebuilder.
 
TreeRebuilder() - Constructor for class dtreepackage.TreeRebuilder
 
TreeTester - class TreeTester.
 
TreeTester() - Constructor for class TreeTester
 
tableExists(Connection, String) - Method in class dbpackage.DbMethods
This method check to see if a table exists in the database
takeAShot(int[], int[], int[]) - Method in class naturalpackage.Bestguess
This method takes the three arrays produced by ATN, SUFFIX, and MEASURMENT and combines them into a best guess at this point it just simply assume the Suffix and Measurements are correct will add probabilities later
testDriver() - Method in class dbpackage.DbMethods
Checks whether the MySQL JDBC Driver is installed
testprint - class testprint.
 
testprint() - Constructor for class testprint
 

U

UNKNOWN - Static variable in interface naturalpackage.Pos
 
USmeasurements - class naturalpackage.USmeasurements.
 
USmeasurements() - Constructor for class naturalpackage.USmeasurements
 

V

VERB - Static variable in interface naturalpackage.Pos
 
VP - Static variable in interface naturalpackage.Pos
 
VecTree - class VecTree.
 
VecTree() - Constructor for class VecTree
 
vectorize() - Method in class dtreepackage.TreeBuilder
 
verb - Variable in class naturalpackage.Atn
 
viewTemplate() - Method in class naturalpackage.Templates
 

W

WHAT - Static variable in interface naturalpackage.Pos
 
WHEN - Static variable in interface naturalpackage.Pos
 
WHERE - Static variable in interface naturalpackage.Pos
 
WHO - Static variable in interface naturalpackage.Pos
 
WHY - Static variable in interface naturalpackage.Pos
 

Y

yesBranch - Variable in class dtreepackage.BinTree
 
yesNode(String) - Method in class dtreepackage.TreeBuilder
 

A B C D E F G H I K L M N P Q R S T U V W Y