|
Parsing Engine | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Package danbikel.lisp |
|---|
| Class danbikel.lisp.IntSymbol extends Symbol implements Serializable |
|---|
| Serialization Methods |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
ObjectInput instance.
IOException - if the underlying read operation throws an
IOException
ClassNotFoundException - if the underlying read operation throws
an ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
ObjectOutput instance.
IOException - if the underlying write operation throws an
IOException| Class danbikel.lisp.Sexp extends Object implements Serializable |
|---|
| Serialization Methods |
|---|
public abstract void readExternal(ObjectInput oi)
throws IOException,
ClassNotFoundException
Sexp object from the specified object stream (to be
implemented by all concrete subclasses).
IOException - if the underlying stream has an exception
ClassNotFoundException - if the class of the object that is read
cannot be found
public abstract void writeExternal(ObjectOutput oo)
throws IOException
Sexp object from the specified object stream (to be
implemented by all concrete subclasses).
IOException - if the underlying stream thrown an exception| Class danbikel.lisp.SexpList extends Sexp implements Serializable |
|---|
| Serialization Methods |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
ObjectInput instance.
IOException - if the underlying read operation throws an
IOException
ClassNotFoundException - if the underlying read operation throws
an ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
ObjectOutput instance.
IOException - if the underlying write operation throws an
IOException| Class danbikel.lisp.SexpList.HashCache extends SexpList implements Serializable |
|---|
| Serialization Methods |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
IOException - if the underlying read operation throws an
IOException
ClassNotFoundException - if the underlying read operation throws
an ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
ObjectOutput instance.
IOException - if the underlying write operation throws an
IOException| Class danbikel.lisp.StringSymbol extends Symbol implements Serializable |
|---|
| Serialization Methods |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
ObjectInput instance.
IOException - if the underlying read operation throws an
IOException
ClassNotFoundException - if the underlying read operation throws
an ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
ObjectOutput instance.
IOException - if the underlying write operation throws an
IOException| Class danbikel.lisp.Symbol extends Sexp implements Serializable |
|---|
| Serialization Methods |
|---|
public abstract void readExternal(ObjectInput oi)
throws IOException,
ClassNotFoundException
Sexp object from the specified object stream (to be
implemented by all concrete subclasses).
IOException - if the underlying stream has an exception
ClassNotFoundException - if the class of the object that is read
cannot be found
public abstract void writeExternal(ObjectOutput oo)
throws IOException
Sexp object from the specified object stream (to be
implemented by all concrete subclasses).
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 |
|---|
public void readExternal(ObjectInput stream)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput stream)
throws IOException
IOException| Class danbikel.parser.BrokenSubcatBagFactory extends Object implements Serializable |
|---|
| Class danbikel.parser.Chart extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
Chart.Entry[][] chart
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.
Chart.Entryint size
Chart.setSizeAndClear(int)int cellLimit
Settings.decoderUseCellLimitdouble pruneFact
boolean relax
int totalItems
Chart.clear()).
int totalItemsGenerated
int numPruned
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.
Chart.prune(int,int)int numPrePruned
Chart.toPrune(int,int,Item) method.
Chart.toPrune(int,int,Item)Item[] sortedArr
int numSorted
boolean pruning
Chart.doPruning(),
Chart.dontDoPruning()| Class danbikel.parser.Chart.Entry extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
MapToPrimitive<K> map
Item topItem
double topLogProb
| Class danbikel.parser.CKYChart extends Chart implements Serializable |
|---|
| Serialized Fields |
|---|
double smallPruneFact
double smallerPruneFact
| Class danbikel.parser.CKYItem extends Item implements Serializable |
|---|
| Serialized Fields |
|---|
double logTreeProb
double logPrior
Symbol label
Word headWord
Subcat leftSubcat
Subcat rightSubcat
CKYItem headChild
null if this item represents a
preterminal.
SLNode leftChildren
CKYItem objects that are the children to the left
of the head child, with the head-adjacent child being last.
SLNode rightChildren
CKYItem objects that are the children to the right
of the head child, with the head-adjacent child being last.
SexpList leftPrevMods
SexpList rightPrevMods
int start
int end
Constraint constraint
int numParses
boolean leftVerb
boolean rightVerb
boolean stop
boolean garbage
Chart.add may have a handle onto this item).
byte containsVerb
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 |
|---|
CountsTable<K> trans
BiCountsTable<K> histAndDiversity
| Class danbikel.parser.Decoder extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
SexpList startList
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).
Trainer.newStartList()WordList startWordList
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).
Trainer.newStartWordList()int id
DecoderServerRemote server
int sentenceIdx
SexpList sentence
int sentLen
int maxSentLen
Settings.maxSentLenint kBest
parse methods to return.
Settings.kBestint maxParseTime
Settings.maxParseTimeTime time
CKYChart chart
Map<K,V> posMap
Map<K,V> posToExampleWordMap
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.
Set<E> posSet
Decoder.posMap.
Symbol[] nonterminals
Map<K,V> headToParentMap
Map<K,V> leftSubcatMap
Map<K,V> rightSubcatMap
ProbabilityStructure leftSubcatPS
int leftSubcatPSLastLevel
ProbabilityStructure rightSubcatPS
int rightSubcatPSLastLevel
Map<K,V> modNonterminalMap
Map<K,V> simpleModNonterminalMap
ProbabilityStructure modNonterminalPS
int modNonterminalPSLastLevel
Map<K,V> prunedPretermsPosMap
Training.removeWord.
decod * @see DecoderServerRemote#prunedPreterms()
Set<E> prunedPretermsPosSet
Training.removeWord.
DecoderServerRemote.prunedPreterms()Map<K,V> prunedPunctuationPosMap
DecoderServerRemote.prunedPunctuation()int cellLimit
double pruneFact
double maxPruneFact
Settings.decoderMaxPruneFactordouble pruneFactIncrement
Settings.decoderPruneFactorIncrementboolean relaxConstraints
Settings.decoderRelaxConstraintsAfterBeamWidening,
cached here for readability and convenience.
boolean hardConstraints
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.
SexpList originalSentence
SexpList originalTags
boolean restorePrunedWords
Settings.restorePrunedWords setting.
SexpList originalWords
Subcat emptySubcat
boolean downcaseWords
Settings.downcaseWords setting.
boolean useLowFreqTags
Settings.useLowFreqTags setting.
boolean substituteWordsForClosedClassTags
Settings.decoderSubstituteWordsForClosedClassTags setting.
boolean useOnlySuppliedTags
Settings.decoderUseOnlySuppliedTags
setting.
boolean useHeadToParentMap
Settings.decoderUseHeadToParentMap
setting.
boolean useSimpleModNonterminalMap
Settings.useSimpleModNonterminalMap
setting.
Symbol startSym
Training.startSym(), cached here for efficiency
and convenience.
Word startWord
Training.startWord(), cached here for efficiency
and convenience.
Symbol stopSym
Training.stopSym(), cached here for efficiency
and convenience.
Word stopWord
Training.stopWord(), cached here for efficiency
and convenience.
Symbol topSym
Training.topSym(), cached here for efficiency
and convenience.
int numPrevMods
Settings.numPrevMods.
int numPrevWords
Settings.numPrevWords.
List<E> prevItemsAdded
Decoder.addUnariesAndStopProbs(int, int).
List<E> currItemsAdded
Decoder.addUnariesAndStopProbs(int, int).
List<E> topProbItemsToAdd
Decoder.addTopUnaries(int) for storing
items to be added to the chart when iterating over a cell in the chart.
List<E> unaryItemsToAdd
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.
List<E> stopProbItemsToAdd
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.
PriorEvent lookupPriorEvent
PriorEvent object for look-ups in tables.
HeadEvent lookupHeadEvent
HeadEvent object for look-ups in tables.
ModifierEvent lookupModEvent
ModifierEvent object for look-ups in tables.
ModifierEvent lookupLeftStopEvent
ModifierEvent object for look-ups in tables.
ModifierEvent lookupRightStopEvent
ModifierEvent object for look-ups in tables.
Word lookupWord
Map<K,V> canonicalWords
Set<E> wordSet
Word objects, used when seeding
the chart in Decoder.initialize(danbikel.lisp.SexpList).
SLNode tmpChildrenList
Decoder.getPrevMods(danbikel.parser.CKYItem, danbikel.util.SLNode) and Decoder.getPrevModWords(danbikel.parser.CKYItem, danbikel.util.SLNode, boolean).
Map<K,V> canonicalPrevModLists
SexpList
objects that represent unlexicalized previous modifier lists.
SexpList prevModLookupList
WordList prevModWordLeftLookupList
WordList prevModWordRightLookupList
Subcat lookupSubcat
SexpList parentHeadSideLookupList
Settings.useSimpleModNonterminalMap,
DecoderServerRemote.simpleModNonterminalMap()SexpList partiallyLexedModLookupList
Settings.useSimpleModNonterminalMap,
DecoderServerRemote.simpleModNonterminalMap()boolean useCommaConstraint
Settings.decoderUseCommaConstraint.
boolean[] commaForPruning
commaForPruning[i] will be true after Decoder.setCommaConstraintData() has been invoked.
Settings.decoderUseCommaConstraint,
Decoder.setCommaConstraintData()boolean[] conjForPruning
conjForPruning[i] will be
true after Decoder.setCommaConstraintData() has been
invoked.
Settings.decoderUseCommaConstraint,
Decoder.setCommaConstraintData()boolean keepAllWords
Settings.keepAllWords, for efficiency and
convenience.
ConstraintSet constraints
boolean findAtLeastOneSatisfyingConstraint
ConstraintSet.findAtLeastOneSatisfying(),
if there are constraints for the current sentence; otherwise, this
data member will be set to false.
Decoder.constraintsboolean isomorphicTreeConstraints
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.
Decoder.constraintsboolean dontPostProcess
Training.postProcess(Sexp)
on the tree.
Settings.decoderDontPostProcess,
Settings.decoderOutputInsideProbsfloat avgSentLen
int numSents
SexpTokenizer goldTok
| Class danbikel.parser.Decoder.TimeoutException extends Exception implements Serializable |
|---|
| Class danbikel.parser.DecoderServer extends AbstractServer implements Serializable |
|---|
| Serialized Fields |
|---|
ModelCollection modelCollection
Word stopWord
Training.stopSym(), cached here for convenience.
int unknownWordThreshold
Settings.unknownWordThreshold.
boolean downcaseWords
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 |
|---|
int[] numItemsAtLevel
int numLevels
| Class danbikel.parser.EMDecoder extends Decoder implements Serializable |
|---|
| Serialized Fields |
|---|
Set<E> topProbItemsToAdd
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.
double cummulativeInsideLogProb
float avgSentLen
int numSents
CountsTable<K> eventCounts
EMChart chart
| Class danbikel.parser.EMItem extends CKYItem.MappedPrevModBaseNPAware implements Serializable |
|---|
| Serialized Fields |
|---|
EMItem.AntecedentPair antecedentPairs
int unaryLevel
Decoder.addUnaries(CKYItem, java.util.List)| Class danbikel.parser.EMItem.AntecedentPair extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
EMItem first
EMItem second
double[] probs
EMItem.AntecedentPair next
| Class danbikel.parser.EMParser extends Parser implements Serializable |
|---|
| Class danbikel.parser.GapEvent extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol direction
Word headWord
Symbol parent
Symbol head
| Class danbikel.parser.HeadEvent extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
Word headWord
Symbol parent
Symbol head
Subcat leftSubcat
Subcat rightSubcat
| Class danbikel.parser.HeadTreeNode extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol label
Word headWord
int headWordIdx
Symbol originalHeadWord
HeadTreeNode headChild
List<E> preMods
List<E> postMods
boolean containsVerb
int leftIdx
int rightIdx
| Class danbikel.parser.InterpolatedKnesserNeyModel extends Model implements Serializable |
|---|
| Serialized Fields |
|---|
double optimalDiscountEstimate
| Class danbikel.parser.Item extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
double logProb
| Class danbikel.parser.JointModel extends Model implements Serializable |
|---|
| Serialized Fields |
|---|
int numOtherModels
Model[] otherModels
| Class danbikel.parser.Language extends Object implements Serializable |
|---|
| Class danbikel.parser.Model extends Object implements Serializable |
|---|
| Serialization Methods |
|---|
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s)
throws IOException
IOException| Serialized Fields |
|---|
ProbabilityStructure structure
ProbabilityStructure[] structureMapArr
Map<K,V> structureMap
IntCounter idInt
String structureClassName
ProbabilityStructure instance used by this model.
String shortStructureClassName
Model.structureClassName but without the package
qualification.
int numLevels
ProbabilityStructure used by this model.
ProbabilityStructure.numLevels()double[] lambdaFudge
ProbabilityStructure
used by this model. This array is of size Model.numLevels.
ProbabilityStructure.lambdaFudge(int)double[] lambdaFudgeTerm
ProbabilityStructure
used by this model. This array is of size Model.numLevels.
ProbabilityStructure.lambdaFudgeTerm(int)double[] lambdaPenalty
ProbabilityStructure used by this model. This array is
of size equal to Model.numLevels.
ProbabilityStructure.lambdaPenalty(int)double[] logOneMinusLambdaPenalty
Model.lambdaPenalty but modified such thatlogOneMinusLambdaPenalty[i] = Math.log(1 - lambdaPenalty[i])
i: 0 ≤ i < lambdaPenalty.size.
CountsTrio[] counts
int numCanonicalizableEvents
boolean verbose
HashMapDouble<K>[] precomputedProbs
HashMapDouble maps in this array are Transition objects.
HashMapDouble<K>[] precomputedLambdas
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.
HashMap<K,V>[] backOffMap
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).
Model.savePrecomputeData(CountsTable,Filter),
Model.saveBackOffMapHashMap<K,V>[] histBackOffMap
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.
Model.saveHistBackOffMap,
Model.savePrecomputeData(CountsTable,Filter)| Class danbikel.parser.ModelCollection extends Object implements Serializable |
|---|
| Serialization Methods |
|---|
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s)
throws IOException
IOException| Serialized Fields |
|---|
Map<K,V> nonterminalMap
Symbol objects) to
unique integers that are indices in the
nonterminal array.
Symbol[] nonterminalArr
ModelCollection.nonterminalMap.
| Class danbikel.parser.ModifierEvent extends Object implements Serializable |
|---|
| Serialization Methods |
|---|
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream out)
throws IOException
IOException| Serialized Fields |
|---|
Word modHeadWord
Word headWord
Symbol modifier
SexpList previousMods
WordList previousWords
Symbol parent
Symbol head
Subcat subcat
Word prevPunc
Word prevConj
boolean isConjPConj
boolean verbIntervening
boolean headAdjacent
boolean side
| Class danbikel.parser.Nonterminal extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol base
SexpList augmentations
int index
| Class danbikel.parser.Parser extends AbstractClient implements Serializable |
|---|
| Serialized Fields |
|---|
boolean keepAllWords
Settings.keepAllWords, for efficiency and
convenience.
DecoderServerRemote server
Decoder to use when parsing.
SexpList sent
Decoder decoder
Decoder that performs the actual parsing.
boolean localServer
DecoderServerRemote instance is local
or remote (an RMI stub).
String internalInputFilename
Switchboard.
String internalOutputFilename
Switchboard.
PrintWriter err
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 |
|---|
Word headWord
Symbol label
| Class danbikel.parser.ProbabilityCache extends HashMapDouble<K> implements Serializable |
|---|
| Serialized Fields |
|---|
int maxCapacity
int strategy
Random rand
| Class danbikel.parser.ProbabilityStructure extends Object implements Serializable |
|---|
| Serialization Methods |
|---|
private void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException| Serialized Fields |
|---|
SexpList historyList
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.SexpEvent
objects of various sizes to represent history contexts.
SexpEvent.add(Object),
ProbabilityStructure.histories,
ProbabilityStructure.historiesWithSubcatsSexpList futureList
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.SexpEvent
objects of various sizes to represent futures.
SexpEvent.add(Object),
ProbabilityStructure.futures,
ProbabilityStructure.futuresWithSubcatsMutableEvent[] histories
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).
ProbabilityStructure.getHistory(TrainerEvent,int)MutableEvent[] futures
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).
ProbabilityStructure.getFuture(TrainerEvent,int)MutableEvent[] historiesWithSubcats
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).
ProbabilityStructure.getHistory(TrainerEvent,int)MutableEvent[] futuresWithSubcats
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).
ProbabilityStructure.getFuture(TrainerEvent,int)Transition[] transitions
Transition array to store transitions.
The Transition objects in this array may be used as the
return values of ProbabilityStructure.getTransition(TrainerEvent,int).
double[] estimates
Model.estimateLogProb(int,TrainerEvent)double[] lambdas
Model.estimateLogProb(int,TrainerEvent)double prevHistCount
Model.estimateLogProb(int,TrainerEvent)Object additionalData
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 |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
SexpEvent object that was serialized using
SexpEvent.writeExternal(ObjectOutput).
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
public void writeExternal(ObjectOutput out)
throws IOException
IOException - if there is a problem writing to the specified
output stream| Class danbikel.parser.SexpSubcatEvent extends SexpEvent implements Serializable |
|---|
| Serialization Methods |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
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
public void writeExternal(ObjectOutput out)
throws IOException
IOException - if there is a problem writing to the specified
output stream| Class danbikel.parser.SubcatBag extends Object implements Serializable |
|---|
| Serialization Methods |
|---|
public void readExternal(ObjectInput stream)
throws IOException,
ClassNotFoundException
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
public void writeExternal(ObjectOutput stream)
throws IOException
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 |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
IOException - if the underlying read operation throws an
IOException
ClassNotFoundException - if the underlying read operation throws
an ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
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 |
|---|
int unknownWordThreshold
Settings.unknownWordThreshold setting.
double countThreshold
Settings.countThreshold setting.
double derivedCountThreshold
Settings.derivedCountThreshold setting.
int reportingInterval
Settings.trainerReportingInterval setting.
int numPrevMods
Settings.numPrevMods setting.
int numPrevWords
Settings.numPrevWords setting.
boolean keepAllWords
Settings.keepAllWords setting.
boolean keepLowFreqTags
Settings.keepLowFreqTags setting.
boolean downcaseWords
Settings.downcaseWords setting.
CountsTable<K> nonterminals
Symbol.
CountsTable<K> priorEvents
PriorEvent.
CountsTable<K> headEvents
HeadEvent.
CountsTable<K> modifierEvents
ModifierEvent.
CountsTable<K> gapEvents
GapEvent.
CountsTable<K> vocabCounter
Symbol.
CountsTable<K> wordFeatureCounter
Symbol.
Map<K,V> posMap
Symbol, and the values
are SexpList instances that represent sets by containing
lists of distinct Symbol objects.
Map<K,V> headToParentMap
Symbol, and the values are Set
instances containing Symbol objects.
Map<K,V> leftSubcatMap
Event, and the values are Set
instances containing Subcat objects.
Map<K,V> rightSubcatMap
Event, and the values are Set
instances containing Subcat objects.
Map<K,V> modNonterminalMap
Event, and the values are Set instances containing Event objects.
Map<K,V> simpleModNonterminalMap
Trainer.modNonterminalMap.
The keys are SexpList objects containing exactly three
Symbol elements representing the following in a production:
Constants.LEFT or
Constants.RIGHT.
Set objects containing SexpList
objects that contain exactly two Symbol elements representing a
partially-lexicalized modifying nonterminal:
NP(NNP), which is a noun phrase headed by a singular
proper noun.
Settings.useSimpleModNonterminalMapSet<E> prunedPreterms
Sexp objects representing preterminals that were
pruned during training.
Training.prune(Sexp),
Treebank.isPreterminal(Sexp)Set<E> prunedPunctuation
Sexp objects) that were
punctuation elements that were “raised away” because they were
either at the beginning or end of a sentence.
Training.raisePunctuation(Sexp),
Treebank.isPuncToRaise(Sexp)ModelCollection modelCollection
Model objects and other resources that describe
an entire parsing model.
Model lexPriorModel
Model nonterminalPriorModel
Model topNonterminalModel
Training.topSym().
Model topLexModel
Model headModel
Model gapModel
Model leftSubcatModel
Model rightSubcatModel
Model modNonterminalModel
Model modWordModel
Symbol startSym
Training.startSym().
Symbol stopSym
Training.stopSym().
Symbol topSym
Training.topSym().
Word startWord
Training.startWord().
Word stopWord
Training.stopWord().
Symbol gapAugmentation
Training.gapAugmentation().
Symbol traceTag
Training.traceTag().
Filter allPass
AllPass.
Filter nonTop
TrainerEvent instances where the parent
nonterminal is not Training.topSym().
Filter nonPreterm
TrainerEvent instances that do not
represent preterminals (where the parent is identical to the part-of-speech
tag of the head word).
Filter nonTopNonPreterm
Trainer.nonTop and Trainer.nonPreterm.
Filter topOnly
TrainerEvent instances where the parent
is Training.topSym().
Filter nonStop
ModifierEvent instances where the
modifier is Training.stopSym(), but allows all other objects.
Filter nonStopAndNonTop
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 |
|---|
TrainerEvent event
TrainerEvent object contained by this map entry.
double count
TrainerEvent object contained by
this map entry.
| Class danbikel.parser.Transition extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
Event history
Event future
| Class danbikel.parser.Word extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol word
Symbol tag
Word.word.
Symbol features
Word.word.
WordFeatures| Package danbikel.parser.arabic |
|---|
| Class danbikel.parser.arabic.HeadFinder extends AbstractHeadFinder implements Serializable |
|---|
| Serialized Fields |
|---|
Treebank treebank
| Class danbikel.parser.arabic.SimpleWordFeatures extends AbstractWordFeatures implements Serializable |
|---|
| Class danbikel.parser.arabic.Training extends AbstractTraining implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol startSym
Symbol stopSym
Word startWord
Word stopWord
Symbol topSym
Word topWord
Nonterminal nonterminal
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
| 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
| 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 |
|---|
Word headWord
| Class danbikel.parser.constraints.PartialLexTreeConstraint extends UnlexTreeConstraint implements Serializable |
|---|
| Serialized Fields |
|---|
Word headWord
| Class danbikel.parser.constraints.PartialTreeConstraint extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
PartialTreeConstraint parent
List<E> children
Symbol label
Nonterminal nt
Nonterminal object for use with
Treebank.parseNonterminal(Symbol,Nonterminal).
Nonterminal otherNT
Nonterminal object for use with
Treebank.parseNonterminal(Symbol,Nonterminal).
int start
int end
boolean satisfied
boolean fullySatisfied
| Class danbikel.parser.constraints.UnlexTreeConstraint extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
UnlexTreeConstraint parent
List<E> children
Symbol label
int start
int end
boolean satisfied
| Package danbikel.parser.english |
|---|
| Class danbikel.parser.english.BrokenHeadFinder extends AbstractHeadFinder implements Serializable |
|---|
| Serialized Fields |
|---|
Treebank treebank
| Class danbikel.parser.english.BrokenTraining extends AbstractTraining implements Serializable |
|---|
| Serialized Fields |
|---|
Nonterminal nonterminal
| Class danbikel.parser.english.BrokenTreebank extends AbstractTreebank implements Serializable |
|---|
| Class danbikel.parser.english.HeadFinder extends AbstractHeadFinder implements Serializable |
|---|
| Serialized Fields |
|---|
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
| 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 |
|---|
Nonterminal nt1
Nonterminal nt2
HashMap<K,V> headFindInstructions
AbstractHeadFinder.HeadFindInstruction. When a head is being
found, each HeadFindInstruction is applied in order until
one succeeds.
AbstractHeadFinder.readHeadTable(danbikel.lisp.Sexp)boolean warnDefaultRule
Settings.headFinderWarnDefaultRule, cached here
for readability and convenience.
double probRandom
Settings.headFinderRandomProbboolean useRand
AbstractHeadFinder.probRandom is greater than 0.0; otherwise,
set to false.
Random rand
| Class danbikel.parser.lang.AbstractHeadFinder.HeadFindInstruction extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol[] scanSet
boolean direction
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 addGapData
Treebank treebank
Language.treebank().
HeadFinder headFinder
Language.headFinder().
Symbol gapAugmentation
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.
String delimAndGapStr
Treebank.canonicalAugDelimiter(),
AbstractTraining.gapAugmentationint delimAndGapStrLen
AbstractTraining.delimAndGapStr, cached here for efficiency
and convenience.
Symbol defaultArgAugmentation
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.
SexpList argAugmentations
AbstractTraining.createArgAugmentationsList()
method after filling in the AbstractTraining.argContexts map.
AbstractTraining.argContexts,
AbstractTraining.createArgAugmentationsList()Symbol traceTag
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.
Symbol startSym
Symbol stopSym
Word startWord
Word stopWord
Symbol topSym
Word topWord
Symbol canonicalAugDelimSym
Treebank.augmentationDelimiters().
Set<E> nodesToPrune
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.
AbstractTraining.prune(Sexp)Set<E> wordsToPrune
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.
AbstractTraining.prune(Sexp)Set<E> prunedPreterms
Sexp objects) that have been pruned
away.
Map<K,V> argContexts
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.
AbstractTraining.identifyArguments(Sexp),
AbstractTraining.argAugmentations,
AbstractTraining.createArgAugmentationsList()Set<E> semTagArgStopSet
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.
AbstractTraining.identifyArguments(Sexp)Symbol baseNP
Treebank.baseNPLabel(), cached for efficiency and
convenience.
Symbol NP
Treebank.NPLabel(), cached for efficiency and
convenience.
SexpList addToRaise
SexpList raise
Set<E> prunedPunctuation
Sexp objects) that were "raised
away" by AbstractTraining.raisePunctuation(Sexp) because they appeared either at
the beginning or the end of a sentence.
ArrayList<E> hasGapIndexStack
Map<K,V> fastArgCache
AbstractTraining.isArgumentFast(Symbol) (unless AbstractTraining.setUpFastArgMap(CountsTable) has been invoked).
Map<K,V> canonicalArgCache
AbstractTraining.getCanonicalArg(Symbol).
| Class danbikel.parser.lang.AbstractTreebank extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
BitSet augmentationDelimSet
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.
Symbol canonicalAugDelimSym
Treebank.augmentationDelimiters().
Symbol[] nonterminalExceptionSet
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 |
|---|
Symbol startSym
Word startWord
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 |
|---|
Symbol startSym
| Class danbikel.parser.ms.ModNonterminalModelStructure2 extends ProbabilityStructure implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol topSym
| Class danbikel.parser.ms.ModNonterminalModelStructure3 extends ProbabilityStructure implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol startSym
Word startWord
| Class danbikel.parser.ms.ModNonterminalModelStructure4 extends ProbabilityStructure implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol topSym
| Class danbikel.parser.ms.ModNonterminalModelStructure5 extends ModNonterminalModelStructure4 implements Serializable |
|---|
| Serialized Fields |
|---|
ProbabilityStructure[] jointStructures
| Class danbikel.parser.ms.ModNonterminalModelStructure6 extends ProbabilityStructure implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol topSym
ProbabilityStructure[] jointStructures
| Class danbikel.parser.ms.ModNonterminalModelStructure7 extends ProbabilityStructure implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol topSym
ProbabilityStructure[] jointStructures
| Class danbikel.parser.ms.ModNonterminalModelStructure8 extends ProbabilityStructure implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol topSym
| Class danbikel.parser.ms.ModNonterminalModelStructure9 extends ProbabilityStructure implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol topSym
| Class danbikel.parser.ms.ModWordModelStructure1 extends ProbabilityStructure implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol startSym
| Class danbikel.parser.ms.ModWordModelStructure2 extends ProbabilityStructure implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol startSym
Word startWord
Symbol stopSym
Symbol topSym
| Class danbikel.parser.ms.ModWordModelStructure3 extends ProbabilityStructure implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol startSym
Word startWord
| Class danbikel.parser.ms.ModWordModelStructure4 extends ProbabilityStructure implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol startSym
Word startWord
Symbol stopSym
Symbol topSym
| Class danbikel.parser.ms.ModWordModelStructure5 extends ProbabilityStructure implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol startSym
Word startWord
Symbol topSym
| Class danbikel.parser.ms.ModWordModelStructure6 extends ProbabilityStructure implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol startSym
Word startWord
Symbol stopSym
Symbol topSym
| Class danbikel.parser.ms.ModWordModelStructure7 extends ProbabilityStructure implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol startSym
Word startWord
Symbol stopSym
Symbol topSym
| Class danbikel.parser.ms.ModWordModelStructure8 extends ProbabilityStructure implements Serializable |
|---|
| Serialized Fields |
|---|
Symbol startSym
Word startWord
Symbol stopSym
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 |
|---|
Symbol topSym
| Class danbikel.parser.ms.TagModelStructure2 extends ProbabilityStructure implements Serializable |
|---|
| Serialized Fields |
|---|
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 |
|---|
int nextObjectInterval
null from the
SwitchboardRemote.nextObject(int) method.
Server server
int serverId
boolean faultTolerant
AbstractClient.tolerateFaults(int, int, boolean) or
AbstractClient.getFaultTolerantServer(int, int, boolean) method. Initially false.
int retries
AbstractClient.tolerateFaults(int, int, boolean) or AbstractClient.getFaultTolerantServer(int, int, boolean) methods.
Initially -1.
int sleepTime
AbstractClient.tolerateFaults(int, int, boolean) or AbstractClient.getFaultTolerantServer(int, int, boolean) methods.
Initially -1.
boolean failover
AbstractClient.tolerateFaults(int, int, boolean) or AbstractClient.getFaultTolerantServer(int, int, boolean) methods.
Initially false.
Random rand
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 |
|---|
int maxClients
boolean acceptClientsOnlyByRequest
| Class danbikel.switchboard.AbstractSwitchboardUser extends RemoteServer implements Serializable |
|---|
| Serialized Fields |
|---|
String className
SwitchboardRemote switchboard
String switchboardName
boolean registered
Object dieSynch
notify or
notifyAll method, for otherwise the semantics of
certain methods of this class will be corrupted. However, subclasses
may wait on this object.
boolean timeToDie
AbstractSwitchboardUser.unexportWhenDead()
method).
boolean dead
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.
int timeout
int maxSwitchboardTries
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.
int id
Object aliveSynch
int aliveTimeout
boolean aliveRenewed
| Class danbikel.switchboard.AbstractSwitchboardUser_Stub extends RemoteStub implements Serializable |
|---|
serialVersionUID: 2L
| Class danbikel.switchboard.AbstractSwitchboardUser.SBUserRetry extends Retry implements Serializable |
|---|
| Serialized Fields |
|---|
AbstractSwitchboardUser sbUser
| Class danbikel.switchboard.Failover extends Reconnect implements Serializable |
|---|
| Serialized Fields |
|---|
SwitchboardRemote switchboard
Client client
| Class danbikel.switchboard.NumberedObject extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
int number
int fileId
IntPair uid
Object obj
boolean processed
| Class danbikel.switchboard.RegistrationException extends RemoteException implements Serializable |
|---|
| Class danbikel.switchboard.Switchboard extends RemoteServer implements Serializable |
|---|
| Serialized Fields |
|---|
String encoding
ObjectReaderFactory objReaderFactory
ObjectReaderFactory numObjReaderFactory
ObjectWriterFactory objWriterFactory
ObjectWriterFactory numObjWriterFactory
PrintWriter msgs
int bufSize
boolean verbose
List<E> consumers
LinkedList<E> toProcess
int maxFileId
SortedMap<K,V> unopenedFiles
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).
NavigableMap<K,V> files
IOData objects for all files that are
not yet done (are either opened but unprocessed or have not yet had all
their objects processed).
Map<K,V> unProcessedFiles
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.
Switchboard.gotoNextFile(int),
Switchboard.openFileForProcessing(danbikel.switchboard.Switchboard.IOData)danbikel.switchboard.Switchboard.IOData currFile
ThreadGroup dumpers
int totalNumObjectsProcessed
int totalNumObjectsProcessedThisRun
boolean reProcess
String bindingName
int port
int nextClientId
Map<K,V> clients
ClientData objects.
int nextServerId
Map<K,V> servers
ServerData objects.
SortedSet<E> sortedServers
ServerData objects that are values in
servers, ordered by their load, with the most
lightly-loaded being first in the order.
ThreadGroup keepAlives
int keepAliveMaxRetries
int keepAliveInterval
boolean serverDeathKillClients
boolean sortOutput
Time timer
Switchboard.nextObject(int).
Properties settings
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 |
|---|
Object[] data
int startIdx
| Class danbikel.util.FixedSizeSingletonList extends AbstractFixedSizeList implements Serializable |
|---|
| Serialized Fields |
|---|
Object obj
| Class danbikel.util.HashMap extends AbstractMap<K,V> implements Serializable |
|---|
| Serialization Methods |
|---|
private void readObject(ObjectInputStream ois)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream oos)
throws IOException
IOException| Serialized Fields |
|---|
float loadFactor
float threshold
| Class danbikel.util.HashMapDouble extends HashMapPrimitive<K> implements Serializable |
|---|
| Class danbikel.util.HashMapDouble.Entry extends HashMapPrimitive.Entry<K> implements Serializable |
|---|
| Serialization Methods |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
IOException| Class danbikel.util.HashMapInt extends HashMapPrimitive<K> implements Serializable |
|---|
| Class danbikel.util.HashMapInt.Entry extends HashMapPrimitive.Entry<K> implements Serializable |
|---|
| Serialization Methods |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
IOException| Class danbikel.util.HashMapPrimitive extends AbstractMapToPrimitive<K> implements Serializable |
|---|
| Serialization Methods |
|---|
private void readObject(ObjectInputStream s)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
private void writeObject(ObjectOutputStream s)
throws IOException
IOException| Serialized Fields |
|---|
float loadFactor
float threshold
| Class danbikel.util.HashMapPrimitive.Entry extends AbstractMapToPrimitive.Entry<K> implements Serializable |
|---|
| Serialization Methods |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
IOException| Class danbikel.util.HashMapTwoDoubles extends HashMapDouble<K> implements Serializable |
|---|
| Class danbikel.util.HashMapTwoDoubles.Entry extends HashMapPrimitive.Entry<K> implements Serializable |
|---|
| Serialization Methods |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
IOException| Class danbikel.util.HashMapTwoInts extends HashMapInt<K> implements Serializable |
|---|
| Class danbikel.util.HashMapTwoInts.Entry extends HashMapPrimitive.Entry<K> implements Serializable |
|---|
| Serialization Methods |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
IOException| Class danbikel.util.IntCounter extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
int count
| Class danbikel.util.IntPair extends Object implements Serializable |
|---|
| Serialization Methods |
|---|
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out)
throws IOException
IOException| Class danbikel.util.Pair extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
Object first
Object second
| Class danbikel.util.SLNode extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
Object data
SLNode next
| Class danbikel.util.Stack extends ArrayList implements Serializable |
|---|
| Class danbikel.util.TimeoutSocketFactory extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
int clientTimeout
int serverTimeout
| Package danbikel.util.proxy |
|---|
| Class danbikel.util.proxy.Reconnect extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
Object stub
String name
| Class danbikel.util.proxy.Retry extends Object implements Serializable |
|---|
| Serialized Fields |
|---|
Object stub
int retries
long sleep
|
Parsing Engine | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||