Serialized Form


Package at.ofai.gate.annotation

Class at.ofai.gate.annotation.NoDupAnnotationSetImpl extends gate.annotation.AnnotationSetImpl implements Serializable

Serialized Fields

authoriseDuplicates

java.lang.Boolean authoriseDuplicates

Package at.ofai.gate.creole

Class at.ofai.gate.creole.MtlTransducer extends gate.creole.AbstractLanguageAnalyser implements Serializable

Serialized Fields

grammarURL

java.net.URL grammarURL
The URL to the jape file used as grammar by this transducer.


batch

Batch batch
The actual JapeTransducer used for processing the document(s).


encoding

java.lang.String encoding
The encoding used for reding the grammar file(s).


inputASName

java.lang.String inputASName
The AnnotationSet used as input for the transducer.


outputASName

java.lang.String outputASName
The AnnotationSet used as output by the transducer.


addedClassPath

java.lang.String addedClassPath
The path added by this module to the system classpath


authoriseDuplicates

java.lang.Boolean authoriseDuplicates
A flag to prevent or not the creation by the transducer of annotations that already exist at the same point in the doc


ontology

gate.creole.ontology.Ontology ontology
The ontology that will be available on the RHS of JAPE rules.


Package at.ofai.gate.fsm

Class at.ofai.gate.fsm.FSM extends java.lang.Object implements Serializable

Serialized Fields

initialState

State initialState
The initial state of this FSM.


transducerName

java.lang.String transducerName

Class at.ofai.gate.fsm.FSMInstance extends java.lang.Object implements Serializable

Serialized Fields

supportGraph

FSM supportGraph
The FSM for which this FSMInstance is an instance of.


FSMPosition

State FSMPosition
The current state of this FSMInstance


AGPosition

gate.Node AGPosition
The place (Node) in the AnnotationSet where the matching started


startNode

gate.Node startNode
The place (Node) in the AnnotationSet where the matching started


bindings

java.util.HashMap<K,V> bindings
A map from java.lang.String to gate.AnnotationSet describing all the bindings that took place during matching. needs to be HashMap instead of simply Map in order to cloneable


length

long length
The size of the matched region in the Annotation Set


fileIndex

int fileIndex
The index in the definition file of the rule from which the AGPosition state was generated.


document

gate.Document document

priority

int priority
The priority in the definition file of the rule from which the AGPosition state was generated.

Class at.ofai.gate.fsm.State extends java.lang.Object implements Serializable

Serialized Fields

transitions

gate.util.SimpleArraySet<T> transitions
A set of objects of type gata.fsm.Transition representing the outgoing transitions.


isFinal

boolean isFinal
Is this state a final one?


action

RightHandSide action
The right hand side associated to the rule for which this state recognizes the lhs.


myIndex

int myIndex
The unique index of this state.


fileIndex

int fileIndex
The index in the definition file of the rule that was used for creating this state. NOTE: this member is consistent only for FINAL STATES!


priority

int priority
The priority of the rule from which this state derived.

Class at.ofai.gate.fsm.Transition extends java.lang.Object implements Serializable

Serialized Fields

constraints

BasicPatternElement constraints
The constraints on this transition.


target

State target
The state this transition leads to


bindings

java.util.LinkedList<E> bindings
A list with all the labels associated to the annotations recognized by this transition. We need to use the actual object and not the interface (java.util.List) because we need this object to be cloneable


myIndex

int myIndex
The unique index of this transition. This value is not used by any of the algorithms. It is only provided as a convenient method of identifying the transitions in textual representations (toString() and GML related methods)


Package at.ofai.gate.jape

Class at.ofai.gate.jape.BasicPatternElement extends PatternElement implements Serializable

Serialized Fields

constraints1

java.util.ArrayList<E> constraints1
A set of Constraint. Used during parsing.


constraints2

Constraint[] constraints2
A set of Constraint. Used during matching.


constraintsMap

java.util.HashMap<K,V> constraintsMap
A map of constraint annot type to constraint. Used during parsing.


lastFailurePoint

int lastFailurePoint
Cache of the last position we failed at (-1 when none).


matchedAnnots

gate.AnnotationSet matchedAnnots
The set of annotations we have matched.

Class at.ofai.gate.jape.Batch extends java.lang.Object implements Serializable

Serialized Fields

japeURL

java.net.URL japeURL
The URL that points to a .jape file


encoding

java.lang.String encoding
The encoding used for reading the grammar file(s)


transducer

Transducer transducer
The JAPE transducer.


verbose

boolean verbose
Whether to print progress messages or not.


features

gate.FeatureMap features
Path to the resources tree

Class at.ofai.gate.jape.ComplexPatternElement extends PatternElement implements Serializable

Serialized Fields

kleeneOp

int kleeneOp
Kleene operator (defaults to none). Other values: KLEENE_STAR (*); KLEENE_PLUS (+); KLEENE_QUERY (?)


bindingName

java.lang.String bindingName
Binding name (may be null).


constraintGroup

ConstraintGroup constraintGroup
The recursive definition of what pattern elements make up this one.

Class at.ofai.gate.jape.Constraint extends java.lang.Object implements Serializable

Serialized Fields

annotType

java.lang.String annotType
The type of annnotation we're looking for.


negated

boolean negated
Are we negated?


attributeList

java.util.LinkedList<E> attributeList
The list of attributes that must match the annotation features. Attributes are JdmAttribute objects.

Class at.ofai.gate.jape.ConstraintGroup extends PatternElement implements Serializable

Serialized Fields

patternElementDisjunction1

java.util.ArrayList<E> patternElementDisjunction1
An array of arrays that represent PatternElement conjunctions during parsing of the .jape. Each conjunction is considered as being disjunct with the next. (I.e. they are or'd, in the same way as expressions around "||" in C and Java.) Set during parsing; replaced by finish().


patternElementDisjunction2

PatternElement[][] patternElementDisjunction2
The pattern element disjunction for transduction - Java arrays.


currentConjunction

java.util.ArrayList<E> currentConjunction
An array of PatternElements making up a conjunction. It is a member of patternElementDisjunction. This is the one we're adding to at present. Used during parsing, not matching.

Class at.ofai.gate.jape.JapeException extends gate.util.GateException implements Serializable

Class at.ofai.gate.jape.JdmAttribute extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name

value

java.lang.Object value

operator

int operator

Class at.ofai.gate.jape.JdmException extends gate.util.GateException implements Serializable

Class at.ofai.gate.jape.LeftHandSide extends java.lang.Object implements Serializable

Serialized Fields

constraintGroup

ConstraintGroup constraintGroup
The constraint group making up this LHS.


bindingTable

java.util.HashMap<K,V> bindingTable
Mapping of binding names to ComplexPatternElements


hasMatched

boolean hasMatched
Flag for whether our last match was successful or not.

Class at.ofai.gate.jape.MultiPhaseTransducer extends Transducer implements Serializable

Serialized Fields

phases

java.util.ArrayList<E> phases
The SinglePhaseTransducers that make up this one. Keyed by their phase names.

Class at.ofai.gate.jape.MutableInteger extends java.lang.Object implements Serializable

Serialized Fields

value

int value

Class at.ofai.gate.jape.PatternElement extends java.lang.Object implements Serializable

Serialized Fields

matchHistory

java.util.Stack<E> matchHistory
Match history stack, for use in rollback. In BasicPatternElements the objects on the stack are Integers giving the number of annots that were cached at that point in the history. In ComplexPatternElements the objects are Integers giving the number of times the component ConstraintGroup was successfully matched. In ConstraintGroups the elements are arrays representing conjunctions of PatternElement that succeeded at that point in the history.

Class at.ofai.gate.jape.PrioritisedRuleList extends java.util.ArrayList implements Serializable

Class at.ofai.gate.jape.RightHandSide extends java.lang.Object implements Serializable

Serialized Fields

actionClassString

java.lang.StringBuffer actionClassString
The string we use to create the action class.


actionClassBytes

byte[] actionClassBytes
The bytes of the compiled action class.


actionClassName

java.lang.String actionClassName
The name of the action class.


actionClassQualifiedName

java.lang.String actionClassQualifiedName
The qualified name of the action class.


actionClassJavaFileName

java.lang.String actionClassJavaFileName
Name of the .java file for the action class.


actionClassClassFileName

java.lang.String actionClassClassFileName
Name of the .class file for the action class.


blockNames

java.util.HashSet<E> blockNames
The set of block names. Used to ensure we only get their annotations once in the action class.


lhs

LeftHandSide lhs
The LHS of our rule, where we get bindings from.


nl

java.lang.String nl
Local fashion for newlines.


phaseName

java.lang.String phaseName

ruleName

java.lang.String ruleName

Class at.ofai.gate.jape.Rule extends Transducer implements Serializable

Serialized Fields

lhs

LeftHandSide lhs
The LHS or pattern of the rule.


rhs

RightHandSide rhs
The RHS or action of the rule.


priority

int priority
The priority of the rule.


position

int position
The rule's position in sequence (e.g. order in file).


pendingPosition

int pendingPosition
If we matched but didn't fire yet, this is our pending position.


weFinished

boolean weFinished
Flag for end of document during getNextMatch.

Class at.ofai.gate.jape.SinglePhaseTransducer extends Transducer implements Serializable

Serialized Fields

ruleApplicationStyle

int ruleApplicationStyle
Type of rule application (constants defined in JapeConstants).


rules

PrioritisedRuleList rules
The list of rules in this transducer. Ordered by priority and addition sequence (which will be file position if they come from a file).


fsm

FSM fsm

optionSettings

java.util.HashMap<K,V> optionSettings
The values of any option settings given.


finishedAlready

boolean finishedAlready
Whether the finish method has been called or not.


input

java.util.Set<E> input
Defines the types of input annotations that this transducer reads. If this set is empty the transducer will read all the annotations otherwise it will only "see" the annotations of types found in this list ignoring all other types of annotations.

Class at.ofai.gate.jape.Transducer extends java.lang.Object implements Serializable

Serialized Fields

name

java.lang.String name
Name of this transducer.


ontology

gate.creole.ontology.Ontology ontology

interrupted

boolean interrupted

debugMode

boolean debugMode

baseURL

java.net.URL baseURL

Package at.ofai.gate.jape.parser

Class at.ofai.gate.jape.parser.ParseCpsl extends java.lang.Object implements Serializable

Serialized Fields

ruleNumber

int ruleNumber
Position of the current rule


bindingNameSet

java.util.HashSet<E> bindingNameSet
A list of all the bindings we made this time, for checking the RHS during parsing.


macrosMap

java.util.HashMap<K,V> macrosMap

baseURL

java.net.URL baseURL

encoding

java.lang.String encoding

token_source

ParseCpslTokenManager token_source

jj_input_stream

SimpleCharStream jj_input_stream

token

Token token

jj_nt

Token jj_nt

jj_scanpos

Token jj_scanpos

jj_lastpos

Token jj_lastpos

jj_la

int jj_la

lookingAhead

boolean lookingAhead

jj_semLA

boolean jj_semLA

jj_gen

int jj_gen

jj_la1

int[] jj_la1

jj_2_rtns

at.ofai.gate.jape.parser.ParseCpsl.JJCalls[] jj_2_rtns

jj_rescan

boolean jj_rescan

jj_gc

int jj_gc

jj_ls

at.ofai.gate.jape.parser.ParseCpsl.LookaheadSuccess jj_ls

jj_expentries

java.util.Vector<E> jj_expentries

jj_expentry

int[] jj_expentry

jj_kind

int jj_kind

jj_lasttokens

int[] jj_lasttokens

jj_endpos

int jj_endpos

Class at.ofai.gate.jape.parser.ParseException extends java.lang.Exception implements Serializable

Serialized Fields

specialConstructor

boolean specialConstructor
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).


currentToken

Token currentToken
This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token followng this token will (therefore) be the first error token.


expectedTokenSequences

int[][] expectedTokenSequences
Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.


tokenImage

java.lang.String[] tokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.


eol

java.lang.String eol
The end of line string for this machine.

Class at.ofai.gate.jape.parser.TokenMgrError extends java.lang.Error implements Serializable

Serialized Fields

errorCode

int errorCode
Indicates the reason why the exception is thrown. It will have one of the above 4 values.