Parsing Engine

Serialized Form


Package danbikel.lisp

Class danbikel.lisp.IntSymbol extends Symbol implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Reads this object from an ObjectInput instance.

Throws:
IOException - if the underlying read operation throws an IOException
ClassNotFoundException - if the underlying read operation throws an ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Writes this object to an ObjectOutput instance.

Throws:
IOException - if the underlying write operation throws an IOException

Class danbikel.lisp.Sexp extends Object implements Serializable

Serialization Methods

readExternal

public abstract void readExternal(ObjectInput oi)
                           throws IOException,
                                  ClassNotFoundException
Reads this Sexp object from the specified object stream (to be implemented by all concrete subclasses).

Throws:
IOException - if the underlying stream has an exception
ClassNotFoundException - if the class of the object that is read cannot be found

writeExternal

public abstract void writeExternal(ObjectOutput oo)
                            throws IOException
Writes this Sexp object from the specified object stream (to be implemented by all concrete subclasses).

Throws:
IOException - if the underlying stream thrown an exception

Class danbikel.lisp.SexpList extends Sexp implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Reads this object from an ObjectInput instance.

Throws:
IOException - if the underlying read operation throws an IOException
ClassNotFoundException - if the underlying read operation throws an ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Writes this object to an ObjectOutput instance.

Throws:
IOException - if the underlying write operation throws an IOException

Class danbikel.lisp.SexpList.HashCache extends SexpList implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException - if the underlying read operation throws an IOException
ClassNotFoundException - if the underlying read operation throws an ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Writes this object to an ObjectOutput instance.

Throws:
IOException - if the underlying write operation throws an IOException

Class danbikel.lisp.StringSymbol extends Symbol implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Reads this object from an ObjectInput instance.

Throws:
IOException - if the underlying read operation throws an IOException
ClassNotFoundException - if the underlying read operation throws an ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Writes this object to an ObjectOutput instance.

Throws:
IOException - if the underlying write operation throws an IOException

Class danbikel.lisp.Symbol extends Sexp implements Serializable

Serialization Methods

readExternal

public abstract void readExternal(ObjectInput oi)
                           throws IOException,
                                  ClassNotFoundException
Reads this Sexp object from the specified object stream (to be implemented by all concrete subclasses).

Throws:
IOException - if the underlying stream has an exception
ClassNotFoundException - if the class of the object that is read cannot be found

writeExternal

public abstract void writeExternal(ObjectOutput oo)
                            throws IOException
Writes this Sexp object from the specified object stream (to be implemented by all concrete subclasses).

Throws:
IOException - if the underlying stream thrown an exception

Package danbikel.parser

Class danbikel.parser.AbstractEvent extends Object implements Serializable

Class danbikel.parser.BiCountsTable extends HashMapTwoDoubles<K> implements Serializable

Class danbikel.parser.BrokenSubcatBag extends Object implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput stream)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput stream)
                   throws IOException
Throws:
IOException

Class danbikel.parser.BrokenSubcatBagFactory extends Object implements Serializable

Class danbikel.parser.Chart extends Object implements Serializable

Serialized Fields

chart

Chart.Entry[][] chart
A chart is a two-dimensional array of maps, each of which maps Item objects to their logProbs. More specifically, a chart is a two-dimensional array of Chart.Entry objects, each of which contains one such map, as well as a data member that stores the top log probability of all the items covering the span of the chart entry.

See Also:
Chart.Entry

size

int size
The current size of the chart. This value should always be equal to or greater than the length of the parsed sentence.

See Also:
Chart.setSizeAndClear(int)

cellLimit

int cellLimit
The maximum number of items allowed in a cell (span) of this chart.

See Also:
Settings.decoderUseCellLimit

pruneFact

double pruneFact
The natural log of the prune factor for this chart. If items have a log probability that is lower than the top-ranked item's log probability minus this prune factor, they are pruned away.


relax

boolean relax
Indicates whether to use a more relaxed form of pruning (wider beam in certain instances, to be determined by the concrete subclass).


totalItems

int totalItems
The total number of items added to this chart for a particular sentence (between calls to Chart.clear()).


totalItemsGenerated

int totalItemsGenerated
The total number of items generated, that is, the total number of items that a decoder attempts to add to this chart (used for debugging).


numPruned

int numPruned
The total number of items pruned during the parse of a particular sentence. Typically, after all items have been added for a particular span, a decoder will invoke the Chart.prune(int,int) method for that span. The value of this data member after parsing is complete will reflect the total number of items pruned via calls to this method.

See Also:
Chart.prune(int,int)

numPrePruned

int numPrePruned
The total number of items pre-pruned for a particular sentence, via calls to the Chart.toPrune(int,int,Item) method.

See Also:
Chart.toPrune(int,int,Item)

sortedArr

Item[] sortedArr

numSorted

int numSorted

pruning

boolean pruning
Indicates whether the chart is currently doing any pruning.

See Also:
Chart.doPruning(), Chart.dontDoPruning()

Class danbikel.parser.Chart.Entry extends Object implements Serializable

Serialized Fields

map

MapToPrimitive<K> map

topItem

Item topItem

topLogProb

double topLogProb

Class danbikel.parser.CKYChart extends Chart implements Serializable

Serialized Fields

smallPruneFact

double smallPruneFact

smallerPruneFact

double smallerPruneFact

Class danbikel.parser.CKYItem extends Item implements Serializable

Serialized Fields

logTreeProb

double logTreeProb
The log of the probability of the tree represented by this item.


logPrior

double logPrior
The log of the probability of the lexicalized root nonterminal label of the tree represented by this item.


label

Symbol label
The label of this chart item.


headWord

Word headWord
The head word of this chart item.


leftSubcat

Subcat leftSubcat
The subcat frame representing the unmet requirements on the left side of the head as of the production of this chart item.


rightSubcat

Subcat rightSubcat
The subcat frame representing the unmet requirements on the right side of the head as of the production of this chart item.


headChild

CKYItem headChild
The item representing the head child of the tree node represented by this chart item, or null if this item represents a preterminal.


leftChildren

SLNode leftChildren
A list of CKYItem objects that are the children to the left of the head child, with the head-adjacent child being last.


rightChildren

SLNode rightChildren
A list of CKYItem objects that are the children to the right of the head child, with the head-adjacent child being last.


leftPrevMods

SexpList leftPrevMods
The previous modifiers generated on the left of the head child.


rightPrevMods

SexpList rightPrevMods
The previous modifiers generated on the right of the head child.


start

int start
The index of the first word of the span covered by this item.


end

int end
The index of the last word of the span covered by this item.


constraint

Constraint constraint
The constraint associated with this chart item.


numParses

int numParses
The total number of possible parses represented by this chart item.


leftVerb

boolean leftVerb
The boolean indicating whether a verb intervenes between the head child and the currently-generated left-modifying child.


rightVerb

boolean rightVerb
The boolean indicating whether a verb intervenes between the head child and the currently-generated right-modifying child.


stop

boolean stop
The boolean indicating whether this item has received its stop probabilities.


garbage

boolean garbage
The boolean indicating whether this item has been eliminated from the chart because another, equivalent item was added (meaning that this item could not be immediately reclaimed, since the caller of Chart.add may have a handle onto this item).


containsVerb

byte containsVerb
The cached value of the result of the CKYItem.containsVerb() method invoked on this chart item, initially set to CKYItem.containsVerbUndefined.

Class danbikel.parser.CKYItem.BaseNPAware extends CKYItem implements Serializable

Class danbikel.parser.CKYItem.KBestHack extends CKYItem.MappedPrevModBaseNPAware implements Serializable

Class danbikel.parser.CKYItem.MappedPrevModBaseNPAware extends CKYItem implements Serializable

Class danbikel.parser.CKYItem.PrevModIsStart extends CKYItem implements Serializable

Class danbikel.parser.CountsTableImpl extends HashMapDouble<K> implements Serializable

Class danbikel.parser.CountsTrio extends Object implements Serializable

Serialized Fields

trans

CountsTable<K> trans

histAndDiversity

BiCountsTable<K> histAndDiversity

Class danbikel.parser.Decoder extends Object implements Serializable

Serialized Fields

startList

SexpList startList
A list containing only Training.startSym(), which is the type of list that should be used when there are zero real previous modifiers (to start the Markov modifier process).

See Also:
Trainer.newStartList()

startWordList

WordList startWordList
A list containing only Training.startWord(), which is the type of list that should be used when there are zero real previous modifiers (to start the Markov modifier process).

See Also:
Trainer.newStartWordList()

id

int id
The id of the parsing client that is using this decoder.


server

DecoderServerRemote server
The server for this decoder.


sentenceIdx

int sentenceIdx
The current sentence index for this decoder (starts at 0).


sentence

SexpList sentence
The current sentence.


sentLen

int sentLen
The length of the current sentence, cached here for convenience.


maxSentLen

int maxSentLen
The maximum length of sentences to be parsed. All sentences greater than this length will be skipped.

See Also:
Settings.maxSentLen

kBest

int kBest
The maximum number of top-scoring parses for the various parse methods to return.

See Also:
Settings.kBest

maxParseTime

int maxParseTime
The timer (used when Settings.maxParseTime is greater than zero).

See Also:
Settings.maxParseTime

time

Time time
An object for keeping track of wall-clock time.


chart

CKYChart chart
The parsing chart.


posMap

Map<K,V> posMap
The map from vocabulary items to their possible parts of speech.


posToExampleWordMap

Map<K,V> posToExampleWordMap
A cache derived from Decoder.posMap that is a map of (presumably closed-class) parts of speech to random example words observed with the part of speech from which they are mapped.


posSet

Set<E> posSet
The set of possible parts of speech, derived from Decoder.posMap.


nonterminals

Symbol[] nonterminals
An array of all nonterminals observed in training, that is initialized and filled in at construction time.


headToParentMap

Map<K,V> headToParentMap
A map from futures of the last back-off level of the head generation model to possible history contexts.


leftSubcatMap

Map<K,V> leftSubcatMap
A map from contexts of the last back-off level of the left subcat generation model to possible subcats.


rightSubcatMap

Map<K,V> rightSubcatMap
A map from contexts of the last back-off level of the right subcat generation model to possible subcats.


leftSubcatPS

ProbabilityStructure leftSubcatPS
The left subcat generation model structure.


leftSubcatPSLastLevel

int leftSubcatPSLastLevel
The last level of back-off in the left subcat generation model structure.


rightSubcatPS

ProbabilityStructure rightSubcatPS
The right subcat generation model structure.


rightSubcatPSLastLevel

int rightSubcatPSLastLevel
The last level of back-off in the right subcat generation model structure.


modNonterminalMap

Map<K,V> modNonterminalMap
A map from contexts of the last back-off level of the modifying nonterminal generation model to possible modifying nonterminal labels.


simpleModNonterminalMap

Map<K,V> simpleModNonterminalMap
A map from unlexicalized parent-head-side triples to all possible partially-lexicalized modifying nonterminals.


modNonterminalPS

ProbabilityStructure modNonterminalPS
The modifying nonterminal generation model structure.


modNonterminalPSLastLevel

int modNonterminalPSLastLevel
The last level of back-off in the modifying nonterminal generation model structure.


prunedPretermsPosMap

Map<K,V> prunedPretermsPosMap
A map of each word pruned during training to its set of part-of-speech tags observed with its pruned instances. This map is used by Training.removeWord. decod * @see DecoderServerRemote#prunedPreterms()


prunedPretermsPosSet

Set<E> prunedPretermsPosSet
The set of part-of-speech tags of words pruned during training. This set is used by Training.removeWord.

See Also:
DecoderServerRemote.prunedPreterms()

prunedPunctuationPosMap

Map<K,V> prunedPunctuationPosMap
A map of each punctuation word that was pruned during training to the set of its parts of speech observed with the pruned instances.

See Also:
DecoderServerRemote.prunedPunctuation()

cellLimit

int cellLimit
The cell limit for the parsing chart (stored here for debugging).


pruneFact

double pruneFact
The prune factor for the parsing chart (stored here for debugging).


maxPruneFact

double maxPruneFact
The maximum prune factor (for beam-widening).

See Also:
Settings.decoderMaxPruneFactor

pruneFactIncrement

double pruneFactIncrement
The prune factor increment used when doing beam-widening.

See Also:
Settings.decoderPruneFactorIncrement

relaxConstraints

boolean relaxConstraints
The value of Settings.decoderRelaxConstraintsAfterBeamWidening, cached here for readability and convenience.


hardConstraints

boolean hardConstraints
The boolean to indicate whether to allow probability estimates equal to Constants.logOfZero and to allow other hard constraints (that amount to implicit log of zero probability estimates). If false, all estimates equal to Constants.logOfZero are modified to be Constants.logProbSmall and all other hard constraints except the comma-pruning constraint are relaxed. This data member is true by default, but is temporarily set to false by the decoder when no parse is produced after all beam widening.


originalSentence

SexpList originalSentence
The original sentence, before preprocessing.


originalTags

SexpList originalTags
The original tag list, before preprocessing.


restorePrunedWords

boolean restorePrunedWords
The value of the Settings.restorePrunedWords setting.


originalWords

SexpList originalWords
The original sentence, but with word removed to match pre-processing. This will be used to restore the original words after parsing.


emptySubcat

Subcat emptySubcat
An instance of an empty subcat, for use when constructing lookup events.


downcaseWords

boolean downcaseWords
The boolean value of the Settings.downcaseWords setting.


useLowFreqTags

boolean useLowFreqTags
The boolean value of the Settings.useLowFreqTags setting.


substituteWordsForClosedClassTags

boolean substituteWordsForClosedClassTags
The boolean value of the Settings.decoderSubstituteWordsForClosedClassTags setting.


useOnlySuppliedTags

boolean useOnlySuppliedTags
The boolean value of the Settings.decoderUseOnlySuppliedTags setting.


useHeadToParentMap

boolean useHeadToParentMap
The boolean value of the Settings.decoderUseHeadToParentMap setting.


useSimpleModNonterminalMap

boolean useSimpleModNonterminalMap
The boolean value of the Settings.useSimpleModNonterminalMap setting.


startSym

Symbol startSym
The value of Training.startSym(), cached here for efficiency and convenience.


startWord

Word startWord
The value of Training.startWord(), cached here for efficiency and convenience.


stopSym

Symbol stopSym
The value of Training.stopSym(), cached here for efficiency and convenience.


stopWord

Word stopWord
The value of Training.stopWord(), cached here for efficiency and convenience.


topSym

Symbol topSym
The value of Training.topSym(), cached here for efficiency and convenience.


numPrevMods

int numPrevMods
The value of the setting Settings.numPrevMods.


numPrevWords

int numPrevWords
The value of the setting Settings.numPrevWords.


prevItemsAdded

List<E> prevItemsAdded
One of a pair of lists used by Decoder.addUnariesAndStopProbs(int, int).


currItemsAdded

List<E> currItemsAdded
One of a pair of lists used by Decoder.addUnariesAndStopProbs(int, int).


topProbItemsToAdd

List<E> topProbItemsToAdd
A temporary storage area used by Decoder.addTopUnaries(int) for storing items to be added to the chart when iterating over a cell in the chart.


unaryItemsToAdd

List<E> unaryItemsToAdd
A temporary storage area used by Decoder.addUnaries(danbikel.parser.CKYItem, java.util.List) for storing items to be added to the chart when iterating over a cell in the chart.


stopProbItemsToAdd

List<E> stopProbItemsToAdd
A temporary storage area used by Decoder.addStopProbs(danbikel.parser.CKYItem, java.util.List) for storing items to be added to the chart when iterating over a cell in the chart.


lookupPriorEvent

PriorEvent lookupPriorEvent
A reusable PriorEvent object for look-ups in tables.


lookupHeadEvent

HeadEvent lookupHeadEvent
A reusable HeadEvent object for look-ups in tables.


lookupModEvent

ModifierEvent lookupModEvent
A reusable ModifierEvent object for look-ups in tables.


lookupLeftStopEvent

ModifierEvent lookupLeftStopEvent
A reusable ModifierEvent object for look-ups in tables.


lookupRightStopEvent

ModifierEvent lookupRightStopEvent
A reusable ModifierEvent object for look-ups in tables.


lookupWord

Word lookupWord
A lookup Word object, for obtaining a canonical version.


canonicalWords

Map<K,V> canonicalWords
A reflexive map of Word objects, for getting a canonical version.


wordSet

Set<E> wordSet
A reusable set for storing Word objects, used when seeding the chart in Decoder.initialize(danbikel.lisp.SexpList).


tmpChildrenList

SLNode tmpChildrenList
A reusable list node for use by Decoder.getPrevMods(danbikel.parser.CKYItem, danbikel.util.SLNode) and Decoder.getPrevModWords(danbikel.parser.CKYItem, danbikel.util.SLNode, boolean).


canonicalPrevModLists

Map<K,V> canonicalPrevModLists
A reflexive map in which to store canonical versions of SexpList objects that represent unlexicalized previous modifier lists.


prevModLookupList

SexpList prevModLookupList
A reusable object for constructing previous modifier lists for chart items.


prevModWordLeftLookupList

WordList prevModWordLeftLookupList
A reusable object for constructing previous left-modifier word lists for chart items.


prevModWordRightLookupList

WordList prevModWordRightLookupList
A reusable object for constructing previous right-modifier word lists for chart items.


lookupSubcat

Subcat lookupSubcat
A (currently unused) reusable lookup object.


parentHeadSideLookupList

SexpList parentHeadSideLookupList
A reusable object used for constructing parent-head-side triples when employing the simpler of two methods for determining whether a particular modifier is possible in the context of a particular parent-head-side combination.

See Also:
Settings.useSimpleModNonterminalMap, DecoderServerRemote.simpleModNonterminalMap()

partiallyLexedModLookupList

SexpList partiallyLexedModLookupList
A reusable object used for constructing a partially-lexicalized modifier nonterminal when employing the simpler of two methods for determining whether a particular modifier is possible in the context of a particular parent-head-side combination.

See Also:
Settings.useSimpleModNonterminalMap, DecoderServerRemote.simpleModNonterminalMap()

useCommaConstraint

boolean useCommaConstraint
The boolean value of Settings.decoderUseCommaConstraint.


commaForPruning

boolean[] commaForPruning
A reusable array for storing which words are considered commas for the comma-pruning constraint. If a word at index i is such a comma, then commaForPruning[i] will be true after Decoder.setCommaConstraintData() has been invoked.

See Also:
Settings.decoderUseCommaConstraint, Decoder.setCommaConstraintData()

conjForPruning

boolean[] conjForPruning
A reusable array for storing which words are considered conjunctions for the conjunction-pruning constraint. If a word at index i is such a conjunction, then conjForPruning[i] will be true after Decoder.setCommaConstraintData() has been invoked.

See Also:
Settings.decoderUseCommaConstraint, Decoder.setCommaConstraintData()

keepAllWords

boolean keepAllWords
Cached value of Settings.keepAllWords, for efficiency and convenience.


constraints

ConstraintSet constraints
Caches the ConstraintSet, if any, for the current sentence.


findAtLeastOneSatisfyingConstraint

boolean findAtLeastOneSatisfyingConstraint
Caches the value of ConstraintSet.findAtLeastOneSatisfying(), if there are constraints for the current sentence; otherwise, this data member will be set to false.

See Also:
Decoder.constraints

isomorphicTreeConstraints

boolean isomorphicTreeConstraints
Caches whether or not the ConstraintSet for the current sentence requires a tree that is isomorphic to the tree of constraints. Specifically, this data member will be set to true if the ConstraintSet.findAtLeastOneSatisfying() and ConstraintSet.hasTreeStructure() methods of the current sentence's constraint set both return true. If there is no constraint set for the current sentence, this data member is set to false.

See Also:
Decoder.constraints

dontPostProcess

boolean dontPostProcess
Indicates whether to perform post-processing on a tree after parsing, that is, whether to invoke Training.postProcess(Sexp) on the tree.

See Also:
Settings.decoderDontPostProcess, Settings.decoderOutputInsideProbs

avgSentLen

float avgSentLen

numSents

int numSents

goldTok

SexpTokenizer goldTok

Class danbikel.parser.Decoder.TimeoutException extends Exception implements Serializable

Class danbikel.parser.DecoderServer extends AbstractServer implements Serializable

Serialized Fields

modelCollection

ModelCollection modelCollection
The model collection used by this decoder server.


stopWord

Word stopWord
The value of Training.stopSym(), cached here for convenience.


unknownWordThreshold

int unknownWordThreshold
The integer value of Settings.unknownWordThreshold.


downcaseWords

boolean downcaseWords
The boolean value of Settings.downcaseWords.

Class danbikel.parser.DecoderServer_Stub extends RemoteStub implements Serializable

serialVersionUID: 2L

Class danbikel.parser.EMChart extends CKYChart implements Serializable

Class danbikel.parser.EMChart.Entry extends Chart.Entry implements Serializable

Serialized Fields

numItemsAtLevel

int[] numItemsAtLevel

numLevels

int numLevels

Class danbikel.parser.EMDecoder extends Decoder implements Serializable

Serialized Fields

topProbItemsToAdd

Set<E> topProbItemsToAdd
A temporary storage area used by EMDecoder.addTopUnaries(int) for storing items to be added to the chart when iterating over a cell in the chart.

Bugs: It is a design error to have created this Set member with the same name as the ArrayList member in the superclass. The designer of this class should be appropriately flogged.


cummulativeInsideLogProb

double cummulativeInsideLogProb
The value of all sentences' inside probabilities in log-space. Used to gather training data log-likelihood at the end of each EM iteration.


avgSentLen

float avgSentLen

numSents

int numSents

eventCounts

CountsTable<K> eventCounts
The map of events to their expected counts (cleared after every sentence).


chart

EMChart chart
The parsing chart.

Class danbikel.parser.EMItem extends CKYItem.MappedPrevModBaseNPAware implements Serializable

Serialized Fields

antecedentPairs

EMItem.AntecedentPair antecedentPairs
A list of antecedent pairs for this item.


unaryLevel

int unaryLevel
The unary production level for this item.

See Also:
Decoder.addUnaries(CKYItem, java.util.List)

Class danbikel.parser.EMItem.AntecedentPair extends Object implements Serializable

Serialized Fields

first

EMItem first

second

EMItem second

probs

double[] probs

next

EMItem.AntecedentPair next

Class danbikel.parser.EMParser extends Parser implements Serializable

Class danbikel.parser.GapEvent extends Object implements Serializable

Serialized Fields

direction

Symbol direction
The direction of the gap passed from parent to child.


headWord

Word headWord
The head word of the parent and child involved in the gap event.


parent

Symbol parent
The parent nonterminal that is passing its gap to one of its children.


head

Symbol head
The head child of the parent that is passing its gap to one of its children.

Class danbikel.parser.HeadEvent extends Object implements Serializable

Serialized Fields

headWord

Word headWord

parent

Symbol parent

head

Symbol head

leftSubcat

Subcat leftSubcat

rightSubcat

Subcat rightSubcat

Class danbikel.parser.HeadTreeNode extends Object implements Serializable

Serialized Fields

label

Symbol label
The nonterminal label of this node.


headWord

Word headWord
The head word of this node.


headWordIdx

int headWordIdx
The index of the head word of this node.


originalHeadWord

Symbol originalHeadWord
The original head word observed in the training data, before any downcasing or transformation to an unknown word token or a low-frequency word feature vector.


headChild

HeadTreeNode headChild
The head child of this node.


preMods

List<E> preMods
A list of the premodifiers of the head child of this node.


postMods

List<E> postMods
A list of the postmodifiers of the head child of this node.


containsVerb

boolean containsVerb
A boolean to indicate if the current subtree contains a verb.


leftIdx

int leftIdx
The index of the leftmost word in this subtree.


rightIdx

int rightIdx
The index of the rightmost word in this subtree plus 1.

Class danbikel.parser.InterpolatedKnesserNeyModel extends Model implements Serializable

Serialized Fields

optimalDiscountEstimate

double optimalDiscountEstimate

Class danbikel.parser.Item extends Object implements Serializable

Serialized Fields

logProb

double logProb
The log-probability of this chart item.

Class danbikel.parser.JointModel extends Model implements Serializable

Serialized Fields

numOtherModels

int numOtherModels

otherModels

Model[] otherModels

Class danbikel.parser.Language extends Object implements Serializable

Class danbikel.parser.Model extends Object implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Throws:
IOException
Serialized Fields

structure

ProbabilityStructure structure
The probability structure for this model to use.


structureMapArr

ProbabilityStructure[] structureMapArr

structureMap

Map<K,V> structureMap

idInt

IntCounter idInt

structureClassName

String structureClassName
A cached copy of the name of the concrete type of the ProbabilityStructure instance used by this model.


shortStructureClassName

String shortStructureClassName
The value of Model.structureClassName but without the package qualification.


numLevels

int numLevels
A cached copy of the number of back-off levels in the ProbabilityStructure used by this model.

See Also:
ProbabilityStructure.numLevels()

lambdaFudge

double[] lambdaFudge
A cached copy of the smoothing factors of the ProbabilityStructure used by this model. This array is of size Model.numLevels.

See Also:
ProbabilityStructure.lambdaFudge(int)

lambdaFudgeTerm

double[] lambdaFudgeTerm
A cached copy of the smoothing terms of the ProbabilityStructure used by this model. This array is of size Model.numLevels.

See Also:
ProbabilityStructure.lambdaFudgeTerm(int)

lambdaPenalty

double[] lambdaPenalty
A cached copy of the smoothing penalty factors contained in the ProbabilityStructure used by this model. This array is of size equal to Model.numLevels.

See Also:
ProbabilityStructure.lambdaPenalty(int)

logOneMinusLambdaPenalty

double[] logOneMinusLambdaPenalty
The values of Model.lambdaPenalty but modified such that
logOneMinusLambdaPenalty[i] = Math.log(1 - lambdaPenalty[i])
for all i: 0 ≤ i < lambdaPenalty.size.


counts

CountsTrio[] counts
The derived event counts used to estimate probabilities of this model.


numCanonicalizableEvents

int numCanonicalizableEvents

verbose

boolean verbose
Indicates whether to report to stderr what this class is doing.


precomputedProbs

HashMapDouble<K>[] precomputedProbs
Precomputed probabilities for each back-off level of this model. The keys of each of the HashMapDouble maps in this array are Transition objects.


precomputedLambdas

HashMapDouble<K>[] precomputedLambdas
Precomputed lambdas for each back-off level of this model. The keys of each of the HashMapDouble maps in this array are Event instances.

For the modified Witten-Bell smoothing method used by this class, the values of the maps of this array are actually the log of one minus the lambda of a particular event at a particular back-off level, for ease of computing a smoothed estimate. That is, if event is some history context whose associated smoothing value is λi, then precomputedLambdas[i].get(event) will be equal to ln(1 − λi), where ln is the natural log function that is implemented by Math.log.


backOffMap

HashMap<K,V>[] backOffMap
A set of Model.numLevels - 1 maps, where map i is a map from back-off level i transitions to i + 1 transitions. These maps are only used temporarily when precomputing probs (and are necessary for incremental training).

See Also:
Model.savePrecomputeData(CountsTable,Filter), Model.saveBackOffMap

histBackOffMap

HashMap<K,V>[] histBackOffMap
A set of Model.numLevels - 1 maps, where map i is a map from back-off level i histories to i + 1 histories. These maps are not necessary for precomputing probabilities, but can be useful when debugging.

See Also:
Model.saveHistBackOffMap, Model.savePrecomputeData(CountsTable,Filter)

Class danbikel.parser.ModelCollection extends Object implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Throws:
IOException
Serialized Fields

nonterminalMap

Map<K,V> nonterminalMap
A map from nonterminal labels (Symbol objects) to unique integers that are indices in the nonterminal array.


nonterminalArr

Symbol[] nonterminalArr
An array of all nonterminal labels, providing a mapping of unique integers (indices into this array) to nonterminal labels. The inverse map is contained in ModelCollection.nonterminalMap.

Class danbikel.parser.ModifierEvent extends Object implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream out)
                  throws IOException
Throws:
IOException
Serialized Fields

modHeadWord

Word modHeadWord

headWord

Word headWord

modifier

Symbol modifier

previousMods

SexpList previousMods

previousWords

WordList previousWords

parent

Symbol parent

head

Symbol head

subcat

Subcat subcat

prevPunc

Word prevPunc

prevConj

Word prevConj

isConjPConj

boolean isConjPConj

verbIntervening

boolean verbIntervening

headAdjacent

boolean headAdjacent

side

boolean side

Class danbikel.parser.Nonterminal extends Object implements Serializable

Serialized Fields

base

Symbol base
The unaugmented base nonterminal.


augmentations

SexpList augmentations
A list of symbols representing any augmentations and delimiters.


index

int index
The index of the augmented nonterminal, or -1 if none was present.

Class danbikel.parser.Parser extends AbstractClient implements Serializable

Serialized Fields

keepAllWords

boolean keepAllWords
Cached value of Settings.keepAllWords, for efficiency and convenience.


server

DecoderServerRemote server
The server for the internal Decoder to use when parsing.


sent

SexpList sent
The current sentence being processed.


decoder

Decoder decoder
The internal Decoder that performs the actual parsing.


localServer

boolean localServer
Indicates whether the DecoderServerRemote instance is local or remote (an RMI stub).


internalInputFilename

String internalInputFilename
The name of the input file to be processed (only used when this parser is in stand-alone mode, not using the Switchboard.


internalOutputFilename

String internalOutputFilename
The name of the output file to be processed (only used when this parser is in stand-alone mode, not using the Switchboard.


err

PrintWriter err
A PrintWriter object wrapped around System.err for printing in the proper character encoding.

Class danbikel.parser.Parser_Stub extends RemoteStub implements Serializable

serialVersionUID: 2L

Class danbikel.parser.PriorEvent extends Object implements Serializable

Serialized Fields

headWord

Word headWord

label

Symbol label

Class danbikel.parser.ProbabilityCache extends HashMapDouble<K> implements Serializable

Serialized Fields

maxCapacity

int maxCapacity

strategy

int strategy

rand

Random rand

Class danbikel.parser.ProbabilityStructure extends Object implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream in)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException
Serialized Fields

historyList

SexpList historyList
Deprecated. Ever since the Event and MutableEvent interfaces were re-worked to include methods to add and iterate over event components and the SexpEvent class was retrofitted to these new specifications, this object became superfluous, as SexpEvent objects can now be efficiently constructed directly, by using the SexpEvent.add(Object) method.
A reusable list to enable efficient construction of SexpEvent objects of various sizes to represent history contexts.

See Also:
SexpEvent.add(Object), ProbabilityStructure.histories, ProbabilityStructure.historiesWithSubcats

futureList

SexpList futureList
Deprecated. Ever since the Event and MutableEvent interfaces were re-worked to include methods to add and iterate over event components and the SexpEvent class was retrofitted to these new specifications, this object became superfluous, as SexpEvent objects can now be efficiently constructed directly, by using the SexpEvent.add(Object) method.
A reusable list to enable efficient construction of SexpEvent objects of various sizes to represent futures.

See Also:
SexpEvent.add(Object), ProbabilityStructure.futures, ProbabilityStructure.futuresWithSubcats

histories

MutableEvent[] histories
A reusable SexpEvent array to represent history contexts; the array will be initialized to have the size of ProbabilityStructure.numLevels(). These objects may be used as the return values of getHistory(TrainerEvent,int).

See Also:
ProbabilityStructure.getHistory(TrainerEvent,int)

futures

MutableEvent[] futures
A reusable SexpEvent array to represent futures; the array will be initialized to have the size of ProbabilityStructure.numLevels(). These objects may be used as the return values of getFuture(TrainerEvent,int).

See Also:
ProbabilityStructure.getFuture(TrainerEvent,int)

historiesWithSubcats

MutableEvent[] historiesWithSubcats
A reusable SexpSubcatEvent array to represent histories; the array will be initialized to have the size of ProbabilityStructure.numLevels(). These objects may be used as the return values of getHistory(TrainerEvent,int).

See Also:
ProbabilityStructure.getHistory(TrainerEvent,int)

futuresWithSubcats

MutableEvent[] futuresWithSubcats
A reusable SexpSubcatEvent array to represent futures; the array will be initialized to have the size of ProbabilityStructure.numLevels(). These objects may be used as the return values of getFuture(TrainerEvent,int).

See Also:
ProbabilityStructure.getFuture(TrainerEvent,int)

transitions

Transition[] transitions
A reusable Transition array to store transitions. The Transition objects in this array may be used as the return values of ProbabilityStructure.getTransition(TrainerEvent,int).


estimates

double[] estimates
An array used only during the computation of top-level probabilities, used to store the ML estimates of all the levels of back-off.

See Also:
Model.estimateLogProb(int,TrainerEvent)

lambdas

double[] lambdas
An array used only during the computation of top-level probabilities, used to store the lambdas calculated at all the levels of back-off.

See Also:
Model.estimateLogProb(int,TrainerEvent)

prevHistCount

double prevHistCount
A temporary value used in the computation of top-level probabilities, used in the computation of lambdas.

See Also:
Model.estimateLogProb(int,TrainerEvent)

additionalData

Object additionalData
Handle onto additional data object for this probability structure, whose value is null if no other data is required for the concrete probability structure.

Class danbikel.parser.Settings extends Object implements Serializable

Class danbikel.parser.SexpEvent extends AbstractEvent implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Reconstructs the SexpEvent object that was serialized using SexpEvent.writeExternal(ObjectOutput).

Throws:
IOException - if there is a problem reading from the specified input stream
ClassNotFoundException - if the concrete type of the serialized object read from the specified input stream cannot be found

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Writes a representation of this object to the specified object output stream.

Throws:
IOException - if there is a problem writing to the specified output stream

Class danbikel.parser.SexpSubcatEvent extends SexpEvent implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException - if there is a problem reading from the specified input stream
ClassNotFoundException - if the concrete type of the serialized object read from the specified input stream cannot be found

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Throws:
IOException - if there is a problem writing to the specified output stream

Class danbikel.parser.SubcatBag extends Object implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput stream)
                  throws IOException,
                         ClassNotFoundException
Reads a serialized instance of this class from the specified stream.

Throws:
IOException - if there is a problem reading from the specified stream
ClassNotFoundException - if the concrete type of the object to be read cannot be found

writeExternal

public void writeExternal(ObjectOutput stream)
                   throws IOException
Writes this object to the specified output stream.

Throws:
IOException - if there is a problem writing to the specified stream

Class danbikel.parser.SubcatBagFactory extends Object implements Serializable

Class danbikel.parser.SubcatList extends SexpList implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException - if the underlying read operation throws an IOException
ClassNotFoundException - if the underlying read operation throws an ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Throws:
IOException - if the underlying write operation throws an IOException

Class danbikel.parser.SubcatListFactory extends Object implements Serializable

Class danbikel.parser.Subcats extends Object implements Serializable

Class danbikel.parser.SymbolicCollectionWriter extends Object implements Serializable

Class danbikel.parser.SymbolPair extends Pair implements Serializable

Class danbikel.parser.Trainer extends Object implements Serializable

Serialized Fields

unknownWordThreshold

int unknownWordThreshold
The value of the Settings.unknownWordThreshold setting.


countThreshold

double countThreshold
The value of the Settings.countThreshold setting.


derivedCountThreshold

double derivedCountThreshold
The value of the Settings.derivedCountThreshold setting.


reportingInterval

int reportingInterval
The value of the Settings.trainerReportingInterval setting.


numPrevMods

int numPrevMods
The value of the Settings.numPrevMods setting.


numPrevWords

int numPrevWords
The value of the Settings.numPrevWords setting.


keepAllWords

boolean keepAllWords
The value of the Settings.keepAllWords setting.


keepLowFreqTags

boolean keepLowFreqTags
The value of the Settings.keepLowFreqTags setting.


downcaseWords

boolean downcaseWords
The value of the Settings.downcaseWords setting.


nonterminals

CountsTable<K> nonterminals
A table for storing counts of (unlexicalized) nonterminals. The keys are instances of Symbol.


priorEvents

CountsTable<K> priorEvents
A table for storing counts of lexicalized nonterminal prior events. The keys are instances of PriorEvent.


headEvents

CountsTable<K> headEvents
A table for storing counts of head-generation events. The keys are instances of HeadEvent.


modifierEvents

CountsTable<K> modifierEvents
A table for storing counts of modifier-generation events. The keys are instances of ModifierEvent.


gapEvents

CountsTable<K> gapEvents
A table for storing counts of gap-generation events. The keys are instances of GapEvent.


vocabCounter

CountsTable<K> vocabCounter
A table for storing counts of vocabulary items. The keys are instances of Symbol.


wordFeatureCounter

CountsTable<K> wordFeatureCounter
A table for storing counts of word feature–vectors. The keys are instances of Symbol.


posMap

Map<K,V> posMap
A map of words to lists of their observed part-of-speech tags. The keys in this map are instances of Symbol, and the values are SexpList instances that represent sets by containing lists of distinct Symbol objects.


headToParentMap

Map<K,V> headToParentMap
A map of head child nonterminals to their observed parent nonterminals. The keys are instances of Symbol, and the values are Set instances containing Symbol objects.


leftSubcatMap

Map<K,V> leftSubcatMap
A map of events from the last back-off level of the left subcat–generation submodel to the set of possible left subcats. The keys are instnaces of Event, and the values are Set instances containing Subcat objects.


rightSubcatMap

Map<K,V> rightSubcatMap
A map of events from the last back-off level of the right subcat–generation submodel to the set of possible right subcats. The keys are instnaces of Event, and the values are Set instances containing Subcat objects.


modNonterminalMap

Map<K,V> modNonterminalMap
A map of events from the last back-off level of the modifier nonterminal–generation submodel to the set of possible futures (typically, a future is a modifier label and its head word's part-of-speech tag). The keys are instances of Event, and the values are Set instances containing Event objects.


simpleModNonterminalMap

Map<K,V> simpleModNonterminalMap
A map from unlexicalized parent-head-side triples to all possible partially-lexicalized modifying nonterminals. This map provides a simpler mechanism for determining whether a given modifier is possible in the current parent-head context than is provided by Trainer.modNonterminalMap.

The keys are SexpList objects containing exactly three Symbol elements representing the following in a production:

  1. an unlexicalized parent nonterminal
  2. an unlexicalized head nonterminal
  3. the direction of modification, either Constants.LEFT or Constants.RIGHT.

The values consist of Set objects containing SexpList objects that contain exactly two Symbol elements representing a partially-lexicalized modifying nonterminal:

  1. the unlexicalized modifying nonterminal
  2. the part-of-speech tag of the modifying nonterminal's head word.

An example of a partially-lexicalized nonterminal in the Penn Treebank is NP(NNP), which is a noun phrase headed by a singular proper noun.

See Also:
Settings.useSimpleModNonterminalMap

prunedPreterms

Set<E> prunedPreterms
A set of Sexp objects representing preterminals that were pruned during training.

See Also:
Training.prune(Sexp), Treebank.isPreterminal(Sexp)

prunedPunctuation

Set<E> prunedPunctuation
Returns the set of preterminals (Sexp objects) that were punctuation elements that were “raised away” because they were either at the beginning or end of a sentence.

See Also:
Training.raisePunctuation(Sexp), Treebank.isPuncToRaise(Sexp)

modelCollection

ModelCollection modelCollection
The set of Model objects and other resources that describe an entire parsing model.


lexPriorModel

Model lexPriorModel
The model for marginal probabilities of lexical elements (for the estimation of the joint event that is a fully lexicalized nonterminal).


nonterminalPriorModel

Model nonterminalPriorModel
The model for conditional probabilities of nonterminals given the lexical components (for the estimation of the joint event that is a fully lexicalized nonterminal).


topNonterminalModel

Model topNonterminalModel
The head-generation model for heads whose parents are Training.topSym().


topLexModel

Model topLexModel
The head-word generation model for heads of entire sentences.


headModel

Model headModel
The head-generation model.


gapModel

Model gapModel
The gap-generation model.


leftSubcatModel

Model leftSubcatModel
The model for generating subcats that fall on the left side of head children.


rightSubcatModel

Model rightSubcatModel
The model for generating subcats that fall on the right side of head children.


modNonterminalModel

Model modNonterminalModel
The modifying nonterminal–generation model.


modWordModel

Model modWordModel
The model that generates head words of modifying nonterminals.


startSym

Symbol startSym
The value of Training.startSym().


stopSym

Symbol stopSym
The value of Training.stopSym().


topSym

Symbol topSym
The value of Training.topSym().


startWord

Word startWord
The value of Training.startWord().


stopWord

Word stopWord
The value of Training.stopWord().


gapAugmentation

Symbol gapAugmentation
The value of Training.gapAugmentation().


traceTag

Symbol traceTag
The value of Training.traceTag().


allPass

Filter allPass
An instance of AllPass.


nonTop

Filter nonTop
A filter that only allows TrainerEvent instances where the parent nonterminal is not Training.topSym().


nonPreterm

Filter nonPreterm
A filter that only allows TrainerEvent instances that do not represent preterminals (where the parent is identical to the part-of-speech tag of the head word).


nonTopNonPreterm

Filter nonTopNonPreterm
A filter that is functionally equivalent to piping objects through both Trainer.nonTop and Trainer.nonPreterm.


topOnly

Filter topOnly
A filter that only allows TrainerEvent instances where the parent is Training.topSym().


nonStop

Filter nonStop
A filter that disallows ModifierEvent instances where the modifier is Training.stopSym(), but allows all other objects.


nonStopAndNonTop

Filter nonStopAndNonTop
A filter that disallows ModifierEvent instances where the modifier is neither Training.stopSym() nor Training.topSym(), but allows all other objects.

Class danbikel.parser.Trainer.EventEntry extends AbstractMapToPrimitive.Entry implements Serializable

Serialized Fields

event

TrainerEvent event
The TrainerEvent object contained by this map entry.


count

double count
The observed count of the TrainerEvent object contained by this map entry.

Class danbikel.parser.Transition extends Object implements Serializable

Serialized Fields

history

Event history

future

Event future

Class danbikel.parser.Word extends Object implements Serializable

Serialized Fields

word

Symbol word
The word itself.


tag

Symbol tag
The part-of-speech of Word.word.


features

Symbol features
A word-feature vector of Word.word.

See Also:
WordFeatures

Package danbikel.parser.arabic

Class danbikel.parser.arabic.HeadFinder extends AbstractHeadFinder implements Serializable

Serialized Fields

treebank

Treebank treebank

Class danbikel.parser.arabic.SimpleWordFeatures extends AbstractWordFeatures implements Serializable

Class danbikel.parser.arabic.Training extends AbstractTraining implements Serializable

Serialized Fields

startSym

Symbol startSym
Data member returned by the accessor method of the same name.


stopSym

Symbol stopSym
Data member returned by the accessor method of the same name.


startWord

Word startWord
Data member returned by the accessor method of the same name.


stopWord

Word stopWord
Data member returned by the accessor method of the same name.


topSym

Symbol topSym
Data member returned by the accessor method of the same name.


topWord

Word topWord
Data member returned by the accessor method of the same name.


nonterminal

Nonterminal nonterminal

transformations

HashMap<K,V> transformations

Class danbikel.parser.arabic.Treebank extends AbstractTreebank implements Serializable


Package danbikel.parser.chinese

Class danbikel.parser.chinese.HeadFinder extends AbstractHeadFinder implements Serializable

Serialized Fields

treebank

Treebank treebank

Class danbikel.parser.chinese.NoNPBTraining extends Training implements Serializable

Class danbikel.parser.chinese.NPArgThreadTraining extends Training implements Serializable

Class danbikel.parser.chinese.SimpleWordFeatures extends AbstractWordFeatures implements Serializable

Class danbikel.parser.chinese.Training extends AbstractTraining implements Serializable

Serialized Fields

nonterminal

Nonterminal nonterminal

Class danbikel.parser.chinese.Treebank extends AbstractTreebank implements Serializable

Class danbikel.parser.chinese.WordFeatures extends AbstractWordFeatures implements Serializable


Package danbikel.parser.constraints

Class danbikel.parser.constraints.LexTreeConstraint extends UnlexTreeConstraint implements Serializable

Serialized Fields

headWord

Word headWord
The head word associated with this constraint.

Class danbikel.parser.constraints.PartialLexTreeConstraint extends UnlexTreeConstraint implements Serializable

Serialized Fields

headWord

Word headWord
The head word associated with this constraint.

Class danbikel.parser.constraints.PartialTreeConstraint extends Object implements Serializable

Serialized Fields

parent

PartialTreeConstraint parent
The parent constraint of this constraint.


children

List<E> children
All child constraints of this constraint.


label

Symbol label
The nonterminal label associated with this constraint.


nt

Nonterminal nt
A Nonterminal object for use with Treebank.parseNonterminal(Symbol,Nonterminal).


otherNT

Nonterminal otherNT
A Nonterminal object for use with Treebank.parseNonterminal(Symbol,Nonterminal).


start

int start
The starting word index of the syntactic subtree covered by this constraint.


end

int end
The ending word index of the syntactic subtree covered by this constraint.


satisfied

boolean satisfied
Contains whether this constraint has been partially satisfied. A constraint of this type has been partially satisfied if, during the bottom-up decoding process, its label and other local information are found to be consisting with the derivation being pursued.


fullySatisfied

boolean fullySatisfied
Contains whether this constraint has been fully satisfied. A constraint of this type is fully satisfied if it is both partially satisfied and if all child constraints have been fully satisfied.

Class danbikel.parser.constraints.UnlexTreeConstraint extends Object implements Serializable

Serialized Fields

parent

UnlexTreeConstraint parent
The parent of this constraint.


children

List<E> children
The children of this constraint.


label

Symbol label
The nonterminal label associated with this constraint.


start

int start
The start index of the span associated with this constraint.


end

int end
The end index of the span associated with this constraint.


satisfied

boolean satisfied
Contains whether this constraint has been satisfied at least once during the bottom-up decoding process.


Package danbikel.parser.english

Class danbikel.parser.english.BrokenHeadFinder extends AbstractHeadFinder implements Serializable

Serialized Fields

treebank

Treebank treebank

Class danbikel.parser.english.BrokenTraining extends AbstractTraining implements Serializable

Serialized Fields

nonterminal

Nonterminal nonterminal

Class danbikel.parser.english.BrokenTreebank extends AbstractTreebank implements Serializable

Class danbikel.parser.english.HeadFinder extends AbstractHeadFinder implements Serializable

Serialized Fields

treebank

Treebank treebank

Class danbikel.parser.english.NPArgThreadTraining extends Training implements Serializable

Class danbikel.parser.english.SimpleWordFeatures extends AbstractWordFeatures implements Serializable

Class danbikel.parser.english.Training extends AbstractTraining implements Serializable

Serialized Fields

nonterminal

Nonterminal nonterminal

Class danbikel.parser.english.Treebank extends AbstractTreebank implements Serializable

Class danbikel.parser.english.WordFeatures extends AbstractWordFeatures implements Serializable


Package danbikel.parser.lang

Class danbikel.parser.lang.AbstractHeadFinder extends Object implements Serializable

Serialized Fields

nt1

Nonterminal nt1

nt2

Nonterminal nt2

headFindInstructions

HashMap<K,V> headFindInstructions
The map of parent nonterminals to their arrays of AbstractHeadFinder.HeadFindInstruction. When a head is being found, each HeadFindInstruction is applied in order until one succeeds.

See Also:
AbstractHeadFinder.readHeadTable(danbikel.lisp.Sexp)

warnDefaultRule

boolean warnDefaultRule
The value of Settings.headFinderWarnDefaultRule, cached here for readability and convenience.


probRandom

double probRandom
The probability that the head child of a production will be chosen at random.

See Also:
Settings.headFinderRandomProb

useRand

boolean useRand
Set to true if AbstractHeadFinder.probRandom is greater than 0.0; otherwise, set to false.


rand

Random rand
This class’ random number generator.

Class danbikel.parser.lang.AbstractHeadFinder.HeadFindInstruction extends Object implements Serializable

Serialized Fields

scanSet

Symbol[] scanSet
The set of symbols to scan for.


direction

boolean direction
The direction in which to scan: a value equal to Constants.LEFT indicates a left-to-right scan, and a value equal to Constants.RIGHT indicates a right-to-left scan.

Class danbikel.parser.lang.AbstractTraining extends Object implements Serializable

Serialized Fields

nonterminal

Nonterminal nonterminal

nonterminal2

Nonterminal nonterminal2

addGapData

Nonterminal addGapData

treebank

Treebank treebank
Holds the value of Language.treebank().


headFinder

HeadFinder headFinder
Holds the value of Language.headFinder().


gapAugmentation

Symbol gapAugmentation
The symbol that will be used to identify nonterminals whose subtrees contain a gap (a trace). This method is used by AbstractTraining.stripAugmentations(Sexp), so that gap augmentations that are added by AbstractTraining.addGapInformation(Sexp) do not get removed. The default value is the symbol returned by Symbol.add("g"). If this default value conflicts with an augmentation already used in a particular Treebank, this value should be reassigned in the constructor of a subclass.


delimAndGapStr

String delimAndGapStr
The string consisting of the canonical augmentation delimiter concatenated with the gap augmentation, to be used in identifying nonterminals that contain gap augmentations.

See Also:
Treebank.canonicalAugDelimiter(), AbstractTraining.gapAugmentation

delimAndGapStrLen

int delimAndGapStrLen
The length of AbstractTraining.delimAndGapStr, cached here for efficiency and convenience.


defaultArgAugmentation

Symbol defaultArgAugmentation
The symbol that will be used to identify argument nonterminals. This method is used by AbstractTraining.stripAugmentations(Sexp), so that argument augmentations that are added by AbstractTraining.identifyArguments(Sexp) do not get removed. The default value is the symbol returned by Symbol.add("A"). If this default value conflicts with an augmentation already used in a particular Treebank, this value should be reassigned in the constructor of a subclass.


argAugmentations

SexpList argAugmentations
A list representing the set of all argument augmentations. By default, this data member will be initialized to a new list containing only the default argument augmentation. Subclasses should add additional augmentations to this list in their constructors, or by invoking the AbstractTraining.createArgAugmentationsList() method after filling in the AbstractTraining.argContexts map.

See Also:
AbstractTraining.argContexts, AbstractTraining.createArgAugmentationsList()

traceTag

Symbol traceTag
The symbol that gets assigned as the part of speech for null preterminals that represent traces that have undergone WH-movement, as relabeled by the default implementation of AbstractTraining.addGapInformation(Sexp). The default value is the return value of Symbol.add("*TRACE*"). If this maps to an actual part of speech tag or nonterminal label in a particular Treebank, this data member should be reassigned in the constructor of a subclass.


startSym

Symbol startSym
Data member returned by the accessor method of the same name.


stopSym

Symbol stopSym
Data member returned by the accessor method of the same name.


startWord

Word startWord
Data member returned by the accessor method of the same name.


stopWord

Word stopWord
Data member returned by the accessor method of the same name.


topSym

Symbol topSym
Data member returned by the accessor method of the same name.


topWord

Word topWord
Data member returned by the accessor method of the same name.


canonicalAugDelimSym

Symbol canonicalAugDelimSym
A Symbol created from the first character of Treebank.augmentationDelimiters().


nodesToPrune

Set<E> nodesToPrune
Data member to store the set of nodes to prune for the default implementation of AbstractTraining.prune(Sexp). The set should only contain objects of type Symbol, and the elements of this set should be added in the constructor of a subclass.

See Also:
AbstractTraining.prune(Sexp)

wordsToPrune

Set<E> wordsToPrune
Data member to store the set of words to prune for the default implementation of AbstractTraining.prune(Sexp). The set should only contain objects of type Symbol, and the elements of this set should be added in the constructor of a subclass. The default implementation will only prune a preterminal if both the part-of-speech tag is in AbstractTraining.nodesToPrune and if the word is in this wordsToPrune set.

See Also:
AbstractTraining.prune(Sexp)

prunedPreterms

Set<E> prunedPreterms
The set of preterminals (Sexp objects) that have been pruned away.


argContexts

Map<K,V> argContexts
Data member used to store the map required by the default implementation of the method AbstractTraining.identifyArguments(Sexp). This data member maps parent nonterminals to lists of children nonterminals, to indicate that the children are candidates for being labeled as arguments in the presence of that parent. A children list may also be a list of the form
 (head <offset>)
 
indicating to match a node <offset> away from the head child of the parent that was mapped to this children list. The keys and values of this map should be added in the constructor of a subclass. The keys of this map must be of type Symbol, and the values of this map must be of type SexpList.

Optionally, after this data member has been filled in by the constructor of a subclass, the method AbstractTraining.createArgAugmentationsList() should be invoked to automatically fill in the AbstractTraining.argAugmentations list.

See Also:
AbstractTraining.identifyArguments(Sexp), AbstractTraining.argAugmentations, AbstractTraining.createArgAugmentationsList()

semTagArgStopSet

Set<E> semTagArgStopSet
Data member used to store the set required by the method AbstractTraining.identifyArguments(Sexp). The set contains semantic tags (which is English Treebank parlance) that prohibit a candidate argument child from being relabeled as an argument. The objects in this set must all be of type Symbol. The members of this set should be added in the constructor of a subclass.

See Also:
AbstractTraining.identifyArguments(Sexp)

baseNP

Symbol baseNP
The value of Treebank.baseNPLabel(), cached for efficiency and convenience.


NP

Symbol NP
The value of Treebank.NPLabel(), cached for efficiency and convenience.


addToRaise

SexpList addToRaise

raise

SexpList raise

prunedPunctuation

Set<E> prunedPunctuation
The set of preterminals (Sexp objects) that were "raised away" by AbstractTraining.raisePunctuation(Sexp) because they appeared either at the beginning or the end of a sentence.


hasGapIndexStack

ArrayList<E> hasGapIndexStack

fastArgCache

Map<K,V> fastArgCache
A synchronized map from nonterminals to their non-argument versions, used byte AbstractTraining.isArgumentFast(Symbol) (unless AbstractTraining.setUpFastArgMap(CountsTable) has been invoked).


canonicalArgCache

Map<K,V> canonicalArgCache
A synchronized map from nonterminals to their canonical-argument versions, used byte AbstractTraining.getCanonicalArg(Symbol).

Class danbikel.parser.lang.AbstractTreebank extends Object implements Serializable

Serialized Fields

augmentationDelimSet

BitSet augmentationDelimSet
A BitSet indexed by character (that is, whose size is Character.MAX_VALUE), where for each character c of the string returned by AbstractTreebank.augmentationDelimiters(),
 augmentationDelimSet.get(c)
 
returns true. The default constructor of this abstract class will appropriately initialize this data member.


canonicalAugDelimSym

Symbol canonicalAugDelimSym
A Symbol created from the first character of Treebank.augmentationDelimiters().


nonterminalExceptionSet

Symbol[] nonterminalExceptionSet
A set of nonterminal labels (Symbol objects) that AbstractTreebank.defaultParseNonterminal(Symbol,Nonterminal) should use when determining the base nonterminal label. If this behavior is desired, this array should be assigned in in the constructor of a subclass. This hook into the behavior of defaultParseNonterminal is primarily intended for the unfortunate case when Treebank designers have nonterminal labels that contain the delimiters used for augmenting nonterminal labels (as is the case with the English Treebank in the form of -LRB- and -RRB-).

Class danbikel.parser.lang.AbstractWordFeatures extends Object implements Serializable


Package danbikel.parser.ms

Class danbikel.parser.ms.BrokenLeftSubcatModelStructure extends SubcatModelStructure1 implements Serializable

Class danbikel.parser.ms.BrokenLexPriorModelStructure extends ProbabilityStructure implements Serializable

Class danbikel.parser.ms.BrokenModWordModelStructure extends ProbabilityStructure implements Serializable

Serialized Fields

startSym

Symbol startSym

startWord

Word startWord

topSym

Symbol topSym

Class danbikel.parser.ms.BrokenRightSubcatModelStructure extends SubcatModelStructure1 implements Serializable

Class danbikel.parser.ms.BrokenTopLexModelStructure extends ProbabilityStructure implements Serializable

Class danbikel.parser.ms.GapModelStructure1 extends ProbabilityStructure implements Serializable

Class danbikel.parser.ms.HeadModelStructure1 extends ProbabilityStructure implements Serializable

Class danbikel.parser.ms.LeftSubcatModelStructure1 extends SubcatModelStructure1 implements Serializable

Class danbikel.parser.ms.LeftSubcatModelStructure2 extends SubcatModelStructure2 implements Serializable

Class danbikel.parser.ms.LexPriorModelStructure1 extends ProbabilityStructure implements Serializable

Class danbikel.parser.ms.ModNonterminalModelStructure1 extends ProbabilityStructure implements Serializable

Serialized Fields

startSym

Symbol startSym

Class danbikel.parser.ms.ModNonterminalModelStructure2 extends ProbabilityStructure implements Serializable

Serialized Fields

topSym

Symbol topSym

Class danbikel.parser.ms.ModNonterminalModelStructure3 extends ProbabilityStructure implements Serializable

Serialized Fields

startSym

Symbol startSym

startWord

Word startWord

Class danbikel.parser.ms.ModNonterminalModelStructure4 extends ProbabilityStructure implements Serializable

Serialized Fields

topSym

Symbol topSym

Class danbikel.parser.ms.ModNonterminalModelStructure5 extends ModNonterminalModelStructure4 implements Serializable

Serialized Fields

jointStructures

ProbabilityStructure[] jointStructures

Class danbikel.parser.ms.ModNonterminalModelStructure6 extends ProbabilityStructure implements Serializable

Serialized Fields

topSym

Symbol topSym

jointStructures

ProbabilityStructure[] jointStructures

Class danbikel.parser.ms.ModNonterminalModelStructure7 extends ProbabilityStructure implements Serializable

Serialized Fields

topSym

Symbol topSym

jointStructures

ProbabilityStructure[] jointStructures

Class danbikel.parser.ms.ModNonterminalModelStructure8 extends ProbabilityStructure implements Serializable

Serialized Fields

topSym

Symbol topSym

Class danbikel.parser.ms.ModNonterminalModelStructure9 extends ProbabilityStructure implements Serializable

Serialized Fields

topSym

Symbol topSym

Class danbikel.parser.ms.ModWordModelStructure1 extends ProbabilityStructure implements Serializable

Serialized Fields

startSym

Symbol startSym

Class danbikel.parser.ms.ModWordModelStructure2 extends ProbabilityStructure implements Serializable

Serialized Fields

startSym

Symbol startSym

startWord

Word startWord

stopSym

Symbol stopSym

topSym

Symbol topSym

Class danbikel.parser.ms.ModWordModelStructure3 extends ProbabilityStructure implements Serializable

Serialized Fields

startSym

Symbol startSym

startWord

Word startWord

Class danbikel.parser.ms.ModWordModelStructure4 extends ProbabilityStructure implements Serializable

Serialized Fields

startSym

Symbol startSym

startWord

Word startWord

stopSym

Symbol stopSym

topSym

Symbol topSym

Class danbikel.parser.ms.ModWordModelStructure5 extends ProbabilityStructure implements Serializable

Serialized Fields

startSym

Symbol startSym

startWord

Word startWord

topSym

Symbol topSym

Class danbikel.parser.ms.ModWordModelStructure6 extends ProbabilityStructure implements Serializable

Serialized Fields

startSym

Symbol startSym

startWord

Word startWord

stopSym

Symbol stopSym

topSym

Symbol topSym

Class danbikel.parser.ms.ModWordModelStructure7 extends ProbabilityStructure implements Serializable

Serialized Fields

startSym

Symbol startSym

startWord

Word startWord

stopSym

Symbol stopSym

topSym

Symbol topSym

Class danbikel.parser.ms.ModWordModelStructure8 extends ProbabilityStructure implements Serializable

Serialized Fields

startSym

Symbol startSym

startWord

Word startWord

stopSym

Symbol stopSym

topSym

Symbol topSym

Class danbikel.parser.ms.ModWordModelStructure9 extends ProbabilityStructure implements Serializable

Class danbikel.parser.ms.NonterminalPriorModelStructure1 extends ProbabilityStructure implements Serializable

Class danbikel.parser.ms.RightSubcatModelStructure1 extends SubcatModelStructure1 implements Serializable

Class danbikel.parser.ms.RightSubcatModelStructure2 extends SubcatModelStructure2 implements Serializable

Class danbikel.parser.ms.SubcatModelStructure1 extends ProbabilityStructure implements Serializable

Class danbikel.parser.ms.SubcatModelStructure2 extends ProbabilityStructure implements Serializable

Class danbikel.parser.ms.TagModelStructure1 extends ProbabilityStructure implements Serializable

Serialized Fields

topSym

Symbol topSym

Class danbikel.parser.ms.TagModelStructure2 extends ProbabilityStructure implements Serializable

Serialized Fields

topSym

Symbol topSym

Class danbikel.parser.ms.TopLexModelStructure1 extends ProbabilityStructure implements Serializable

Class danbikel.parser.ms.TopNonterminalModelStructure1 extends ProbabilityStructure implements Serializable


Package danbikel.switchboard

Class danbikel.switchboard.AbstractClient extends AbstractSwitchboardUser implements Serializable

Serialized Fields

nextObjectInterval

int nextObjectInterval
The interval at which clients should keep pinging the switchboard for more objects after receving null from the SwitchboardRemote.nextObject(int) method.


server

Server server
The server assigned to this client.


serverId

int serverId
The ID number of the server assigned to this client, cached here for convenience.


faultTolerant

boolean faultTolerant
Indicates whether the server has been wrapped in proxies for fault tolerance, via a call to the AbstractClient.tolerateFaults(int, int, boolean) or AbstractClient.getFaultTolerantServer(int, int, boolean) method. Initially false.


retries

int retries
Cache of the value of the parameter of the same name in the AbstractClient.tolerateFaults(int, int, boolean) or AbstractClient.getFaultTolerantServer(int, int, boolean) methods. Initially -1.


sleepTime

int sleepTime
Cache of the value of the parameter of the same name in the AbstractClient.tolerateFaults(int, int, boolean) or AbstractClient.getFaultTolerantServer(int, int, boolean) methods. Initially -1.


failover

boolean failover
Cache of the value of the parameter of the same name in the AbstractClient.tolerateFaults(int, int, boolean) or AbstractClient.getFaultTolerantServer(int, int, boolean) methods. Initially false.


rand

Random rand
The pseudorandom number generator used by AbstractClient.sleepRandom(int), initialized at construction with a random seed based on the current time.

Class danbikel.switchboard.AbstractServer extends AbstractSwitchboardUser implements Serializable

Serialized Fields

maxClients

int maxClients
The maximum number of clients this server is willing to accept.


acceptClientsOnlyByRequest

boolean acceptClientsOnlyByRequest
Indicates whether this server will only accept clients that specifically request it.

Class danbikel.switchboard.AbstractSwitchboardUser extends RemoteServer implements Serializable

Serialized Fields

className

String className
The name of the runtime type of the subclass, cached here in this abstract class' constructor for convenience.


switchboard

SwitchboardRemote switchboard
A handle onto the switchboard.


switchboardName

String switchboardName
The bootstrap registry name of the switchboard.


registered

boolean registered
Flag that indicates whether this client is currently registered.


dieSynch

Object dieSynch
The object on which to synchronize death. It is important that subclasses never invoke this object's notify or notifyAll method, for otherwise the semantics of certain methods of this class will be corrupted. However, subclasses may wait on this object.


timeToDie

boolean timeToDie
The boolean indicating that this object is ready to die, and will wait for the length of the timeout value before actually committing suicide (by unexporting itself via the AbstractSwitchboardUser.unexportWhenDead() method).


dead

boolean dead
The boolean indicating that it this object is dead, allowing AbstractSwitchboardUser.unexportWhenDead() to run. This data member is private, so that not even a malicious subclass can violate the semantics that once this value is true, it never gets set to false. However, we keep AbstractSwitchboardUser.timeToDie protected, allowing subclasses to easily access it.


timeout

int timeout
The value for which switchboard-side (RMI client-side) sockets will timeout (a value of 0 indicates infinite timeout).


maxSwitchboardTries

int maxSwitchboardTries
The maximum number of times the AbstractSwitchboardUser.getSwitchboard(java.lang.String) method will try to get a new Switchboard when the current instance has gone down or when registering for the first time. A value of AbstractSwitchboardUser.infiniteTries indicates an infinite number of tries.


id

int id
The unique ID of this switchboard user, assigned by the switchboard.


aliveSynch

Object aliveSynch

aliveTimeout

int aliveTimeout

aliveRenewed

boolean aliveRenewed

Class danbikel.switchboard.AbstractSwitchboardUser_Stub extends RemoteStub implements Serializable

serialVersionUID: 2L

Class danbikel.switchboard.AbstractSwitchboardUser.SBUserRetry extends Retry implements Serializable

Serialized Fields

sbUser

AbstractSwitchboardUser sbUser

Class danbikel.switchboard.Failover extends Reconnect implements Serializable

Serialized Fields

switchboard

SwitchboardRemote switchboard

client

Client client

Class danbikel.switchboard.NumberedObject extends Object implements Serializable

Serialized Fields

number

int number

fileId

int fileId

uid

IntPair uid

obj

Object obj

processed

boolean processed

Class danbikel.switchboard.RegistrationException extends RemoteException implements Serializable

Class danbikel.switchboard.Switchboard extends RemoteServer implements Serializable

Serialized Fields

encoding

String encoding
The current file encoding.


objReaderFactory

ObjectReaderFactory objReaderFactory

numObjReaderFactory

ObjectReaderFactory numObjReaderFactory

objWriterFactory

ObjectWriterFactory objWriterFactory

numObjWriterFactory

ObjectWriterFactory numObjWriterFactory

msgs

PrintWriter msgs

bufSize

int bufSize

verbose

boolean verbose

consumers

List<E> consumers

toProcess

LinkedList<E> toProcess
Stack of objects to be processed.


maxFileId

int maxFileId

unopenedFiles

SortedMap<K,V> unopenedFiles
A map from file id&rsto IOData objects for all files that have not yet been opened for processing.

N.B.: A file that has not been opened may have been completed in a previous run (i.e., it may be that its log file indicates that all objects were previously processed).


files

NavigableMap<K,V> files
A map from file id’s to IOData objects for all files that are not yet done (are either opened but unprocessed or have not yet had all their objects processed).


unProcessedFiles

Map<K,V> unProcessedFiles
A map from file id’s to IOData objects for all files that have been opened for processing have not yet begun to be processed in this run. This map will never grow beyond Switchboard.maxNumOpenFiles in size. In this way, this data member acts like a buffer of files whose streams have been opened but that have not begun to be processed.

See Also:
Switchboard.gotoNextFile(int), Switchboard.openFileForProcessing(danbikel.switchboard.Switchboard.IOData)

currFile

danbikel.switchboard.Switchboard.IOData currFile

dumpers

ThreadGroup dumpers

totalNumObjectsProcessed

int totalNumObjectsProcessed

totalNumObjectsProcessedThisRun

int totalNumObjectsProcessedThisRun
When recovering, report stats for number of objs. processed this run.


reProcess

boolean reProcess

bindingName

String bindingName

port

int port
The port of this UnicastRemoteObject, where 0 indicates an anonymous port was used.


nextClientId

int nextClientId

clients

Map<K,V> clients
A map of client id’s to ClientData objects.


nextServerId

int nextServerId

servers

Map<K,V> servers
A map of server id’s to ServerData objects.


sortedServers

SortedSet<E> sortedServers
A set of all the ServerData objects that are values in servers, ordered by their load, with the most lightly-loaded being first in the order.


keepAlives

ThreadGroup keepAlives

keepAliveMaxRetries

int keepAliveMaxRetries

keepAliveInterval

int keepAliveInterval

serverDeathKillClients

boolean serverDeathKillClients

sortOutput

boolean sortOutput

timer

Time timer
A timer object used to collect stats on object processing; set to new object (or set its start time) upon first call to Switchboard.nextObject(int).


settings

Properties settings

tsf

TimeoutSocketFactory tsf

Class danbikel.switchboard.Switchboard_Stub extends RemoteStub implements Serializable

serialVersionUID: 2L

Class danbikel.switchboard.UnrecognizedClientException extends RemoteException implements Serializable

Class danbikel.switchboard.UnrecognizedServerException extends RemoteException implements Serializable


Package danbikel.util

Class danbikel.util.AbstractMapToPrimitive.Entry extends Object implements Serializable

Class danbikel.util.Debug extends Object implements Serializable

Class danbikel.util.FixedSizeArrayList extends AbstractFixedSizeList implements Serializable

Serialized Fields

data

Object[] data

startIdx

int startIdx

Class danbikel.util.FixedSizeSingletonList extends AbstractFixedSizeList implements Serializable

Serialized Fields

obj

Object obj

Class danbikel.util.HashMap extends AbstractMap<K,V> implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream ois)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream oos)
                  throws IOException
Throws:
IOException
Serialized Fields

loadFactor

float loadFactor

threshold

float threshold
The value of loadFactor * capacity.

Class danbikel.util.HashMapDouble extends HashMapPrimitive<K> implements Serializable

Class danbikel.util.HashMapDouble.Entry extends HashMapPrimitive.Entry<K> implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Throws:
IOException

Class danbikel.util.HashMapInt extends HashMapPrimitive<K> implements Serializable

Class danbikel.util.HashMapInt.Entry extends HashMapPrimitive.Entry<K> implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Throws:
IOException

Class danbikel.util.HashMapPrimitive extends AbstractMapToPrimitive<K> implements Serializable

Serialization Methods

readObject

private void readObject(ObjectInputStream s)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeObject

private void writeObject(ObjectOutputStream s)
                  throws IOException
Throws:
IOException
Serialized Fields

loadFactor

float loadFactor

threshold

float threshold
The value of loadFactor * capacity.

Class danbikel.util.HashMapPrimitive.Entry extends AbstractMapToPrimitive.Entry<K> implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Throws:
IOException

Class danbikel.util.HashMapTwoDoubles extends HashMapDouble<K> implements Serializable

Class danbikel.util.HashMapTwoDoubles.Entry extends HashMapPrimitive.Entry<K> implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Throws:
IOException

Class danbikel.util.HashMapTwoInts extends HashMapInt<K> implements Serializable

Class danbikel.util.HashMapTwoInts.Entry extends HashMapPrimitive.Entry<K> implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Throws:
IOException

Class danbikel.util.IntCounter extends Object implements Serializable

Serialized Fields

count

int count

Class danbikel.util.IntPair extends Object implements Serializable

Serialization Methods

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Throws:
IOException

Class danbikel.util.Pair extends Object implements Serializable

Serialized Fields

first

Object first
The first object in the pair.


second

Object second
The second object in the pair.

Class danbikel.util.SLNode extends Object implements Serializable

Serialized Fields

data

Object data

next

SLNode next

Class danbikel.util.Stack extends ArrayList implements Serializable

Class danbikel.util.TimeoutSocketFactory extends Object implements Serializable

Serialized Fields

clientTimeout

int clientTimeout

serverTimeout

int serverTimeout

Package danbikel.util.proxy

Class danbikel.util.proxy.Reconnect extends Object implements Serializable

Serialized Fields

stub

Object stub

name

String name

Class danbikel.util.proxy.Retry extends Object implements Serializable

Serialized Fields

stub

Object stub

retries

int retries

sleep

long sleep


Parsing Engine

Author: Dan Bikel.