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

A

addAllSenses(Word) - Method in class Word
Adds all the senses of some other word to this word.
addConstituent(Constituent) - Method in class Arc
Put a new constituent into a copy of this arc.
addRole(Role) - Method in class Word
Adds a new role to a word.
addSemantics(String, String) - Method in class Role
Add semantics to this role.
Arc - class Arc.
Functions as a word arc and generates a finished constituent.
Arc(Rule) - Constructor for class Arc
Creates an arc using a rule.

B

beginning() - Method in class Constituent
Finds the beginning of this constituent.
beginningsList() - Method in class Constituent
Get a list backed by the beginnings list.
beginningsList() - Method in class LexItem
Get a linkedlist of integers containing the beginning of this constituent.
beginningsList() - Method in class Phrase
Get a list backed by the beginnings list.
beginPos - Variable in class Constituent
 
BLOCK_EVENT - Static variable in class DiscourseEvent
Deprecated. Some goal wants to block all others from reacting.
BYE - Static variable in class DiscourseEvent
Deprecated. The user said bye.

C

canAccept(Constituent) - Method in class Arc
Check if this arc will accept some constituent as its next element.
checkHeld(PrologEngine) - Method in class Constituent
Checks if the constituent is held by querying prolog.
complete() - Method in class Arc
Check if this rule is complete.
CONSIDER - Static variable in class DiscourseEvent
Deprecated. A goal of considering a user's assertion that something is true--should have bindings.
consistencyCode() - Method in class Rule
Get the consistencyCode of this rule.
consistent() - Method in class Phrase
Return if this phrase is consistent semantically.
Constituent - class Constituent.
Holds a constituent, any linguistically coherent section of a sentence.
Constituent(int, int, Role, String) - Constructor for class Constituent
Creates a constituent with beginning and ending points.

D

DatabaseLexicon - class DatabaseLexicon.
This class reads the word list file and sticks all the words in a hashtable.
DatabaseLexicon(String) - Constructor for class DatabaseLexicon
Create a lexicon by reading in a file.
DiscourseEvent - class DiscourseEvent.
Deprecated. part of my first attempt at discourse control; totally inadequate as it stands.
DiscourseEvent(String, boolean) - Constructor for class DiscourseEvent
Deprecated. Create an event named by some string.

E

end() - Method in class Constituent
Finds the end of this constituent.
endPos - Variable in class Constituent
 

F

fileFn(String) - Static method in class TestInterpret
 
firstRaisedAux() - Method in class Phrase
Deprecated. because it's a HACK.

G

getBindings(LinkedList, String) - Method in class Rule
Return a version of this rule's consistencyCode with all the variables bound.
getBindings(LinkedList, String, boolean) - Method in class Rule
Return a version of this rule's consistencyCode with all the variables bound.
getConstituent(PrologEngine) - Method in class Arc
Get the finished constituent of this arc.
getConstituents(String, int, PrologEngine) - Method in class Lexicon
Get all the lexical items associated with some bit of text.
getLexItems(int) - Method in class Word
Makes a bunch of lexical items from this word, one per role.
getLexItems(int, PrologEngine) - Method in class Word
Makes a bunch of lexical items from this word, one per role.
getRules(String) - Static method in class Rule
Read the grammar rules file and return a linked list of rules.
getText() - Method in class Constituent
Return a string of the 'guts' of this constituent.
getText() - Method in class LexItem
Get the text of this LexItem.
getText() - Method in class Phrase
Get the string representation of the constituents of this constituent.
getText() - Method in class Word
Returns the text of this word.
GREET - Static variable in class DiscourseEvent
Deprecated. The user greeted us.

H

hasMoreElements() - Method in class Rule
Check if there are more elements in the list.
held - Variable in class Constituent
 
held() - Method in class Constituent
Determine if this constituent is held in a special list for raising.

I

inCat(String) - Method in class Constituent
Checks whether this constituent is in some syntactic category.
inCat(String) - Method in class Role
Check if this role is in some syntactic category.
INFORM - Static variable in class DiscourseEvent
Deprecated. A goal of answering a user question--should have bindings.
INTERP_ERROR - Static variable in class DiscourseEvent
Deprecated. An interpretation error.
interpret(Constituent) - Method in class Interpreter
Interpret a constituent by deriving a logical structure for it and querying against prolog.
interpretation() - Method in class Constituent
Interpret this constituent.
interpretation() - Method in class LexItem
Get the interpretation of this lexical item.
interpretation() - Method in class Phrase
Interpret this constituent.
interpretation() - Method in class Role
Get the interpretation of this role.
interpretation() - Method in class Rule
Get the interpretation of this rule.
Interpreter - class Interpreter.
This is the interpreter for parsed constituents.
Interpreter(SalienceManager, String[]) - Constructor for class Interpreter
Create a new interpreter.
isError() - Method in class DiscourseEvent
Deprecated. Return whether this event is an error.

J

JIPPrologEngine - class JIPPrologEngine.
A wrapper for the prolog engine-- this allows us to switch the implementation if need be.
JIPPrologEngine() - Constructor for class JIPPrologEngine
Create a prolog engine.

L

length() - Method in class Constituent
Finds the length of this constituent, being (end-beginning).
Lexicon - class Lexicon.
Master word list.
Lexicon(String) - Constructor for class Lexicon
Create a lexicon by reading in a file.
LexItem - class LexItem.
A lexical item is just like a word, except that it is constrained to only one role, and can be a constituent of some sentence.
LexItem(String, String, Role, int, boolean) - Constructor for class LexItem
Creates a lex item from text and a role.
LexItem(String, String, Role, int, PrologEngine) - Constructor for class LexItem
Creates a lex item from text and a role.

M

main(String[]) - Static method in class DatabaseLexicon
Run the program.
main(String[]) - Static method in class TestCrash
 
main(String[]) - Static method in class TestInterpret
 
main(String[]) - Static method in class TestParse
 
main(String[]) - Static method in class TestParserOutput
 
main(String[]) - Static method in class TestProlog
 
main(String[]) - Static method in class TestTCP
The main method runs the program.
multilineQuery(String) - Method in class JIPPrologEngine
Query prolog with a bunch of lines, then get back the solution set for the last line.
multilineQuery(String) - Method in interface PrologEngine
Query prolog with a bunch of lines, then get back the solution set for the last line.

N

nextElement() - Method in class Rule
Get the next token of this rule.
NO - Static variable in class DiscourseEvent
Deprecated. The user said no.
NO_EVENT - Static variable in class DiscourseEvent
Deprecated. Nothing left to react to, free to act on our own.
NO_PROLOG - Static variable in class Constituent
 

O

OUTPUT_ERROR - Static variable in class DiscourseEvent
Deprecated. A failure to queue output error.

P

PARSE_ERROR - Static variable in class DiscourseEvent
Deprecated. A parse error.
parse(String) - Method in class Parser
Parse a string.
Parser - class Parser.
And the Lord spoke to Moses, saying, "Of Java code shall ye make the parser, and the parser shall have Arcs of Java code, and a chart of data.
Parser(String, String, String[], String[]) - Constructor for class Parser
Create a parser, which reads a rule file for a CFG.
parserFn() - Static method in class TestInterpret
 
peekElement() - Method in class Rule
Peek at the next token of this rule.
Phrase - class Phrase.
A phrase is a list of constituents, the syntactic elements of a sentence.
Phrase(Constituent[], Role, int, int, PrologEngine) - Constructor for class Phrase
Create a phrase with the given role and constituents.
PrologEngine - interface PrologEngine.
A wrapper for the prolog engine-- this allows us to switch the implementation if need be.
prologName - Variable in class Constituent
 
prologName() - Method in class Constituent
Return a prolog name for this constituent.
prologName(boolean) - Method in class Constituent
Return a prolog name for this constituent, tagged with more info to prevent mistakes.
prologStatements() - Method in class Constituent
Get the prolog statements that apply to this constituent item.

Q

query(String) - Method in class JIPPrologEngine
Query prolog and get back its replies.
query(String) - Method in interface PrologEngine
Query prolog and get back its replies.
query(String, String[]) - Method in class JIPPrologEngine
Queries and returns the values of variables in the answer.
query(String, String[]) - Method in interface PrologEngine
Queries and returns the values of variables in the answer.

R

readFile(String) - Method in class JIPPrologEngine
Read a file into the engine.
readFile(String) - Method in class Lexicon
Read a lexicon file, adding its entries to the lexicon.
readFile(String) - Method in interface PrologEngine
Read a file into the engine.
role - Variable in class Constituent
 
Role - class Role.
Role contains information on the syntactic and semantic role of a word or group of words.
Role(String, String, String) - Constructor for class Role
Create a role from strings.
Rule - class Rule.
The rule class describes a grammatical rule.
Rule(Rule) - Constructor for class Rule
Make a rule from a rule.
Rule(Rule, int) - Constructor for class Rule
Make a rule from a rule, but add some amount to the index.
Rule(Rule, int, String) - Constructor for class Rule
Make a rule from a rule, but add some amount to the index and a string to the interpretation.
Rule(String) - Constructor for class Rule
Creates a rule based on a string.

S

SalienceManager - class SalienceManager.
The Salience Manager keeps track of salient objects and serves them out to requesters.
SalienceManager() - Constructor for class SalienceManager
 
selectionalType() - Method in class Role
Get the selectional type of this role.
syntax() - Method in class Constituent
Get the syntax of this constituent.
syntax() - Method in class Role
Get the syntax of this role.
syntax() - Method in class Rule
Get the syntactic role of this rule.

T

table - Variable in class Lexicon
 
TestCrash - class TestCrash.
 
TestCrash() - Constructor for class TestCrash
 
TestInterpret - class TestInterpret.
Interprets some stuff.
TestInterpret() - Constructor for class TestInterpret
 
TestParse - class TestParse.
Tests the parser by allowing you to load the default files and type sentences in to be parsed.
TestParse() - Constructor for class TestParse
 
TestParserOutput - class TestParserOutput.
Gets parse trees in files.
TestParserOutput() - Constructor for class TestParserOutput
 
TestProlog - class TestProlog.
Test the prolog engine by allowing you to type random stuff into it.
TestProlog() - Constructor for class TestProlog
 
TestTCP - class TestTCP.
Test out the TCP connection to Sphinx by echoing any lines we can get from Sphinx to the console.
TestTCP() - Constructor for class TestTCP
 
toString() - Method in class Arc
Spit the string of this arc out-- debugging purposes.
toString() - Method in class Constituent
Return a string of this constituent.
toString() - Method in class DiscourseEvent
Deprecated. Return the name of this event.
toString() - Method in class Role
Represent this role as a string.
toString() - Method in class Rule
Print the rule.
toString() - Method in class Word
Gets this word as a string.

U

UNHANDLED_ERROR - Static variable in class DiscourseEvent
Deprecated. An error where the interpreter thinks the action required is one the current discourse manager is too stupid to handle.

V

virtual() - Method in class Arc
Check if this arc is virtual or not.

W

WILDCARD - Static variable in class Constituent
 
Word - class Word.
Storage for a word in a lexicon.
Word(String, Role) - Constructor for class Word
Creates a word, with a set pronunciation.

Y

YES - Static variable in class DiscourseEvent
Deprecated. The user said yes.

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