Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
I
L
M
O
P
R
S
T
U
V
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.
ACEUtils
- Class in
ch.uzh.ifi.attempto.ape
This class contains ACE-related utility methods.
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.
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)
- Constructor for class ch.uzh.ifi.attempto.ape.
APELocal
Creates a new parser object.
APELocal(String, String)
- Constructor for class ch.uzh.ifi.attempto.ape.
APELocal
Deprecated.
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.
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.
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.owl
- package ch.uzh.ifi.attempto.owl
This package provides interfaces to the OWL verbalizer.
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".
createEntry(String)
- Static method in class ch.uzh.ifi.attempto.ape.
LexiconEntry
Creates a new lexicon entry on the basis of a string that is a serialization of a Prolog term.
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
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
escape(String)
- Static method in class ch.uzh.ifi.attempto.ape.
PrologUtils
Escapes the string according to Prolog escaping rules and puts it into single quotes.
F
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.
get(OutputType)
- Method in class ch.uzh.ifi.attempto.ape.
ACEParserResult
Returns the specified output as a string.
getBoxesHtml(ACEParserResult)
- Static method in class ch.uzh.ifi.attempto.ape.
SyntaxBoxes
This method takes the syntax tree of a parsing result and generates the HTML representation of the syntax boxes showing all three types of boxes.
getBoxesHtml(ACEParserResult, boolean, boolean, boolean)
- Static method in class ch.uzh.ifi.attempto.ape.
SyntaxBoxes
This method takes the syntax tree of a parsing result and generates the HTML representation of the syntax boxes.
getEntries()
- Method in class ch.uzh.ifi.attempto.ape.
Lexicon
Returns a list of all lexicon entries that are contained in this lexicon.
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.
getFunctionWords()
- Static method in class ch.uzh.ifi.attempto.ape.
FunctionWords
Returns a set that contains all function words.
getInstance()
- Static method in class ch.uzh.ifi.attempto.ape.
APELocal
Returns the singleton APELocal instance.
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
getRepair()
- Method in class ch.uzh.ifi.attempto.ape.
Message
Returns an suggestion how to react on the error or warning.
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
getTokenId()
- Method in class ch.uzh.ifi.attempto.ape.
Message
Returns the token number that locates the reason for the error/warning message.
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.
I
init(String)
- Static method in class ch.uzh.ifi.attempto.ape.
APELocal
Initializes the APELocal singleton instance.
init(String, String)
- Static method in class ch.uzh.ifi.attempto.ape.
APELocal
Deprecated.
isClexEnabled()
- Method in class ch.uzh.ifi.attempto.ape.
ACEParser
Returns whether the built-in lexicon is 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.
isInitialized()
- Static method in class ch.uzh.ifi.attempto.ape.
APELocal
Checks whether the singleton instance has already been initialized.
L
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.
M
main(String[])
- Static method in class ch.uzh.ifi.attempto.ape.
APESocket
Message
- Class in
ch.uzh.ifi.attempto.ape
This class represents a warning or error message of the ACE parser.
Message(String, String, Integer, Integer, String, String)
- Constructor for class ch.uzh.ifi.attempto.ape.
Message
Creates a new Message object.
MessageContainer
- Class in
ch.uzh.ifi.attempto.ape
This class is a container for error and warning messages.
O
OutputType
- Enum in
ch.uzh.ifi.attempto.ape
This enumeration lists all the possible outputs of the ACE parser.
P
PrologUtils
- Class in
ch.uzh.ifi.attempto.ape
This class contains Prolog-related utility methods.
R
removeAllEntries()
- Method in class ch.uzh.ifi.attempto.ape.
Lexicon
Removes all entries from this lexicon.
removeEntry(LexiconEntry)
- Method in class ch.uzh.ifi.attempto.ape.
Lexicon
Removes the lexicon entry from this lexicon.
S
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
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
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.
SyntaxBoxes
- Class in
ch.uzh.ifi.attempto.ape
This class generates the colored syntax boxes in HTML notation on the basis of the syntax tree of an ACE sentence.
T
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
U
useIndefiniteArticleAn(String)
- Static method in class ch.uzh.ifi.attempto.ape.
ACEUtils
This method can be used to determine whether an indefinite article has the form "a" or "an" if it is followed by the given word.
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 are 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 are declared.
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.
A
C
D
E
F
G
I
L
M
O
P
R
S
T
U
V
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright 2008-2010, Attempto Group, University of Zurich (see
http://attempto.ifi.uzh.ch
)