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

A

ACEParser - Class in ch.uzh.ifi.attempto.ape
This is an interface to the Attempto Parsing Engine (APE), that translates sentences in Attempto Controlled English (ACE) into logic.
ACEParser() - Constructor for class ch.uzh.ifi.attempto.ape.ACEParser
Creates a new ACEParser object.
ACEParserException - Exception in ch.uzh.ifi.attempto.ape
This exception is used by the ACE parser when used in solo mode.
ACEParserResult - Class in ch.uzh.ifi.attempto.ape
This class represents the output that is returned by the ACEParser class.
action() - Method in class ch.uzh.ifi.attempto.preditor.SpecialMenuItem
The implementation of this abstract method defines the action that is done when the user clicks on the menu item.
actionPerformed(ActionEvent) - Method in class ch.uzh.ifi.attempto.echocomp.MessageWindow
 
actionPerformed(ActionEvent) - Method in class ch.uzh.ifi.attempto.preditor.PreditorWindow
 
actionPerformed(ActionEvent) - Method in class ch.uzh.ifi.attempto.preditor.SpecialMenuItem
 
addActionListener(ActionListener) - Method in class ch.uzh.ifi.attempto.preditor.PreditorWindow
Adds a new action-listener.
addElement(TextElement) - Method in class ch.uzh.ifi.attempto.preditor.text.TextContainer
Adds the text element to the end of the sequence.
addEntries(Collection<LexiconEntry>) - Method in class ch.uzh.ifi.attempto.ape.Lexicon
Adds a collection of lexicon entries to this lexicon.
addEntry(LexiconEntry) - Method in class ch.uzh.ifi.attempto.ape.Lexicon
Adds a lexicon entry to this lexicon.
addLexicon(Lexicon) - Method in class ch.uzh.ifi.attempto.ape.APELocal
Loads the lexicon by adding all lexicon entries of the lexicon.
addLexiconEntry(LexiconEntry) - Method in class ch.uzh.ifi.attempto.ape.APELocal
Adds a new lexicon entry.
addMenuEntry(String, TextElement) - Method in class ch.uzh.ifi.attempto.preditor.MenuCreator
Adds a new menu entry containing the text element to the menu block.
addMenuItem(String, MenuItem) - Method in class ch.uzh.ifi.attempto.preditor.MenuCreator
Adds the menu item to the given menu block.
addReferenceEntries(String, String) - Method in class ch.uzh.ifi.attempto.preditor.MenuCreator
This method looks for referenceable text elements earlier in the token list, given the category of the next token.
addRule(Rule) - Method in class ch.uzh.ifi.attempto.chartparser.Grammar
Adds the rule to the grammar.
addText(String) - Method in class ch.uzh.ifi.attempto.preditor.PreditorWindow
Reads the text and adds it to the end of the current text as far as possible.
addTextElement(TextElement) - Method in class ch.uzh.ifi.attempto.preditor.PreditorWindow
Adds the text element to the end of the text.
addToken(String) - Method in class ch.uzh.ifi.attempto.chartparser.ChartParser
Adds the token to the token sequence and makes one more parsing step to process it.
addTokens(List<String>) - Method in class ch.uzh.ifi.attempto.chartparser.ChartParser
Adds the tokens to the token sequence and processes them.
addVariableEntries(String, int, String) - Method in class ch.uzh.ifi.attempto.preditor.MenuCreator
This method adds text elements that contain variables (in the form of "X", "Y", "Z", "X1", "Y1", "Z1", "X2", and so on) to the menu block.
APELocal - Class in ch.uzh.ifi.attempto.ape
This class provides an interface to the SWI Prolog executable of the Attempto Parsing Engine (APE).
APELocal(String, String) - Constructor for class ch.uzh.ifi.attempto.ape.APELocal
Creates a new parser object.
APESocket - Class in ch.uzh.ifi.attempto.ape
This class provides an interface to the Attempto Parsing Engine (APE) socket server.
APESocket(String, int) - Constructor for class ch.uzh.ifi.attempto.ape.APESocket
Constructs a new parser object based on the hostname and the port number of the APE socket server.
APESocket(int) - Constructor for class ch.uzh.ifi.attempto.ape.APESocket
Constructs a new parser object based on the APE socket server running on "localhost".
APEWebservice - Class in ch.uzh.ifi.attempto.ape
This class provides an interface to the Attempto Parsing Engine (APE) webservice (i.e.
APEWebservice(String) - Constructor for class ch.uzh.ifi.attempto.ape.APEWebservice
Creates a new parser object based on the URL of a running APE webservice.

B

BasicTextElement - Class in ch.uzh.ifi.attempto.preditor.text
This is a general purpose implementation of a text element.
BasicTextElement(String, String, boolean) - Constructor for class ch.uzh.ifi.attempto.preditor.text.BasicTextElement
Creates a new basic text element.
BasicTextElement(String, String) - Constructor for class ch.uzh.ifi.attempto.preditor.text.BasicTextElement
Creates a new basic text element.
BasicTextElement(int, String) - Constructor for class ch.uzh.ifi.attempto.preditor.text.BasicTextElement
Creates a new basic text element containing a number.
BasicTextElement(String, boolean) - Constructor for class ch.uzh.ifi.attempto.preditor.text.BasicTextElement
Creates a new basic text element where the text is the name of the category.
BasicTextElement(String) - Constructor for class ch.uzh.ifi.attempto.preditor.text.BasicTextElement
Creates a new basic text element where the text is the name of the category.
BasicTextElement(int) - Constructor for class ch.uzh.ifi.attempto.preditor.text.BasicTextElement
Creates a new basic text element containing a number which is also the name of the category.
BasicTextElement(Terminal, boolean) - Constructor for class ch.uzh.ifi.attempto.preditor.text.BasicTextElement
Creates a new basic text element on the basis of a terminal category object.
BasicTextElement(Terminal) - Constructor for class ch.uzh.ifi.attempto.preditor.text.BasicTextElement
Creates a new basic text element on the basis of a terminal category object.

C

call(String) - Method in class ch.uzh.ifi.attempto.owl.VerbalizerWebservice
Calls the OWL verbalizer webservice by giving the string representation of an XML-formatted ontology as input.
Category - Class in ch.uzh.ifi.attempto.chartparser
This class represents a grammatical category.
Category(String) - Constructor for class ch.uzh.ifi.attempto.chartparser.Category
Creates a new category.
ch.uzh.ifi.attempto.ape - package ch.uzh.ifi.attempto.ape
This package provides interfaces to the Attempto Parsing Engine (APE).
ch.uzh.ifi.attempto.chartparser - package ch.uzh.ifi.attempto.chartparser
This package contains a chart parser (concretely an Earley parser) that is fully implemented in Java.
ch.uzh.ifi.attempto.echocomp - package ch.uzh.ifi.attempto.echocomp
This package contains some basic GUI components using the Echo Web Framework.
ch.uzh.ifi.attempto.owl - package ch.uzh.ifi.attempto.owl
This package provides interfaces to the OWL verbalizer.
ch.uzh.ifi.attempto.preditor - package ch.uzh.ifi.attempto.preditor
This package contains a predicitive editor that uses the Echo Web Framework and that enables easy creation of sentences that comply with a certain grammar.
ch.uzh.ifi.attempto.preditor.example - package ch.uzh.ifi.attempto.preditor.example
This package contains some example classes that show how to set up a predictive editor.
ch.uzh.ifi.attempto.preditor.text - package ch.uzh.ifi.attempto.preditor.text
This package contains classes and interfaces that represent words and phrases and that are used by the predictive editor.
ChartParser - Class in ch.uzh.ifi.attempto.chartparser
This is a chart parser (concretely an Earley parser) fully implemented in Java.
ChartParser(Grammar) - Constructor for class ch.uzh.ifi.attempto.chartparser.ChartParser
Creates a new chart parser for the given grammar.
checkNeighborTextElements(TextElement, TextElement) - Method in class ch.uzh.ifi.attempto.preditor.text.BasicTextElement
 
checkNeighborTextElements(TextElement, TextElement) - Method in class ch.uzh.ifi.attempto.preditor.text.NounTextElement
 
checkNeighborTextElements(TextElement, TextElement) - Method in class ch.uzh.ifi.attempto.preditor.text.RefTextElement
 
checkNeighborTextElements(TextElement, TextElement) - Method in interface ch.uzh.ifi.attempto.preditor.text.TextElement
Checks the preceding and next text element.
compareTo(MenuItem) - Method in class ch.uzh.ifi.attempto.preditor.MenuEntry
 
compareTo(MenuItem) - Method in class ch.uzh.ifi.attempto.preditor.MenuItem
 
createAdjCompEntry(String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the comparative form of an adjective, for example "richer".
createAdjEntry(String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the positive form of an adjective, for example "rich".
createAdjSupEntry(String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the superlative form of an adjective, for example "richest".
createAdvCompEntry(String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the comparative form of an adverb, for example "faster".
createAdvEntry(String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the positive form of an adverb, for example "manually" or "fast".
createAdvSupEntry(String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the superlative form of an adverb, for example "fastest".
createDitrVerbInfEntry(String, String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the bare infinitive form of a ditransitive verb, for example "give".
createDitrVerbPPEntry(String, String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the past participle form of a ditransitive verb, for example "given".
createDitrVerbThirdEntry(String, String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the third singular form of a ditransitive verb, for example "gives".
createItrVerbInfEntry(String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the bare infinitive form of an intransitive verb, for example "wait".
createItrVerbThirdEntry(String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the third singular form of an intransitive verb, for example "waits".
createMeasureNounPlEntry(String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the plural form of a measurement noun, for example "miles", "km".
createMeasureNounSgEntry(String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the singular form of a measurement noun, for example "mile", "km".
createNounMassEntry(String, String, Gender) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines a mass noun, for example "money".
createNounPlEntry(String, String, Gender) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the plural form of a countable noun, for example "countries".
createNounSgEntry(String, String, Gender) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the singular form of a countable noun, for example "country".
createPrepEntry(String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines a preposition, for example "for".
createPropernameDefPlEntry(String, String, Gender) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines a plural proper name to be used with the definite article "the", for example "the United-Nations".
createPropernameDefSgEntry(String, String, Gender) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines a singular proper name to be used with the definite article "the", for example "the Nile".
createPropernamePlEntry(String, String, Gender) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines a plural proper name, for example "United-States".
createPropernameSgEntry(String, String, Gender) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines a singular proper name, for example "Switzerland".
createTrAdjCompEntry(String, String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the comparative form of a transitive adjective, for example "fonder-of".
createTrAdjEntry(String, String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the positive form of a transitive adjective, for example "fond-of".
createTrAdjSupEntry(String, String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the superlative form of a transitive adjective, for example "fondest-of".
createTrVerbInfEntry(String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the bare infinitive form of a transitive verb, for example "contain".
createTrVerbPPEntry(String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the past participle form of a transitive verb, for example "contained".
createTrVerbThirdEntry(String, String) - Static method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Creates a new lexicon entry that defines the third singular form of a transitive verb, for example "contains".

D

darkBackground - Static variable in class ch.uzh.ifi.attempto.echocomp.Style
The dark background color.
darkDisabled - Static variable in class ch.uzh.ifi.attempto.echocomp.Style
The dark color for disabled components
darkForeground - Static variable in class ch.uzh.ifi.attempto.echocomp.Style
The dark foreground color.
debug(boolean) - Method in class ch.uzh.ifi.attempto.chartparser.ChartParser
This method can be used to switch on/off debug mode (default is off).
deepCopy() - Method in class ch.uzh.ifi.attempto.chartparser.Category
Creates a deep copy of this category.
deepCopy(HashMap<Integer, StringEntity>) - Method in class ch.uzh.ifi.attempto.chartparser.Category
Creates a deep copy of this category using the given string entities.
deepCopy() - Method in class ch.uzh.ifi.attempto.chartparser.Rule
Creates a deep copy of this rule.
deepCopy(HashMap<Integer, StringEntity>) - Method in class ch.uzh.ifi.attempto.chartparser.Rule
Creates a deep copy of this rule using the given string entities.
DelayedComponent - Class in ch.uzh.ifi.attempto.echocomp
This abstract class can be used to create components that are initialized asynchronously in the background.
DelayedComponent(Component) - Constructor for class ch.uzh.ifi.attempto.echocomp.DelayedComponent
Creates a new delayed component which shows the temporary component until the real component is ready.
DelayedComponent() - Constructor for class ch.uzh.ifi.attempto.echocomp.DelayedComponent
Creates a new delayed component with no temporary component.
discardLexicon() - Method in class ch.uzh.ifi.attempto.ape.APELocal
Discards the dynamically added lexicon entries.

E

equals(Object) - Method in class ch.uzh.ifi.attempto.ape.LexiconEntry
 
equals(Object) - Method in class ch.uzh.ifi.attempto.chartparser.Category
 
equals(Object) - Method in class ch.uzh.ifi.attempto.preditor.MenuEntry
 
equals(Object) - Method in class ch.uzh.ifi.attempto.preditor.SpecialMenuItem
 
equals(Object) - Method in class ch.uzh.ifi.attempto.preditor.text.BasicTextElement
 
equals(Object) - Method in class ch.uzh.ifi.attempto.preditor.text.RefTextElement
 
equals(Object) - Method in interface ch.uzh.ifi.attempto.preditor.text.TextElement
 
ExampleGrammar - Class in ch.uzh.ifi.attempto.preditor.example
This class is an examplary implementation of a grammar.
ExampleGrammar() - Constructor for class ch.uzh.ifi.attempto.preditor.example.ExampleGrammar
Creates a new grammar instance.
ExampleMenuCreator - Class in ch.uzh.ifi.attempto.preditor.example
This class is an examplary implementation of a menu creator.
ExampleMenuCreator() - Constructor for class ch.uzh.ifi.attempto.preditor.example.ExampleMenuCreator
Creates a new menu creator instance.
ExampleServlet - Class in ch.uzh.ifi.attempto.preditor.example
This class is an examplary implementation of a servlet that starts a predictive editor.
ExampleServlet() - Constructor for class ch.uzh.ifi.attempto.preditor.example.ExampleServlet
Creates a new servlet instance.

F

fontTypeface - Static variable in class ch.uzh.ifi.attempto.echocomp.Style
The font typeface.
FunctionWords - Class in ch.uzh.ifi.attempto.ape
This class contains the function words of ACE.

G

Gender - Enum in ch.uzh.ifi.attempto.ape
This enumeration lists the possible gender types for nouns and proper names.
GeneralButton - Class in ch.uzh.ifi.attempto.echocomp
This is a convenience class for easy creation of buttons.
GeneralButton(String, int, ActionListener) - Constructor for class ch.uzh.ifi.attempto.echocomp.GeneralButton
Creates a new button.
GeneralButton(String, ActionListener) - Constructor for class ch.uzh.ifi.attempto.echocomp.GeneralButton
Creates a new button.
get(OutputType) - Method in class ch.uzh.ifi.attempto.ape.ACEParserResult
Returns the specified output as a string.
getAccessiblePositions(String) - Method in class ch.uzh.ifi.attempto.chartparser.ChartParser
Returns a boolean array that describes which of the tokens of the current token sequence are accessible (true) and which are not (false) for the given next token.
getAccessibleTextElements(String) - Method in class ch.uzh.ifi.attempto.preditor.MenuCreator
This method returns all text elements that are accessible for the given next token.
getBody() - Method in class ch.uzh.ifi.attempto.chartparser.Rule
Returns the body category sequence of this rule.
getCategory() - Method in class ch.uzh.ifi.attempto.preditor.text.BasicTextElement
 
getCategory() - Method in class ch.uzh.ifi.attempto.preditor.text.RefTextElement
 
getCategory() - Method in interface ch.uzh.ifi.attempto.preditor.text.TextElement
Returns the grammatical category of this text element.
getEntries() - Method in class ch.uzh.ifi.attempto.ape.Lexicon
Returns a list of all lexicon entries that are contained in this lexicon.
getEpsilonRules() - Method in class ch.uzh.ifi.attempto.chartparser.Grammar
Returns all the rules that have no body categories.
getErrorMessages() - Method in class ch.uzh.ifi.attempto.ape.MessageContainer
Returns a list that contains all error messages.
getErrorMessages(String) - Method in class ch.uzh.ifi.attempto.ape.MessageContainer
Returns a list that contains all error messages of a given type.
getFeature(String) - Method in class ch.uzh.ifi.attempto.chartparser.Category
Returns a feature value.
getFirst() - Method in class ch.uzh.ifi.attempto.chartparser.Rule
Returns the first category of the body.
getFunctionWords() - Static method in class ch.uzh.ifi.attempto.ape.FunctionWords
Returns a set that contains all function words.
getHead() - Method in class ch.uzh.ifi.attempto.chartparser.Rule
Returns the head category of this rule.
getMessage() - Method in class ch.uzh.ifi.attempto.echocomp.ServerDelayMessage
 
getMessageContainer() - Method in exception ch.uzh.ifi.attempto.ape.ACEParserException
Returns the message container with the error messages.
getMessageContainer() - Method in class ch.uzh.ifi.attempto.ape.ACEParserResult
Returns the message container that contains the error and warning messages of the parsing procedure.
getMessages() - Method in class ch.uzh.ifi.attempto.ape.MessageContainer
Returns a list that contains all messages.
getMessages(String) - Method in class ch.uzh.ifi.attempto.ape.MessageContainer
Returns a list that contains all messages of a given type.
getMultiOutput(String, Lexicon, OutputType...) - Method in class ch.uzh.ifi.attempto.ape.ACEParser
Returns multiple outputs for the given ACE text using the given lexicon.
getMultiOutput(String, OutputType...) - Method in class ch.uzh.ifi.attempto.ape.ACEParser
Returns multiple outputs for the given ACE text using no lexicon.
getMultiOutput(String, Lexicon, OutputType...) - Method in class ch.uzh.ifi.attempto.ape.APELocal
 
getMultiOutput(String, Lexicon, OutputType...) - Method in class ch.uzh.ifi.attempto.ape.APESocket
 
getMultiOutput(String, Lexicon, OutputType...) - Method in class ch.uzh.ifi.attempto.ape.APEWebservice
 
getName() - Method in class ch.uzh.ifi.attempto.chartparser.Category
Returns the name of the category.
getPossibleNextToken(String) - Method in class ch.uzh.ifi.attempto.preditor.PreditorWindow
Returns a text element with the given content if it is a possible next token.
getReferenceText() - Method in class ch.uzh.ifi.attempto.preditor.text.NounTextElement
 
getReferenceText() - Method in interface ch.uzh.ifi.attempto.preditor.text.RefableTextElement
This method should return the text how a reference to this text element has to look like.
getReferenceText() - Method in class ch.uzh.ifi.attempto.preditor.text.VarTextElement
 
getRepair() - Method in class ch.uzh.ifi.attempto.ape.Message
Returns an suggestion how to react on the error or warning.
getRulesByHeadName(String) - Method in class ch.uzh.ifi.attempto.chartparser.Grammar
Returns the rules whose head category has the given name.
getSentenceId() - Method in class ch.uzh.ifi.attempto.ape.Message
Returns the sentence number that locates the reason for the error/warning message.
getSoloOutput(String, Lexicon, OutputType) - Method in class ch.uzh.ifi.attempto.ape.ACEParser
Returns one single output for the given ACE text using the given lexicon.
getSoloOutput(String, OutputType) - Method in class ch.uzh.ifi.attempto.ape.ACEParser
Returns one single output for the given ACE text using no lexicon.
getSoloOutput(String, Lexicon, OutputType) - Method in class ch.uzh.ifi.attempto.ape.APELocal
 
getSoloOutput(String, Lexicon, OutputType) - Method in class ch.uzh.ifi.attempto.ape.APESocket
 
getSoloOutput(String, Lexicon, OutputType) - Method in class ch.uzh.ifi.attempto.ape.APEWebservice
 
getStartCategory() - Method in class ch.uzh.ifi.attempto.chartparser.Grammar
Returns the start category.
getString() - Method in class ch.uzh.ifi.attempto.chartparser.StringRef
Returns the value of this string object.
getText() - Method in class ch.uzh.ifi.attempto.preditor.text.BasicTextElement
 
getText() - Method in class ch.uzh.ifi.attempto.preditor.text.RefTextElement
 
getText() - Method in class ch.uzh.ifi.attempto.preditor.text.TextContainer
Returns the text that is represented by the sequence of text element as a string.
getText() - Method in interface ch.uzh.ifi.attempto.preditor.text.TextElement
Returns the text of this text element.
getTextContainer() - Method in class ch.uzh.ifi.attempto.preditor.PreditorWindow
Returns the (partial) text that has been entered .
getTextElement() - Method in class ch.uzh.ifi.attempto.preditor.MenuEntry
Returns the text element.
getTextElements() - Method in class ch.uzh.ifi.attempto.preditor.text.TextContainer
Returns the sequence of text elements.
getTokenId() - Method in class ch.uzh.ifi.attempto.ape.Message
Returns the token number that locates the reason for the error/warning message.
getTokens() - Method in class ch.uzh.ifi.attempto.chartparser.ChartParser
Returns the current token sequence.
getType() - Method in class ch.uzh.ifi.attempto.ape.Message
Returns the type of the error/warning message.
getURI() - Method in class ch.uzh.ifi.attempto.ape.ACEParser
Returns the namespace URI to be used for outputs like OWL.
getValue() - Method in class ch.uzh.ifi.attempto.ape.Message
Returns the value of the error/warning message.
getWarningMessages() - Method in class ch.uzh.ifi.attempto.ape.MessageContainer
Returns a list that contains all warning messages.
getWarningMessages(String) - Method in class ch.uzh.ifi.attempto.ape.MessageContainer
Returns a list that contains all warning messages of a given type.
Grammar - Class in ch.uzh.ifi.attempto.chartparser
This class represents a grammar that is needed to run the chart parser.
Grammar(Nonterminal) - Constructor for class ch.uzh.ifi.attempto.chartparser.Grammar
Creates a empty grammar with the given start category.
Grammar(String) - Constructor for class ch.uzh.ifi.attempto.chartparser.Grammar
Creates a empty grammar with a start category of the given name.

H

hasEmptyBody() - Method in class ch.uzh.ifi.attempto.chartparser.Rule
Returns true if the body is empty (i.e.
HSpace - Class in ch.uzh.ifi.attempto.echocomp
This class produces a horizontal empty space.
HSpace() - Constructor for class ch.uzh.ifi.attempto.echocomp.HSpace
Creates a horizontal empty space of default size 5.
HSpace(int) - Constructor for class ch.uzh.ifi.attempto.echocomp.HSpace
Creates a horizontal empty space of the given size.

I

initComponent() - Method in class ch.uzh.ifi.attempto.echocomp.DelayedComponent
This method should contain the (possibly time-consuming) operations to create the actual GUI component.
initMenuCreation() - Method in class ch.uzh.ifi.attempto.preditor.example.ExampleMenuCreator
 
initMenuCreation() - Method in class ch.uzh.ifi.attempto.preditor.MenuCreator
This abstract method is called when the predictive editor is refreshed (before the first call of processCategory).
initMenuCreation() - Method in class ch.uzh.ifi.attempto.preditor.SimpleMenuCreator
 
isAccessible() - Method in class ch.uzh.ifi.attempto.chartparser.Rule
Returns true if the rule is accessible.
isClexEnabled() - Method in class ch.uzh.ifi.attempto.ape.ACEParser
Returns whether the built-in lexicon should be used.
isError() - Method in class ch.uzh.ifi.attempto.ape.Message
Returns true if this message is an error message, or false if it is only a warning message.
isFunctionWord(String) - Static method in class ch.uzh.ifi.attempto.ape.FunctionWords
Checks whether a certain string represents a function word.
isGuessingEnabled() - Method in class ch.uzh.ifi.attempto.ape.ACEParser
Returns whether unknown words should be guessed.

L

Label - Class in ch.uzh.ifi.attempto.echocomp
This is a convenience class for easy creation of labels.
Label() - Constructor for class ch.uzh.ifi.attempto.echocomp.Label
Creates a new empty label.
Label(ImageReference) - Constructor for class ch.uzh.ifi.attempto.echocomp.Label
Creates a new label containing only an image.
Label(String) - Constructor for class ch.uzh.ifi.attempto.echocomp.Label
Creates a new label.
Label(String, int) - Constructor for class ch.uzh.ifi.attempto.echocomp.Label
Creates a new label of the given style.
Label(String, int, int) - Constructor for class ch.uzh.ifi.attempto.echocomp.Label
Creates a new label of the given style with the given text size.
Lexicon - Class in ch.uzh.ifi.attempto.ape
This class represents a lexicon which consists of a set of lexicon entries.
Lexicon() - Constructor for class ch.uzh.ifi.attempto.ape.Lexicon
Creates an empty lexicon.
LexiconEntry - Class in ch.uzh.ifi.attempto.ape
This class represents a single lexicon entry.
lightBackground - Static variable in class ch.uzh.ifi.attempto.echocomp.Style
The light background color.
lightDisabled - Static variable in class ch.uzh.ifi.attempto.echocomp.Style
The light color for disabled components
lightForeground - Static variable in class ch.uzh.ifi.attempto.echocomp.Style
The light foreground color.

M

main(String[]) - Static method in class ch.uzh.ifi.attempto.ape.APESocket
 
mediumBackground - Static variable in class ch.uzh.ifi.attempto.echocomp.Style
The medium background color.
mediumForeground - Static variable in class ch.uzh.ifi.attempto.echocomp.Style
The medium foreground color.
MenuCreator - Class in ch.uzh.ifi.attempto.preditor
This abstract class is used for the predictive editor to create menus on the basis of categories of the grammar.
MenuCreator() - Constructor for class ch.uzh.ifi.attempto.preditor.MenuCreator
Initializes a new menu creator object.
MenuEntry - Class in ch.uzh.ifi.attempto.preditor
This class represents a menu item that contains a text element.
MenuEntry(TextElement) - Constructor for class ch.uzh.ifi.attempto.preditor.MenuEntry
Creates a new menu entry for the given text element.
MenuItem - Class in ch.uzh.ifi.attempto.preditor
This abstract class represents an item of a menu of the predictive editor.
MenuItem() - Constructor for class ch.uzh.ifi.attempto.preditor.MenuItem
Initializes a new menu item.
Message - Class in ch.uzh.ifi.attempto.ape
This class represents a warning or error message of the ACE parser.
MessageContainer - Class in ch.uzh.ifi.attempto.ape
This class is a container for error and warning messages.
MessageWindow - Class in ch.uzh.ifi.attempto.echocomp
This is a convenience class for easy creation of message windows.
MessageWindow(String, ResourceImageReference, String, WindowPane, ActionListener, String...) - Constructor for class ch.uzh.ifi.attempto.echocomp.MessageWindow
Creates a new message window.
MessageWindow(String, String, WindowPane, ActionListener, String...) - Constructor for class ch.uzh.ifi.attempto.echocomp.MessageWindow
Creates a new message window.
MessageWindow(String, String, WindowPane, String...) - Constructor for class ch.uzh.ifi.attempto.echocomp.MessageWindow
Creates a new message window.
MessageWindow(String, String, String...) - Constructor for class ch.uzh.ifi.attempto.echocomp.MessageWindow
Creates a new message window.

N

newApplicationInstance() - Method in class ch.uzh.ifi.attempto.preditor.example.ExampleServlet
 
nextTokens() - Method in class ch.uzh.ifi.attempto.chartparser.ChartParser
Returns all tokens that are allowed to follow the current token sequence according to the grammar.
Nonterminal - Class in ch.uzh.ifi.attempto.chartparser
This class stands for a nonterminal category.
Nonterminal(String) - Constructor for class ch.uzh.ifi.attempto.chartparser.Nonterminal
Creates a new nonterminal category.
NounTextElement - Class in ch.uzh.ifi.attempto.preditor.text
This class represents referenceable text elements that contain a noun.
NounTextElement(String, String) - Constructor for class ch.uzh.ifi.attempto.preditor.text.NounTextElement
Creates a new noun text element.

O

OutputType - Enum in ch.uzh.ifi.attempto.ape
This enumeration lists all the possible outputs of the ACE parser.

P

PasswordField - Class in ch.uzh.ifi.attempto.echocomp
This is a convenience class for easy creation of password fields.
PasswordField() - Constructor for class ch.uzh.ifi.attempto.echocomp.PasswordField
Creates a new password field.
PasswordField(ActionListener) - Constructor for class ch.uzh.ifi.attempto.echocomp.PasswordField
Creates a new password field with the given action-listener.
PreditorWindow - Class in ch.uzh.ifi.attempto.preditor
This class represents a predictive editor window.
PreditorWindow(String, Grammar, MenuCreator) - Constructor for class ch.uzh.ifi.attempto.preditor.PreditorWindow
Creates a new predictive editor window for the given grammar using the given menu creator.
prepareMenuBlock(String) - Method in class ch.uzh.ifi.attempto.preditor.MenuCreator
Prepares a new menu block (if there is no such menu block already with the same name).
prepareMenuBlock(String, boolean) - Method in class ch.uzh.ifi.attempto.preditor.MenuCreator
Prepares a new menu block (if there is no such menu block already with the same name).
processCategory(Terminal) - Method in class ch.uzh.ifi.attempto.preditor.example.ExampleMenuCreator
 
processCategory(Terminal) - Method in class ch.uzh.ifi.attempto.preditor.MenuCreator
An implementation of this abstract method should process the category by calling addMenuItem and/or addMenuEntry.
processCategory(Terminal) - Method in class ch.uzh.ifi.attempto.preditor.SimpleMenuCreator
 

R

RefableTextElement - Interface in ch.uzh.ifi.attempto.preditor.text
This interface describes text elements that can be referred to at a later position in the text.
RefTextElement - Class in ch.uzh.ifi.attempto.preditor.text
This class represents a text element that is a reference to a preceding text element.
RefTextElement(RefableTextElement, String) - Constructor for class ch.uzh.ifi.attempto.preditor.text.RefTextElement
Creates a new reference text element that refers to the given referenceable text element.
removeActionListener(ActionListener) - Method in class ch.uzh.ifi.attempto.preditor.PreditorWindow
Removes the action-listener.
removeAllActionListeners() - Method in class ch.uzh.ifi.attempto.preditor.PreditorWindow
Removes all action-listeners.
removeAllElements() - Method in class ch.uzh.ifi.attempto.preditor.text.TextContainer
Removes all text elements.
removeAllEntries() - Method in class ch.uzh.ifi.attempto.ape.Lexicon
Removes all entries from this lexicon.
removeAllTokens() - Method in class ch.uzh.ifi.attempto.chartparser.ChartParser
Removes all tokens in the current token sequence and resets the chart.
removeEntry(LexiconEntry) - Method in class ch.uzh.ifi.attempto.ape.Lexicon
Removes the lexicon entry from this lexicon.
removeLastElement() - Method in class ch.uzh.ifi.attempto.preditor.text.TextContainer
Removes the last text element of the sequence if it is not empty.
removeToken() - Method in class ch.uzh.ifi.attempto.chartparser.ChartParser
Removes the last token and reverts the last parsing step.
Rule - Class in ch.uzh.ifi.attempto.chartparser
This class represents a grammar rule.
Rule(Nonterminal, boolean, Category...) - Constructor for class ch.uzh.ifi.attempto.chartparser.Rule
Creates a new rule.
Rule(Nonterminal, Category...) - Constructor for class ch.uzh.ifi.attempto.chartparser.Rule
Creates a new rule that is accessible.
Rule(List<Category>, boolean) - Constructor for class ch.uzh.ifi.attempto.chartparser.Rule
Creates a new rule.
Rule(List<Category>) - Constructor for class ch.uzh.ifi.attempto.chartparser.Rule
Creates a new rule that is accessible.

S

ServerDelayMessage - Class in ch.uzh.ifi.attempto.echocomp
This class can be used to create user-defined messages in the case of server delay.
ServerDelayMessage(String) - Constructor for class ch.uzh.ifi.attempto.echocomp.ServerDelayMessage
Creates a new server delay message.
ServerDelayMessage(String, String) - Constructor for class ch.uzh.ifi.attempto.echocomp.ServerDelayMessage
Creates a new server delay message.
setClexEnabled(boolean) - Method in class ch.uzh.ifi.attempto.ape.ACEParser
Determines whether the built-in lexicon should be used.
setClexEnabled(boolean) - Method in class ch.uzh.ifi.attempto.ape.APEWebservice
 
setFeature(String, StringRef) - Method in class ch.uzh.ifi.attempto.chartparser.Category
Sets a feature.
setGuessingEnabled(boolean) - Method in class ch.uzh.ifi.attempto.ape.ACEParser
Determines whether unknown words should be guessed.
setGuessingEnabled(boolean) - Method in class ch.uzh.ifi.attempto.ape.APEWebservice
 
setHighlighted(boolean) - Method in class ch.uzh.ifi.attempto.preditor.MenuEntry
This method determines whether the menu entry is highlighted or not.
setTextElements(List<TextElement>) - Method in class ch.uzh.ifi.attempto.preditor.text.TextContainer
Sets the text elements.
setURI(String) - Method in class ch.uzh.ifi.attempto.ape.ACEParser
Sets the namespace URI to be used for outputs like OWL.
setURI(String) - Method in class ch.uzh.ifi.attempto.ape.APEWebservice
 
setWebserviceUrl(String) - Method in class ch.uzh.ifi.attempto.ape.APEWebservice
Sets the URL of the APE webservice to be used.
SimpleMenuCreator - Class in ch.uzh.ifi.attempto.preditor
This class is a minimal implementation of a menu creator.
SimpleMenuCreator() - Constructor for class ch.uzh.ifi.attempto.preditor.SimpleMenuCreator
 
skolemize() - Method in class ch.uzh.ifi.attempto.chartparser.Category
Skolemizes the feature values of this category.
SmallButton - Class in ch.uzh.ifi.attempto.echocomp
This class creates borderless small buttons.
SmallButton(String, ActionListener, int, boolean) - Constructor for class ch.uzh.ifi.attempto.echocomp.SmallButton
Creates a new small button.
SmallButton(String, ActionListener, int) - Constructor for class ch.uzh.ifi.attempto.echocomp.SmallButton
Creates a new small button.
SmallButton(String, ActionListener, boolean) - Constructor for class ch.uzh.ifi.attempto.echocomp.SmallButton
Creates a new small button with text size 10.
SmallButton(String, ActionListener) - Constructor for class ch.uzh.ifi.attempto.echocomp.SmallButton
Creates a new small button with text size 10.
SolidLabel - Class in ch.uzh.ifi.attempto.echocomp
This is a convenience class for easy creation of labels with no line wrap.
SolidLabel() - Constructor for class ch.uzh.ifi.attempto.echocomp.SolidLabel
Creates a new empty label.
SolidLabel(ImageReference) - Constructor for class ch.uzh.ifi.attempto.echocomp.SolidLabel
Creates a new label containing only an image.
SolidLabel(String) - Constructor for class ch.uzh.ifi.attempto.echocomp.SolidLabel
Creates a new label.
SolidLabel(String, int) - Constructor for class ch.uzh.ifi.attempto.echocomp.SolidLabel
Creates a new label of the given style.
SolidLabel(String, int, int) - Constructor for class ch.uzh.ifi.attempto.echocomp.SolidLabel
Creates a new label of the given style with the given text size.
SpecialMenuItem - Class in ch.uzh.ifi.attempto.preditor
This abstract class represents a menu item that performs an action when the user clicks on it.
SpecialMenuItem(String) - Constructor for class ch.uzh.ifi.attempto.preditor.SpecialMenuItem
A new special menu item is initialized.
StringRef - Class in ch.uzh.ifi.attempto.chartparser
This class represents a string object that can unify with other string objects.
StringRef() - Constructor for class ch.uzh.ifi.attempto.chartparser.StringRef
Creates a new string object with null as value.
StringRef(String) - Constructor for class ch.uzh.ifi.attempto.chartparser.StringRef
Creates a new string object with the given value.
Style - Class in ch.uzh.ifi.attempto.echocomp
This class defines some style attributes that are used by the components of this package.
styleSheet - Static variable in class ch.uzh.ifi.attempto.echocomp.Style
The style sheet containing the shadows for internal windows.

T

Terminal - Class in ch.uzh.ifi.attempto.chartparser
This class stands for a terminal category.
Terminal(String) - Constructor for class ch.uzh.ifi.attempto.chartparser.Terminal
Creates a new terminal category.
TextContainer - Class in ch.uzh.ifi.attempto.preditor.text
This class represents a text container that stores a sequence of text elements that represent a (partial) text or sentence.
TextContainer() - Constructor for class ch.uzh.ifi.attempto.preditor.text.TextContainer
Creates a new text container.
TextElement - Interface in ch.uzh.ifi.attempto.preditor.text
This interface describes a text element (a word or phrase) that is used by the predictive editor.
TextField - Class in ch.uzh.ifi.attempto.echocomp
This is a convenience class for easy creation of text fields.
TextField() - Constructor for class ch.uzh.ifi.attempto.echocomp.TextField
Creates a new text field.
TextField(ActionListener) - Constructor for class ch.uzh.ifi.attempto.echocomp.TextField
Creates a new text field.
toList() - Method in class ch.uzh.ifi.attempto.ape.Lexicon
Returns the lexicon as a serialized Prolog list.
toMultiFlag() - Method in enum ch.uzh.ifi.attempto.ape.OutputType
 
toSoloFlag() - Method in enum ch.uzh.ifi.attempto.ape.OutputType
 
toString() - Method in enum ch.uzh.ifi.attempto.ape.Gender
Returns the Prolog atom representation of the type of gender.
toString() - Method in class ch.uzh.ifi.attempto.ape.Lexicon
Returns this lexicon as a contents of an APE lexicon file, i.e.
toString() - Method in class ch.uzh.ifi.attempto.ape.LexiconEntry
Returns the plain text serialization for this lexicon entry.
toString() - Method in class ch.uzh.ifi.attempto.ape.Message
Returns a pretty-printed error/warning message.
toString() - Method in class ch.uzh.ifi.attempto.ape.MessageContainer
 
toString() - Method in class ch.uzh.ifi.attempto.chartparser.Category
 
toString() - Method in class ch.uzh.ifi.attempto.chartparser.Grammar
 
toString() - Method in class ch.uzh.ifi.attempto.chartparser.Rule
 
toString() - Method in class ch.uzh.ifi.attempto.chartparser.Terminal
 
toString() - Method in class ch.uzh.ifi.attempto.preditor.PreditorWindow
 
tryToUnify(Category) - Method in class ch.uzh.ifi.attempto.chartparser.Category
Tries to unify this category with another category.

U

UnificationFailedException - Exception in ch.uzh.ifi.attempto.chartparser
This exception is thrown if one attempts to unify two objects that cannot unify.
unify(Category) - Method in class ch.uzh.ifi.attempto.chartparser.Category
Unifies this category with another category.
unify(StringRef) - Method in class ch.uzh.ifi.attempto.chartparser.StringRef
Unifies this string object with another string object.

V

valueOf(String) - Static method in enum ch.uzh.ifi.attempto.ape.Gender
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ch.uzh.ifi.attempto.ape.OutputType
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.uzh.ifi.attempto.ape.Gender
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum ch.uzh.ifi.attempto.ape.OutputType
Returns an array containing the constants of this enum type, in the order they're declared.
VarTextElement - Class in ch.uzh.ifi.attempto.preditor.text
This class represents referencable texts elements that contain a variable.
VarTextElement(String, String) - Constructor for class ch.uzh.ifi.attempto.preditor.text.VarTextElement
Creates a new variable text element.
VerbalizerWebservice - Class in ch.uzh.ifi.attempto.owl
This is a simple interface to the OWL verbalizer.
VerbalizerWebservice(String) - Constructor for class ch.uzh.ifi.attempto.owl.VerbalizerWebservice
Constructs a new VerbalizerWebservice object on the basis of the URL of the OWL verbalizer webservice.
VSpace - Class in ch.uzh.ifi.attempto.echocomp
This class produces a vertical empty space.
VSpace() - Constructor for class ch.uzh.ifi.attempto.echocomp.VSpace
Creates a vertical empty space of default size 5.
VSpace(int) - Constructor for class ch.uzh.ifi.attempto.echocomp.VSpace
Creates a vertical empty space of the given size.

W

WindowPane - Class in ch.uzh.ifi.attempto.echocomp
This class creates window panes that arrange themselves on the z-axis in a way that newer window panes are displayed in front of older ones.
WindowPane() - Constructor for class ch.uzh.ifi.attempto.echocomp.WindowPane
Creates a new window pane.
windowTitleBackground - Static variable in class ch.uzh.ifi.attempto.echocomp.Style
The color for the title background of internal windows.

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

Copyright 2008, Attempto Group, University of Zurich (see http://attempto.ifi.uzh.ch)