- a_1_action() - Method in class english.Nounphrase1
-
- addEdgeFromNodeToNode(DigraphNode, DigraphNode) - Method in class digraphs.Digraph
-
Adds a new edge of the appropriate DigraphEdge subclass
to connect two given nodes, provided the two nodes are
nodes of the receiver Digraph.
- addEdgeFromTo(int, int) - Method in class digraphs.Digraph
-
Adds a new edge of the appropriate DigraphEdge subclass
to connect two given nodes indicated by their indices
(0, 1, 2, ... ) in the list of DigraphNodes for the Digraph.
- addInEdge(DigraphEdge) - Method in class digraphs.DigraphNode
-
Adds given DigraphEdge to the list of inEdges, after
checking that the DigraphEdge is connected TO the receiver.
- addNode() - Method in class digraphs.Digraph
-
Adds a new node to the Digraph and returns it.
- addOutEdge(DigraphEdge) - Method in class digraphs.DigraphNode
-
Adds given DigraphEdge to the list of outEdges, after
checking that the DigraphEdge is connected FROM the receiver.
- ADJECTIVE_1_action() - Method in class english.Nounphrase1
-
- advance() - Method in class asd.ASDDecider
-
Attempts to advance the search state one step.
- advance() - Method in class asd.ASDParser
-
Attempts to advance the parse state one step.
- ancestors() - Method in class digraphs.DigraphNode
-
Returns an ArrayList of all DigraphNodes from which the receiver
can be reached by traversal of one or more edges out.
- ancestors(HashSet<DigraphNode>) - Method in class digraphs.DigraphNode
-
Adds to the HashSet aSet all DigraphNodes that are NOT already
in aSet but from which the receiver is reachable by traversal of
one or more edges out.
- another_1_action() - Method in class english.Nounphrase1
-
- ANYTHING - Variable in class asd.ASDDecider
-
The string used to match anything at all in a given phrase
or decision structure.
- ANYTHING - Variable in class asd.ASDParser
-
The string used to match anything at all in a given phrase
or phrase structure.
- APOSTROPHE_1_action() - Method in class english.Nounphrase1
-
- asd - package asd
-
- ASDCheck - Class in asd
-
Checks an ASDGrammar read from a file for well-formedness.
- ASDCheck() - Constructor for class asd.ASDCheck
-
- ASDDecider - Class in asd
-
Instances are decision network searchers that can load an ASDGrammar
from a specified file and use it as a decision network.on an input
string of decision tokens treated as an unordered set.
- ASDDecider() - Constructor for class asd.ASDDecider
-
Initializes an ASDDecider with no semantics or application.
- ASDDecider(Object) - Constructor for class asd.ASDDecider
-
Initializes an instance with the ASDDecider itself to
interpret semantic actions and semantic values in the grammar,
and with application-specific messages to be sent to the
specified application, if desired.
- ASDDecider(Object, ASDSemantics) - Constructor for class asd.ASDDecider
-
Initializes an ASDDecider instance with a reference to a given
application to which application-specific messages are to be sent,
and a given instance of a class that implements the ASDSemantics
interface.
- ASDDeciderTester - Class in asdx
-
An ASDDeciderTester permits a user to test an ASD decision network.
- ASDDigraphEdge - Class in asd
-
Instances represent edges in an ASD grammar for the grammar
optimizer and graphical grammar editor.
- ASDDigraphEdge(ASDDigraphNode, ASDDigraphNode) - Constructor for class asd.ASDDigraphEdge
-
- ASDEditor - Class in asd
-
An ASDEditor permits a user to edit an ASD grammar.
- ASDGrammar - Class in asd
-
Instances are ASD grammars in the internal representation
used by the ASD Parser.
- ASDGrammar() - Constructor for class asd.ASDGrammar
-
Creates a new empty ASDGrammar.
- ASDGrammar(String, boolean) - Constructor for class asd.ASDGrammar
-
Creates a new ASDGrammar from the character representation
stored in a given file.
- ASDGrammar(String, boolean, boolean) - Constructor for class asd.ASDGrammar
-
Creates a new ASDGrammar from the character representation
stored in a given file.
- ASDGrammarNode - Class in asd
-
Instances are nodes in an ASDGrammar
- ASDGrammarNode(String, String, boolean, ArrayList<String>, ArrayList<ASDGrammarSuccessor>, ArrayList<String>, String, String, String) - Constructor for class asd.ASDGrammarNode
-
Initializes a new ASDGrammarNode.
- ASDGrammarReader - Class in asd
-
Instances can create an ASDGrammar from a character file.
- ASDGrammarReader(String) - Constructor for class asd.ASDGrammarReader
-
Initializes a new ASDGrammarReader on a given file or URL.
- ASDGrammarReader(String, boolean) - Constructor for class asd.ASDGrammarReader
-
Initializes a new ASDGrammarReader on a given file or URL.
- ASDGrammarSuccessor - Class in asd
-
Instances are successor links from ASDGrammarNodes.
- ASDInputException - Exception in asd
-
An ASDInputException is thrown if a syntactic
error is encountered during input of an ASDGrammar
from a file.
- ASDInputException() - Constructor for exception asd.ASDInputException
-
- ASDInputException(String) - Constructor for exception asd.ASDInputException
-
- ASDOptimizer - Class in asd
-
This provides a self-standing optimizer for ASD grammars,
taking input from a grammar in its character file representation
and writing the optimized grammar to a new character file.
- ASDOptimizer() - Constructor for class asd.ASDOptimizer
-
- ASDParser - Class in asd
-
Instances are parsers that can load an ASDGrammar
from a specified file and use it to parse given utterances.
- ASDParser() - Constructor for class asd.ASDParser
-
Initializes an ASDParser with no semantics or application.
- ASDParser(Object) - Constructor for class asd.ASDParser
-
Initializes an instance with the ASDParser itself to
interpret semantic actions and semantic values in the grammar,
and with application-specific messages to be sent to the
specified application.
- ASDParser(Object, ASDSemantics) - Constructor for class asd.ASDParser
-
Initializes an ASDParser instance with a reference to a given
application to which application-specific messages are to be sent,
and a given instance of a class that implements the ASDSemantics
interface.
- ASDParserAdvanceException - Exception in asd
-
Exceptions that may be useful in particular pragmatic
applications to tell the application that an attempt to
advance the parse has failed.
- ASDParserAdvanceException() - Constructor for exception asd.ASDParserAdvanceException
-
- ASDParserAdvanceException(String) - Constructor for exception asd.ASDParserAdvanceException
-
- ASDParserQuitException - Exception in asd
-
Exceptions that may be useful in particular pragmatic
applications to tell the application to quit.
- ASDParserQuitException() - Constructor for exception asd.ASDParserQuitException
-
- ASDParserQuitException(String) - Constructor for exception asd.ASDParserQuitException
-
- ASDPhraseNode - Class in asd
-
Instances are nodes in an ASD phrase structure,
which results from a partial or complete parse of a given phrase.
- ASDPhraseNode() - Constructor for class asd.ASDPhraseNode
-
Initializes an ASDPhraseNode with empty word and null fields.
- ASDSemantics - Interface in asd
-
Interface to an object that implements the semantics used with
an ASDParser.
- ASDTester - Class in asdx
-
An ASDTester permits a user to test an ASD grammar by parsing
utterances with it.
- asdx - package asdx
-
a package of extensions and accessories for Augmented Syntax Diagrams.
- decisionStructure() - Method in class asd.ASDDecider
-
Returns the header node of the current decision structure.
- DefinedUsed - Class in asdx
-
Cross references ASD grammar files and the phrase types defined and used in
them.
- DefinedUsed() - Constructor for class asdx.DefinedUsed
-
- descendants() - Method in class digraphs.DigraphNode
-
Returns an ArrayList of all DigraphNodes that are reachable
from the receiver by traversal of one or more edges out.
- descendants(HashSet<DigraphNode>) - Method in class digraphs.DigraphNode
-
Adds to the HashSet aSet all DigraphNodes that are NOT already
in aSet but are reachable from the receiver by traversal of
one or more edges out.
- Digraph - Class in digraphs
-
A class for representing directed graphs.
- Digraph() - Constructor for class digraphs.Digraph
-
Initializes a new Digraph with empty lists of nodes and
edges.
- DigraphEdge - Class in digraphs
-
A class for representing edges of directed graphs.
- DigraphEdge(DigraphNode, DigraphNode) - Constructor for class digraphs.DigraphEdge
-
Initializes a new DigraphEdge connecting two given DigraphNodes.
- digraphEdges - Variable in class digraphs.Digraph
-
- DigraphNode - Class in digraphs
-
A class for representing nodes of directed graphs.
- DigraphNode() - Constructor for class digraphs.DigraphNode
-
Initializes a new DigraphNode with a default estimated
number of in-edges and of out-edges per node.
- DigraphNode(int) - Constructor for class digraphs.DigraphNode
-
Initializes a new DigraphNode with an estimated number of
in-edges and of out-edges per node.
- DigraphNodeLabeled - Class in digraphs
-
A class for representing nodes in directed graphs that have
strings as labels for the nodes.
- DigraphNodeLabeled(String) - Constructor for class digraphs.DigraphNodeLabeled
-
Initializes a new DigraphNodeLabeled with a given label and
default estimated number of in-edges and of out-edges per node.
- digraphNodes - Variable in class digraphs.Digraph
-
- digraphs - package digraphs
-
a package of classes for representing directed graphs.
- done() - Method in class asd.ASDDecider
-
Tests whether or not a search has been completed successfully.
- done() - Method in class asd.ASDParser
-
Tests whether or not a parse has been completed successfully.
- DUMMYWORD - Variable in class asd.ASDDecider
-
The string recognized as representing a dummy node/instance
in a grammar.
- DUMMYWORD - Static variable in class asd.ASDGrammar
-
The string used in dummy nodes in an ASD grammar.
- DUMMYWORD - Variable in class asd.ASDParser
-
The string recognized as representing a dummy node/instance
in a grammar.
- segment(String) - Method in class asd.ASDParser
-
Creates a phrase structure, a chain of ASDPhraseNodes,
each containing one word, number, punctuation mark, or
quoted string from the given String, with
a dummy header node at the beginning of the chain.
- semanticAction(String) - Method in class asd.ASDDecider
-
Evaluates a string from a "semantic action" field in an
ASDGrammar, by invoking the corresponding method of the
application object.
- semanticAction() - Method in class asd.ASDGrammarNode
-
- semanticAction(String) - Method in class asd.ASDParser
-
Evaluates a string from a "semantic action" field in an
ASDGrammar, by invoking the corresponding method of the
application object.
- semanticAction(String) - Method in interface asd.ASDSemantics
-
Interprets the parameter string in some application-specific manner.
- semanticValue(String) - Method in class asd.ASDDecider
-
Evaluates a string from a "semantic value" field in an
ASDGrammar, as a long integer number, a quoted string, or
by invoking the method of the application object which
is named by the semantic value field.
- semanticValue() - Method in class asd.ASDGrammarNode
-
- semanticValue(String) - Method in class asd.ASDParser
-
Evaluates a string from a "semantic value" field in an
ASDGrammar, as a long integer number, a quoted string, or
by invoking the method of the application object which
is named by the semantic value field.
- semanticValue(String) - Method in interface asd.ASDSemantics
-
Evaluates the parameter string in some application-specific manner
and returns an Object reference to the corresponding value.
- set(String, Object) - Method in class asd.ASDDecider
-
Sets contents of a 'feature' with the specified name
to the specified value.
- set(String, Object) - Method in class asd.ASDParser
-
Sets contents of a 'feature' with the specified name
to the specified value.
- setANYTHING(String) - Method in class asd.ASDDecider
-
Resets the string which is used to match anything at all
in a given phrase or decision structure.
- setANYTHING(String) - Method in class asd.ASDParser
-
Resets the string which is used to match anything at all
in a given phrase or phrase structure.
- setCLOSEQUOTE(String) - Method in class asd.ASDDecider
-
Resets the lexical token which is to be recognized as ending
a quoted string.
- setCLOSEQUOTE(String) - Method in class asd.ASDParser
-
Resets the lexical token which is to be recognized as ending
a quoted string.
- setDUMMYWORD(String) - Method in class asd.ASDDecider
-
Resets the string which is recognized by the ASDDecider as representing
a "dummy" word in the grammar -- used in the labels on dummy nodes.
- setDUMMYWORD(String) - Static method in class asd.ASDGrammar
-
Allows a client to reset the string which is used to represent
a "dummy" word in the grammar -- used in the labels on dummy nodes.
- setDUMMYWORD(String) - Method in class asd.ASDParser
-
Resets the string which is recognized by the ASDParser as representing
a "dummy" word in the grammar -- used in the labels on dummy nodes.
- setLabel(String) - Method in class digraphs.DigraphNodeLabeled
-
Changes the label of the node to a given new value.
- setNOADVANCE(String) - Method in class asd.ASDDecider
-
Sets the NOADVANCE (== NO) value which may be returned by the
advance method to a new value preferred by the client.
- setNOADVANCE(String) - Method in class asd.ASDParser
-
Sets the NOADVANCE (== NO) value which may be returned by the
advance method to a new value preferred by the client.
- setNodesWithIncomingEdgesNotMarked() - Method in class asd.ASDGrammar
-
Allows a client to reset to false the flag which indicates whether
nodes in the grammar with incoming edges have been marked.
- setNUMBER(String) - Method in class asd.ASDDecider
-
Resets the string used to stand in for numeric values in
a grammar lexicon.
- setNUMBER(String) - Method in class asd.ASDParser
-
Resets the string used to stand in for numeric values in
a grammar lexicon.
- setOPENQUOTE(String) - Method in class asd.ASDDecider
-
Resets the lexical token which is to be recognized as beginning
a quoted string.
- setOPENQUOTE(String) - Method in class asd.ASDParser
-
Resets the lexical token which is to be recognized as beginning
a quoted string.
- setQUIT(String) - Method in class asd.ASDDecider
-
Sets the QUIT value which may be returned by the advance method
to a new value preferred by the client.
- setQUIT(String) - Method in class asd.ASDParser
-
Sets the QUIT value which may be returned by the advance method
to a new value preferred by the client.
- setSaveUniquelyParsedSubphrases(boolean) - Method in class asd.ASDParser
-
Tells the ASDParser instance whether or not to retain uniquely-parsed
subphrases when it backtracks.
- setSPACECHARS(String) - Method in class asd.ASDDecider
-
Resets the string of characters which are to be recognized as
delimiters for lexical tokens but not as lexical tokens themselves.
- setSPACECHARS(String) - Method in class asd.ASDParser
-
Resets the string of characters which are to be recognized as
delimiters for lexical tokens but not as lexical tokens themselves.
- setSPECIALCHARS(String) - Method in class asd.ASDDecider
-
Resets the string of characters which are to be recognized as
individual lexical tokens by the segment method.
- setSPECIALCHARS(String) - Method in class asd.ASDParser
-
Resets the string of characters which are to be recognized as
individual lexical tokens by the segment method.
- setSTRING(String) - Method in class asd.ASDDecider
-
Resets the string used to stand in for quoted strings
in a grammar lexicon.
- setSTRING(String) - Method in class asd.ASDParser
-
Resets the string used to stand in for quoted strings
in a grammar lexicon.
- setSUCCEED(String) - Method in class asd.ASDDecider
-
Sets the SUCCEED value which may be returned by the advance method
to a new value preferred by the client.
- setSUCCEED(String) - Method in class asd.ASDParser
-
Sets the SUCCEED value which may be returned by the advance method
to a new value preferred by the client.
- setUNKNOWN(String) - Method in class asd.ASDDecider
-
Resets the string used to stand in for words which are
not found in a given grammar lexicon.
- setUNKNOWN(String) - Method in class asd.ASDParser
-
Resets the string used to stand in for words which are
not found in a given grammar lexicon.
- setV2NodeValue() - Method in class english.Nounphrase1
-
- setVNodeValue() - Method in class english.Nounphrase1
-
- showTree() - Method in class asd.ASDDecider
-
Displays the current parse tree to the console, with a
-> pointer to the current node at the top level
- showTree() - Method in class asd.ASDParser
-
Displays the current parse tree to the console, with a
-> pointer to the current node at the top level
- showTree(ASDPhraseNode) - Method in class asd.ASDPhraseNode
-
Displays to System.out the tree rooted at the receiver,
with node currentNode indicated by an asterisk and an arrow.
- singularOf(String) - Static method in class english.EnglishNoun
-
Returns the singular of a given (presumed) English word.
- sinks() - Method in class digraphs.Digraph
-
Returns an ArrayList containing the DigraphNodes in the Digraph
that have no outgoing edges.
- sources() - Method in class digraphs.Digraph
-
Returns an ArrayList containing the DigraphNodes in the Digraph
that have no incoming edges.
- SPACECHARS - Variable in class asd.ASDDecider
-
Whitespace characters which are to be recognized as delimiters
for lexical tokens but not as lexical tokens themselves.
- SPACECHARS - Variable in class asd.ASDParser
-
Whitespace characters which are to be recognized as delimiters
for lexical tokens but not as lexical tokens themselves.
- SPECIALCHARS - Variable in class asd.ASDDecider
-
Characters which are to be recognized as individual lexical
tokens by the segment method.
- SPECIALCHARS - Variable in class asd.ASDParser
-
Characters which are to be recognized as individual lexical
tokens by the segment method.
- stepParse(int) - Method in class asd.ASDDecider
-
Attempts to find next search of current decision structure
in a specified maximum number of advance steps;
displays the decision structure to System.out after each step.
- stepParse(int) - Method in class asd.ASDParser
-
Attempts to find next parse of current phrase structure
in a specified maximum number of advance steps;
displays the parse tree to System.out after each step.
- STRING - Variable in class asd.ASDDecider
-
The string used to stand in for quoted strings in
a grammar lexicon.
- STRING - Variable in class asd.ASDParser
-
The string used to stand in for quoted strings in
a grammar lexicon.
- subphrase() - Method in class asd.ASDPhraseNode
-
Returns the first ASDPhraseNode in the subphrase (if any)
that this ASDPhraseNode represents; null if there is no
subphrase.
- SUCCEED - Variable in class asd.ASDDecider
-
A possible value returned by the advance() method.
- SUCCEED - Variable in class asd.ASDParser
-
A possible value returned by the advance() method.
- successorInstance - Variable in class asd.ASDGrammarSuccessor
-
- successorNode - Variable in class asd.ASDGrammarSuccessor
-
- successors() - Method in class asd.ASDGrammarNode
-
- successorTypes() - Method in class asd.ASDGrammarNode
-
- successorWord - Variable in class asd.ASDGrammarSuccessor
-