- 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.
- ACEText - Class in ch.uzh.ifi.attempto.ape
-
WARNING: This class is experimental and is incomplete (i.e.
- ACEText(String) - Constructor for class ch.uzh.ifi.attempto.ape.ACEText
-
- 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).
- 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.
- ch.uzh.ifi.attempto.ape - package ch.uzh.ifi.attempto.ape
-
This package provides interfaces to the Attempto Parsing Engine (APE).
- create(String) - Static method in enum ch.uzh.ifi.attempto.ape.Gender
-
Returns the gender that corresponds to the given Prolog atom.
- 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".
- 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.
- getLexicon() - Method in class ch.uzh.ifi.attempto.ape.ACEText
-
- 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
-
- getText() - Method in class ch.uzh.ifi.attempto.ape.ACEText
-
- 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.