|
Parsing Engine | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Client interface, as well as other convenient utility
methods.AbstractClient object.
UnsupportedOperationException for every optional operation
of the Constraint interface.equals
method, as specified by the contract in Event.equals(Object).List and FixedSizeList.HeadFinder
interface.Settings.get(Settings.headTablePrefix + language),
where language is the value of
Settings.get(Settings.language).
HeadFindInstruction object.
UnsupportedOperationException.MapToPrimitive.Entry interface: all primitive-specific
methods are implemented to throw an
UnsupportedOperationException.Server
interface, allowing subclasses to focus solely on the services they will
provide to clients.AbstractServer object.
SwitchboardUser, so that subclasses that need to
implement the Client and Server interfaces
need only implement the methods introduced in those subinterfaces,
as is the case with the AbstractClient and
AbstractServer implementations provided by this package.AbstractSwitchboardUser.alive().keepTrying()
that checks the value of AbstractSwitchboardUser.timeToDie.AbstractTraining.argContexts to a new Map object, sets AbstractTraining.semTagArgStopSet to a new Set object and initializes AbstractTraining.canonicalAugDelimSym.
WordFeatures
interface.ServerSocket.implAccept to wait for a
connection.
sexp to the end of this list.
sexp at position index, shifting all
elements to the right by one position to make room (an O(n) operation).
Symbol.get(String).
Symbol.get(Integer).
Symbol.add(Integer): the specified
int is first wrapped in an Integer object and
then added to the internal symbol map.
1.0.
UnsupportedOperationException, as this is an
unmodifiable map.
Sexp instance,
to this event.
add(obj).
byte value (at index 0)
associated with the specified key, or if no mapping previously existed
for the specified key, then this method adds a new map entry mapping
the key to the specified addend.
byte value at the specified
index associated with the specified key, or if no mapping previously
existed for the specified key, then this method adds a new map entry
mapping the key to the specified addend at the specified index.
short value (at index 0)
associated with the specified key, or if no mapping previously existed
for the specified key, then this method adds a new map entry mapping
the key to the specified addend.
short value at the specified
index associated with the specified key, or if no mapping previously
existed for the specified key, then this method adds a new map entry
mapping the key to the specified addend at the specified index.
int value (at index 0)
associated with the specified key, or if no mapping previously existed
for the specified key, then this method adds a new map entry mapping
the key to the specified addend.
int value at the specified
index associated with the specified key, or if no mapping previously
existed for the specified key, then this method adds a new map entry
mapping the key to the specified addend at the specified index.
long value (at index 0)
associated with the specified key, or if no mapping previously existed
for the specified key, then this method adds a new map entry mapping
the key to the specified addend.
long value at the specified
index associated with the specified key, or if no mapping previously
existed for the specified key, then this method adds a new map entry
mapping the key to the specified addend at the specified index.
float value (at index 0)
associated with the specified key, or if no mapping previously existed
for the specified key, then this method adds a new map entry mapping
the key to the specified addend.
float value at the specified
index associated with the specified key, or if no mapping previously
existed for the specified key, then this method adds a new map entry
mapping the key to the specified addend at the specified index.
double value (at index 0)
associated with the specified key, or if no mapping previously existed for
the specified key, then this method adds a new map entry mapping the key
to the specified addend.
double value at the specified
index associated with the specified key, or if no mapping previously
existed for the specified key, then this method adds a new map entry
mapping the key to the specified addend at the specified index.
int at index 0 by the specified amount.
int at the specified index by the specified
amount.
UnsupportedOperationException.
FixedSizeList.shift(Object).
double associated with the
key in this entry.
int associated with the key
in this entry.
double at the specified
index associated with the key in this entry.
int at the specified index
associated with the key in this entry.
byte value (at index 0)
associated with the specified key, or if no mapping previously existed
for the specified key, then this method adds a new map entry mapping
the key to the specified addend.
byte value at the specified
index associated with the specified key, or if no mapping previously
existed for the specified key, then this method adds a new map entry
mapping the key to the specified addend at the specified index.
short value (at index 0)
associated with the specified key, or if no mapping previously existed
for the specified key, then this method adds a new map entry mapping
the key to the specified addend.
short value at the specified
index associated with the specified key, or if no mapping previously
existed for the specified key, then this method adds a new map entry
mapping the key to the specified addend at the specified index.
int value (at index 0)
associated with the specified key, or if no mapping previously existed
for the specified key, then this method adds a new map entry mapping
the key to the specified addend.
int value at the specified
index associated with the specified key, or if no mapping previously
existed for the specified key, then this method adds a new map entry
mapping the key to the specified addend at the specified index.
long value (at index 0)
associated with the specified key, or if no mapping previously existed
for the specified key, then this method adds a new map entry mapping
the key to the specified addend.
long value at the specified
index associated with the specified key, or if no mapping previously
existed for the specified key, then this method adds a new map entry
mapping the key to the specified addend at the specified index.
float value (at index 0)
associated with the specified key, or if no mapping previously existed
for the specified key, then this method adds a new map entry mapping
the key to the specified addend.
float value at the specified
index associated with the specified key, or if no mapping previously
existed for the specified key, then this method adds a new map entry
mapping the key to the specified addend at the specified index.
double value (at index 0)
associated with the specified key, or if no mapping previously existed for
the specified key, then this method adds a new map entry mapping the key
to the specified addend.
double value at the specified
index associated with the specified key, or if no mapping previously
existed for the specified key, then this method adds a new map entry
mapping the key to the specified addend at the specified index.
byte at index 0 by the specified amount.
byte at the specified index by the specified
amount.
short at index 0 by the specified amount.
short at the specified index by the specified
amount.
int at index 0 by the specified amount.
int at the specified index by the specified
amount.
long at index 0 by the specified amount.
long at the specified index by the specified
amount.
float at index 0 by the specified amount.
float at the specified index by the specified
amount.
double at index 0 by the specified amount.
double at the specified index by the specified
amount.
elementsToAdd to the end of this
list.
elementsToAdd to this list
at the specified index.
list to this subcat bag,
effectively calling BrokenSubcatBag.add(Symbol) for each element of
list.
UnsupportedOperationException, as this is an
unmodifiable map.
list to this subcat bag,
effectively calling SubcatBag.add(Symbol) for each element of
list.
Symbol objects) of list
to this subcat list.
UnsupportedOperationException.
Nonterminal object.
Nonterminal object.
Treebank.isPossessivePreterminal(Sexp).
addGapEvent(event, 1.0).
GapEvent to Trainer.gapEvents with
the specified count.
Settings.addGapInfo.
addHeadEvent(event, 1.0).
HeadEvent to Trainer.headEvents with
the specified count.
tree, augmenting nodes that are the
head child of their parent by appending HeadFinder.headSuffix().
tree, augmenting nodes that
are the head children of their respective parents.
null if no other data is required for
the concrete probability structure.
addModifierEvent(event, 1.0).
ModifierEvent to Trainer.modifierEvents
with the specified count.
itemsAdded list.
Trainer.collectStats(danbikel.lisp.Sexp, danbikel.parser.HeadTreeNode, boolean) and
Trainer.alterLowFrequencyWords(HeadTreeNode).
Trainer.addToPosMap(Word).
value to the set of values to which
key is mapped (if value is not already in
that set) and increments the count of that value by 1.
value to the set of values to which
key is mapped (if value is not already
in that set) and increments the count of that value by
count.
value to the set that is the vale of key
in map; creates this set if a mapping doesn't already
exist for key.
AllPass.
Word in the specified tree, if it occurred
less than Trainer.unknownWordThreshold times, then it is modified.
Models in a ModelCollection.AbstractTraining.identifyArguments(Sexp).
"-+".
"-=|".
"-=|".
"-=|".
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.
Model.numLevels - 1 maps, where map
i is a map from back-off level i transitions to
i + 1 transitions.
Treebank.baseNPLabel(), cached for efficiency and
convenience.
AbstractTraining.addBaseNPs(Sexp) will
relabel base NPs.
AbstractTraining.addBaseNPs(Sexp) will
relabel base NPs.
AbstractTraining.addBaseNPs(Sexp) will
relabel base NPs.
AbstractTraining.addBaseNPs(Sexp) will
relabel base NPs.
Training.addBaseNPs(Sexp) will
relabel core NPs.
Training.addBaseNPs(Sexp) will
relabel core NPs.
Settings.baseNPsCannotContainVerbs setting.
System.err
during the invocation of its methods, such as
Model.deriveCounts(CountsTable,Filter,double,FlexibleMap).
System.err
during the invocation of its methods, such as
Model.deriveCounts(CountsTable,Filter,double,FlexibleMap).
BiCountsTable.
BiCountsTable with the specified initial
number of hash buckets.
BiCountsTable with the specified initial
number of hash buckets and the specified load factor.
Settings.get(Settings.headTablePrefix + Language.getLanguage()).
BrokenLeftSubcatModelStructure instance.
BrokenRightSubcatModelStructure instance.
SubcatBag that precisely reflects
the details specified in Collins’ thesis (used for
“clean-room” implementation).list.
BrokenSubcatBag objects.SubcatBagFactory.
Language.
Treebank object.
Model.precomputeProbs is false.
DecoderServerRemote instance that provides
probability caching.System.gc() after
this object has been de-serialized from a stream.
AbstractTreebank.augmentationDelimiters(), which will be considered the
"canonical" augmentation delimiter when adding
new augmentations, such as the argument augmentations added by
implementations of Training.identifyArguments(Sexp).
Treebank.augmentationDelimiters(), which will be considered the
"canonical" augmentation delimiter when adding
new augmentations, such as the argument augmentations added by
implementations of Training.identifyArguments(Sexp).
Treebank.augmentationDelimiters().
Treebank.augmentationDelimiters().
Event objects to save memory
in the various tables of this model that store such Event
objects.
Model, as well as all
internal Model instances.
Sexp and Subcat
components of this event using the specified reflexive map.
SexpList
objects that represent unlexicalized previous modifier lists.
Subcat objects.
true if cell limiting should apply to the specified
item.
true if the specified item has received its
stop probabilities (that is, if item.stop() == true).
Item to be used for chart items.
System.err when a current setting differs.
Word.Word(Sexp) is the right
format.
null if the specified side has no modifiers.
CKYChart for use when parsing via a probabilistic
version of the CKY algorithm.CKYItem that overrides CKYItem.BaseNPAware.equals(java.lang.Object) and CKYItem.BaseNPAware.hashCode() to take into account the lack of
dependence on the distance metric when the root label of an item's
set of derivations is NPB.equals and hashCode methods to compare
the last previous modifier on each side of each chart item's head child
with respect to their respective equivalence classes, as determined by the
mapping provided by NTMapper.map(Symbol).equals and hashCode methods
to take the last previous modifier into account only insofar as
its equality to the initial Training.startSym() modifier.Model.precomputeProbs() to clean up (that is, remove) objects from the various
counts tables that are no longer needed, as determined by ProbabilityStructure.removeHistory(int,Event) and ProbabilityStructure.removeTransition(int,Transition).
AbstractSwitchboardUser.unexportWhenDead().
null, then a new
map is created.
null, then a
new map is created.
Chart.reclaimItem(Item)).
null.
Trainer.priorEvents, Trainer.headEvents, Trainer.modifierEvents and Trainer.gapEvents counts tables.
SwitchboardUser implementors that
are clients; also, specifies client-specific methods for the switchboard
to use.SwitchboardRemote.nextObject(int)
returns null.
Symbol references.
Reader of this
ObjectReader object.
Writer of this
ObjectWriter object.
SexpList that contains all the leaves of the
specified parse tree.
SexpList that contains all the words of the
specified parse tree as well as their part of speech tags, where each
word is its own SexpList of the form (word (tag)).
end and that
word is not a comma and when it is not the case that the word at
end is not a conunction.
Item.
Model when Settings.modelDoPruning is true: entropy values and
JS divergence values are used in the parameter-pruning method.
CountsTable object.
ConstraintSet object factory, to be used by
the ConstraintSets static factory class.ConstraintSetFactory object to be used by the
ConstraintSets static class.
ConstraintSet objects.Word object into a preterminal subtree.
Word object into a preterminal subtree.
EventCountsConsumer.consume(NumberedObject) to perform
consumption of objects that are periodicially written to an output file by
a separate “dumper” thread.
TagMap.transformTag(Word).
true if this subcat frame contains the
specified requirement.
CKYItem.containsVerb() method
invoked on this chart item, initially set to CKYItem.containsVerbUndefined.
CKYItem.containsVerb()
has been invoked on this item and its value is false (i.e.,
this item does not have a derivation dominating a verb).
CKYItem.containsVerb() that returns whether a verb has
been generated anywhere in the surface string of the derivations of this
chart item.
CKYItem.containsVerb()
has been invoked on this item and its value is true (i.e.,
this item has a derivation dominating a verb).
CKYItem.containsVerb()
has not yet been invoked on this item.
Decoder.headToParentMap from Set objects to arrays of Symbol, that is, arrays of type
Symbol[].
Decoder.convertSubcatMaps().
Set objects (containing Subcat
objects) to Subcat arrays, that is, objects of type
Subcat[].
CachingDecoderServer.convertUnknownWords(SexpList).
DecoderServerRemote.convertUnknownWords(SexpList).
WordFeatures.features(Symbol,boolean), and
the third element is Constants.trueSym if this word was never
observed during training or Constants.falseSym if it was
observed at least once during training.
WordFeatures.features(Symbol,boolean), and
the third element is Constants.trueSym if this word was never
observed during training or Constants.falseSym if it was
observed at least once during training.
Sexp, using the Sexp.deepCopy method.
SexpEvent.copy to
copy the backing Sexp, and using Event.copy
to copy the backing Subcat, if there is one.
Transition object.
Sexp of this event.
0 if this
counts table does not contain a count for the specified key.
0 if this counts table does not contain a count for the
specified key.
TrainerEvent object contained by
this map entry.
double)
counts that may be incremented or decremented.CountsTable.
CountsTable with the specified initial
number of hash buckets.
CountsTable with the specified initial
number of hash buckets and the specified load factor.
TrainerEvent
objects are discarded by the trainer.
Settings.countThreshold setting.
Trainer.vocabCounter.
AbstractTraining.argContexts, parses the pattern using Treebank.parseNonterminal(danbikel.lisp.Symbol), runs through the resulting list of
augmentations and adds each augmentation symbol to the AbstractTraining.argAugmentations list.
AbstractTraining.createArgNonterminalsSet()
that adds argument nonterminal patterns, such as *-SBJ, to the
set of argument nonterminals.
AbstractTraining.argNonterminals data member to be the static set
of argument nonterminals.
Model.histBackOffMap should be created when
precomputing probabilities.
ModelCollection.modelArr with the Model objects that
are contained in this model collection.
ModelCollection object.
Trainer.posMap from the Trainer.headEvents, Trainer.modifierEvents and Trainer.gapEvents counts tables.
Trainer.posMap using information contained in the specified
counts table.
TimeoutServerSocket constructed with the
serverTimeout value specified at construction of
this factory and with the specified port.
Socket object created on the specified
host and port, having set its timeout value to the
clientTimeout value specified at construction of
this factory.
System.currentTimeMillis.
Decoder.addUnariesAndStopProbs(int, int).
ProbabilityStructure).InvocationHandler objects with static factory
methods to provide proxy instances.System.err the constituents of a
gold-standard parse tree that were found by the parser, according to its
output chart file.System.err whenever Chart.reclaimItemsInChart() is invoked.
System.err whenever Chart.reclaimItemsInChart() is invoked.
DecoderServer to get all information and probabilities
required for decoding (parsing).
Decoder that performs the actual parsing.
Decoder instance to be created for use by
Parser and EMParser classes (and any other
subclass of Parser).
Training.postProcess(danbikel.lisp.Sexp) on that parse tree.
CachingDecoderServer instance used by the decoder
when the Settings.decoderUseLocalProbabilityCache property
is true.
Settings.decoderUseCommaConstraint setting) after performing all beam
widening.
DecoderServer object.
DecoderServerRemote instance to be created for use by
Parser and EMParser classes (and any other
subclass of Parser).
DecoderServerRemote instance with an instance of
CachingDecoderServer, which caches probability
lookups.
AbstractTraining.identifyArguments(Sexp).
Training.identifyArguments(Sexp).
AbstractWordFeatures.unknownWordSym.
BufferedReader and BufferedWriter constructors.
alive method.
alive method.
Model class to be created
around ProbabilityStructure objects when their
ProbabilityStructure.newModel() method is invoked.
Settings.defaultModelClass setting.
Settings.defaultModelClass setting, taking a single
ProbabilityStructure as its only argument.
Nonterminal object to represent
all the components of a complex nonterminal annotation: the base label,
any augmentations and any index.
Nonterminal object to represent
all the components of a complex nonterminal annotation: the base label,
any augmentations and any index.
false.
Shift interface that simply shifts
every modifier or word, skipping nothing.getClass().getName() + ".smoothingParams".
WordFactory.Word objects.
Model.counts to null just before
writing this model object to an ObjectOutputStream.
AbstractTraining.delimAndGapStr, cached here for efficiency
and convenience.
Model, as well as for all
internal Model instances.
Model and optionally for
all internal Model instances.
ModelCollection object.
Event
objects are discarded by the databases contained with Model
objects.
Settings.derivedCountThreshold setting.
Model.deriveCounts(CountsTable,Filter,double,FlexibleMap,boolean), but
diversity counts are now derived directly by that method.
Model.deriveCounts(CountsTable,Filter,double,FlexibleMap,boolean), but
histories are now derived directly by that method.
Trainer.deriveCounts(double,FlexibleMap) to derive
counts for all Model instances contained within a ModelCollection.
GapEvent.toHead,
GapEvent.toLeft, GapEvent.toRight}.
Constants.LEFT
indicates a left-to-right scan, and a value equal to
Constants.RIGHT indicates a right-to-left scan.
BiCountsTable returned by CountsTrio.history().
Model that owns an
instance of this class ought to call its Model.cleanup() method at
the end of execution of its deriveCounts
method.
Model class needs to invoke
its cleanup method at the end of its deriveCounts method.
Trainer.main(java.lang.String[]) after all observations are
collected via any calls to Trainer.readStats(File),
Trainer.readStats(SexpTokenizer) and
Trainer.train(SexpTokenizer,boolean,boolean).
Model
object should not add new parameters when deriving counts by consulting
the smoothing parameters from ProbabilityStructure.smoothingParametersFile().
Settings.dontAddNewParams setting.
Model, when smoothing parameters
from a previous training run, should not add new parameters when deriving
counts.
Training.postProcess(Sexp)
on the tree.
Settings.countThreshold.
UnsupportedOperationException, since pruning is
inappropriate when performing the E-step of the Inside-Outside
algorithm.
Settings.downcaseWords setting.
Settings.downcaseWords.
Settings.downcaseWords setting.
CKYItem.start() if the specified side is
Constants.LEFT or the value of CKYItem.end() otherwise.
DecoderServer to get all information and probabilities
required for decoding (parsing).
DecoderServerRemote instance constructed using the specified derived data
filename.
DecoderServerRemote instance for probability lookups and for other
resources needed by the decoder.
true if and only if there are zero requirements
in this subcat bag.
true if all requirements of this subcat frame have
been met.
true if and only if there are zero requirements
in this subcat bag.
true if this stack contains no elements.
Subcats.get().
minCapacity.
size is greater than 1, this method
ensures that the underlying Sexp is a
SexpList (creating a new SexpList if
necessary) and pre-allocates space in that SexpList.
ensureCapacity(size).
Subcat objects only support requirements of a single
type (Symbol), this method is an alias for
SexpList.ensureCapacity(int).
true if the specified object is not null
and is an instance of SexpList where the underlying lists
are of the same size and contain Sexp objects that are
equal.
true if and only if the specified object is of
type BrokenSubcatBag and has the same number of requirement
categories and has the same counts for each of those requirement
categories.
true if and only if the specified object is
also an instance of a CKYItem and all elements of
this CKYItem are equal to those of the specified
CKYItem, except their left and right children lists
and their log probability values.
true if and only if the specified object is
also an instance of a CKYItem and all elements of
this CKYItem are equal to those of the specified
CKYItem, except their left and right children lists
and their log probability values.
true if and only if the specified object is
also an instance of a CKYItem and all elements of
this CKYItem are equal to those of the specified
CKYItem, except their left and right children lists
and their log probability values.
EMItem.
true if and only if the following three
conditions are met:
the specified object is an instance of Event
the specified object supports the same and only the same types
of components as this Event object
the abstract lists of each type for this object and the
specified object are of equal length and are pairwise equal in
their items
true if the specified object is an instance of
a GapEvent object containing data members which are all
pairwise-equal with the data members of this GapEvent
object, according to each data member's equals(Object) method.
true if the specified object is an instance of
a HeadEvent object containing data members which are all
pairwise-equal with the data members of this HeadEvent
object, according to each data member's equals(Object) method.
true if the specified object is an instance of
a ModifierEvent object containing data members which are all
pairwise-equal with the data members of this ModifierEvent
object, according to each data member's equals(Object) method.
Sexp of the two objects equal
when one is a symbol and the other is a list of length 1
containing that symbol.
true if and only if the specified object is of
type SubcatBag and has the same number of requirement
categories and has the same counts for each of those requirement
categories.
true if and only if the specified object is an
instance of SubcatList whose underlying list is equal
to that of this object, as determined by SexpList.equals(Object).
true if obj is an instance of
Transition and has future and history components that
are respectively equal to this object's future and history components.
FixedSizeList to the specified object
for equality.
true if the specified object is an instance of
IntCounter and if its count is the same as that of
this IntCounter object, false otherwise.
true if the specified object is an instance of
an IntPair whose corresponding two integers are equal
to this IntPair's two integers.
true if and only if
the specified object is an instance of Pair and
if this.first and ((Pair)obj).first are
either both null or are equal as determined by the
equals method of this.first
if this.second and ((Pair)obj).second are
either both null or are equal as determined by the
equals method of this.second
System.err for error messages that might
contain encoding-specific characters.
PrintWriter object wrapped around System.err for
printing in the proper character encoding.
Model.histBackOffMap (debugging method).
Model without adding the log-probabilities of the internal Model
objects.
Model
without multiplying the probabilities of the internal Model
objects.
TrainerEvent object.
TrainerEvent object.
TrainerEvent object contained by this map entry.
Consumer interface (part of the Switchboard
framework) for counting events (TrainerEvent instances) produced as
part of the E-step of the EM algorithm (Inside-Outside).CountsTable objects containing counts of
TrainerEvent objects to a file or an output stream.EventCountsWriter using the specified output
stream to output CountsTable instances containing counts of TrainerEvent objects.
EventCountsWriter using the specified output
stream, encoding and buffer size to output CountsTable instances
containing counts of TrainerEvent objects.
EventCountsWriter by creating a Writer for
the specified filename, using the specified encoding, buffer size and
append options.
EventCountsWriterFactory.
StringBuffer.
StringBuffer.
UnicastRemoteObject.exportObject.
AbstractClient.tolerateFaults(int, int, boolean) or AbstractClient.getFaultTolerantServer(int, int, boolean) methods.
AbstractClient.tolerateFaults(int, int, boolean) or
AbstractClient.getFaultTolerantServer(int, int, boolean) method.
Word.word.
null if no features
have been set for this word.
TrainerEvent objects to
observed counts, backed by a file of the form output by
Trainer.writeStats(java.io.File).TrainerEvent map for events of the
specified type and using the specified file.
TrainerEvent map for events of the
specified type and using the specified file.
toFind in the characters
contained in the string buffer sb.
toFind at or after
startIdx in the characters of the string buffer
sb.
true if at least one satisfying constraint should
be found for every chart item, false otherwise.
true, since a satisfying constraint must be found
for every chart item.
true, since a satisfying constraint must be found
for every chart item.
ConstraintSet.findAtLeastOneSatisfying(),
if there are constraints for the current sentence; otherwise, this
data member will be set to false.
System.err which constituents of the specified
gold-standard parse tree were found by the parser, according to its output
chart file.
System.err which constituents of the specified
gold-standard parse tree were found by the parser, according to the
specified chart.
System.err which constituents of the specified
gold-standard parse tree were found by the parser, according to the
specified chart.
lhs -> rhs.
lhs -> rhs.
lhs -> rhs.
lhs -> rhs.
lhs → rhs.
lhs -> rhs.
true if every chart item generated must violate
none of the constraints in this constraint set, false
otherwise.
false, since this type of constraint set guarantees
consistency among its constraints, meaning that, since every chart item
must have an assigned, satisfying constraint, there cannot be any
constraint violations, and therefore no such violation-checking needs
to occur during decoding.
false, since this type of constraint set guarantees
consistency among its constraints, meaning that, since every chart item
must have an assigned, satisfying constraint, there cannot be any
constraint violations, and therefore no such violation-checking needs
to occur during decoding.
get(0)).
FixedSizeList instances.FixedSizeList implementation for a singleton list (a list with only
one element).Training.relabelSubjectlessSentences(Sexp) when the subjectless sentence
node has children prior to its head child that are arguments.
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 array to represent futures;
the array will be initialized to have the size of ProbabilityStructure.numLevels().
SexpSubcatEvent array to represent futures;
the array will be initialized to have the size of
ProbabilityStructure.numLevels().
Training.gapAugmentation().
GapEvent object, setting all its
data members to the specified values.
ProbabilityStructure, to be instantiated by
Trainer for the gap-generation submodel.
ProbabilityStructure object for the
gap-generation submodel.
Chart.add may have a handle onto this item).
Chart.add may have
a handle onto this item).
Chart.add may have a handle onto this item).
Sexp at the specified index.
Symbol whose string key is
str.
Symbol whose integer value is that of
intKey.
Symbol.add(Integer): the specified
int is first wrapped in an Integer object and
then added to the internal symbol map.
indexth components of this subcat bag.
SubcatBag.
SubcatBag initialized with the requirements
contained in the specified list.
ConstraintSet object created with its default
constructor.
ConstraintSet object created with its one-argument
constructor.
ConstraintSet object created with its default
constructor.
ConstraintSet object created with its one-argument
constructor, using the specified S-expression.
LexTreeConstraintSet instance.
PartialLexTreeConstraintSet object.
PartialLexTreeConstraintSet using the specified
syntactic tree.
Sexp instance.
UnlexTreeConstraintSet object.
UnlexTreeConstraintSet constructed with the specified
syntactic tree.
indexth component of the
specified type from this event.
UnsupportedOperationException, as the only
way to get values from this specialized cache is through the
getProb(Object) method.
indexth component of this event.
SexpNumberedObjectReader constructed with the
specified input stream argument.
SexpNumberedObjectReader constructed with the
specified arguments.
SexpNumberedObjectReader constructed with the
specified arguments.
SexpObjectReader constructed with the
specified input stream argument.
SexpObjectReader constructed with the
specified arguments.
SexpObjectReader constructed with the
specified arguments.
indexth component of this event of
the specified type.
indexth components of this subcat bag.
SubcatBag.
SubcatBag initialized with the requirements
contained in the specified list.
Subcat object created with its default constructor.
Subcat object created with its one-argument
constructor, using the specified list.
SexpList.get(int).
SubcatList.
SubcatList initialized with the requirements
contained in the specified list.
Subcat object created with its default constructor.
Subcat object created with its one-argument
constructor, using the specified list.
Word object from the specified S-expression, which
must be a list of length 2 or greater, where the first two elements are
symbols.
Word object from the specified symbols.
Word object from the specified symbols.
Word instance constructed from the specified
S-expression.
Word instance constructed from the specified word and
tag symbols.
Word instance constructed from the specified word,
tag and feature-vector symbols.
ObjectWriter using the specified
stream.
ObjectWriter using the
specified stream.
ObjectWriter using the
specified stream.
ProbabilityStructure.additionalData member.
AbstractSwitchboardUser.aliveTimeout to be a reasonable value.
Boolean.valueOf(String).
byte value associated with the key contained in
this entry.
byte value of the specified index associated
with the key in this map entry.
byte value associated with the key contained in
this entry.
byte value of the specified index associated
with the key in this map entry.
Model objects.
Model object.
label already is in canonical form, it is returned.
label already is in canonical form, it is returned.
Treebank.getCanonical(Symbol)
when passed the label argument; otherwise, the specified nonterminal
is canonicalized unless it contains augmentations, in which case
it is returned untouched.
label already is in canonical form, it is returned.
label already is in canonical form, it is returned.
label already is in canonical form, it is returned.
label already is in canonical form, it is returned.
label already is in canonical form, it is returned.
Word object for the specified object.
char value associated with the key contained in
this entry.
char value of the specified index associated
with the key in this map entry.
char value associated with the key contained in
this entry.
char value of the specified index associated
with the key in this map entry.
index.
Subcat objects
need to support: Symbol.class.
Event is
capable of collecting.
Sexp.class if the specified type is 0.
Subcat objects
need to support: Symbol.class.
Subcat objects
need to support: Symbol.class.
null if this item has no associated constraint.
ConstraintSets.get(Object).
ObjectReaderFactory for numbered objects,
which uses an ObjectInputStream from which to read objects.
ObjectWriterFactory for numbered objects,
which uses an ObjectOutputStream to write objects.
ObjectReaderFactory for un-numbered
objects, which uses an ObjectInputStream from which to read
objects.
ObjectWriterFactory for un-numbered
objects, which uses an ObjectOutputStream to write objects.
Double.parseDouble(String).
double value associated with the key contained in
this entry.
double value of the specified index associated
with the key in this map entry.
double value associated with the key in this
entry.
double value at the specified index associated
with the key in this entry.
double value associated with the key contained in
this entry.
double value of the specified index associated
with the key in this map entry.
getEntry(key), returning the map entry for the
specified key.
null
if this map does not contain such a mapping.
null
if this map does not contain such a mapping.
null
if no such entry exists.
null
if this map does not contain such a mapping.
UnsupportedOperationException because this is an
unmodifiable map.
UnsupportedOperationException because this is an
unmodifiable map.
TrainerEvent objects that were written
out in S-expression form.
Settings.serverFailover, or the
specified fallback default value if that property does not exist.
File object for the specified filename, or
null if the specified file does not exist.
File object for the specified filename, or
null if the specified file does not exist.
name is an absolute path
as a resource gotten from the class loader of the specified class
The default settings directory is described in the documentation
for Settings.settingsDirOverride.
float value associated with the key contained in
this entry.
float value of the specified index associated
with the key in this map entry.
float value associated with the key contained in
this entry.
float value of the specified index associated
with the key in this map entry.
Integer object for this
symbol.
null, since this extension of Symbol
only stores strings.
Integer object associated with this Symbol.
Integer.parseInt(String).
int value associated with the key contained in
this entry.
int value of the specified index associated
with the key in this map entry.
int value associated with the key in this
entry.
int value at the specified index associated with
the key in this entry.
int value associated with the key contained in
this entry.
int value of the specified index associated
with the key in this map entry.
CKYItem.toSexpInternal(boolean), to provide a
layer of abstraction so that the label can include, e.g., head
information.
long value associated with the key contained in
this entry.
long value of the specified index associated
with the key in this map entry.
long value associated with the key contained in
this entry.
long value of the specified index associated
with the key in this map entry.
Model instances used
to produce joint probability estimates.
ModelCollection.getModelCacheStats().
Model.getCacheStats() on each Model contained in
this model collection, and returns the results as a single String.
Decoder instance that uses the specified DecoderServerRemote instance.
DecoderServerRemote
instance).
EMItem.
double.
int.
doubles.
ints.
String
constructor using the specified derived data filename as the argument.
int
constructor using the specified timeout value as the argument.
ModelCollection.nonterminalArr member.
ModelCollection.nonterminalMap member.
UnsupportedOperationException.
PartialTreeConstraint.fullySatisfied; otherwise, returns this constraint.
Subcats for the context contained in the
specified HeadEvent.
Double containing the probability of the specified
key, or null if the specified key is not in this
cache.
Model instance (as opposed to one of the
internal Model instances).
Model instance, or a structure used by
one of the internal Model instances.
ProbabilityStructure object used
during the invocation of
Model.deriveCounts(CountsTable,Filter,double,FlexibleMap).
Sexp objects).
Sexp objects).
Sexp objects) that were
punctuation elements that were "raised away" because they were either at
the beginning or end of a sentence.
Sexp objects) that were
punctuation elements that were "raised away" because they were either at
the beginning or end of a sentence.
Settings.serverMaxRetries, or the
specified fallback default value if that property does not exist.
Settings.serverRetrySleep, or the
specified fallback default value if that property does not exist.
Server for use by a client.
Server associated with the
specified server ID to the requesting client.
Properties object.
Properties) object of the switchboard.
Properties object.
Properties object used for various
settings of this switchboard.
short value associated with the key contained in
this entry.
short value of the specified index associated
with the key in this map entry.
short value associated with the key contained in
this entry.
short value of the specified index associated
with the key in this map entry.
SexpTokenizer wrapped around the specified file
using the encoding specified by Language.encoding() and
a buffer size equal to Constants.defaultFileBufsize.
Symbol, which, for this type of symbol, is the
Integer object returned by IntSymbol.getInteger().
Symbol, which, for this type of symbol, is the
String object returned by StringSymbol.toString().
Parser.sentContainsWordsAndTags(SexpList).
Settings.
Settings.
null if this span has no items.
getClass().getName() + ".topLevelCacheSize"
to an integer and returns it.
getHistory(trainerEvent, backOffLevel) and its
future the result of getFuture(trainerEvent, backOffLevel).
Transition objects representing conditional events for
all back-off levels of this model into the specified array, with
trans[0] = zeroLevelTrans.
UnsupportedOperationException.
Double whose value is the double in this
entry.
Integer whose value is the int in this
entry.
UnsupportedOperationException.
Word object at the specified index.
Parser.sentContainsWordsAndTags(SexpList) method.
Settings.modelDoPruning.
ProbabilityStructure objects.
Constants.logOfZero and to allow other hard constraints (that
amount to implicit log of zero probability estimates).
UnsupportedOperationException.
tree has no gap (trace), or the index of the
trace otherwise.
true if and only if label has a
gap augmentation as added by AbstractTraining.addGapInformation(Sexp).
true if and only if label has a
gap augmentation as added by Training.addGapInformation(Sexp).
CKYItem.equals(java.lang.Object) method.
System.identityHashCode(this).
CKYItem.MappedPrevModBaseNPAware.equals(java.lang.Object) method.
CKYItem.PrevModIsStart.equals(java.lang.Object) method.
Sexp object.
first and second are the two
integers of this integer pair.
0x7fffffff.
FlexibleMap interface.double values.default load factor.
default capacity and
load factor.
double.doubles.
doubles.
int values.default load factor.
default capacity and load factor.
int.ints.
ints.
AbstractMapToPrimitive.Entry that
adds a next pointer and an int to cache the hash value of the
key held by this entry.Object instances as keys with ordered
pairs of doubles as values.default load factor.
default capacity and
load factor.
doubles.doubles.
doubles.
Object instances as keys with ordered
pairs of ints as values.default load factor.
default capacity and
load factor.
ints.ints.
ints.
false,
so that the default implementation of addBaseNPs(Sexp)
never considers an NP to be a possessive NP.
- hasPossessiveChild(Sexp) -
Method in class danbikel.parser.lang.AbstractTraining
- Returns
true if tree contains a child for which
Treebank.isPossessivePreterminal(Sexp) returns
true, false otherwise.
- hasTreeStructure() -
Method in interface danbikel.parser.constraints.ConstraintSet
- Returns
true if this constraint set forms a tree structure.
- hasTreeStructure() -
Method in class danbikel.parser.constraints.PartialTreeConstraintSet
- Returns
true, since this type of constraint set does,
indeed, have a tree structure.
- hasTreeStructure() -
Method in class danbikel.parser.constraints.UnlexTreeConstraintSet
- Returns
true, since this type of constraint set does,
indeed, have a tree structure.
- head() -
Method in class danbikel.parser.GapEvent
- Returns the head nonterminal label.
- head() -
Method in class danbikel.parser.HeadEvent
- Returns the head nonterminal label of this head event.
- head() -
Method in class danbikel.parser.ModifierEvent
- Returns the head child nonterminal label.
- headAdjacent() -
Method in class danbikel.parser.ModifierEvent
- Returns whether the current modifier is adjacent to the head child.
- headChild -
Variable in class danbikel.parser.CKYItem
- The item representing the head child of the tree node represented by this
chart item, or
null if this item represents a
preterminal.
- headChild() -
Method in class danbikel.parser.CKYItem
- Returns the head child item of this item.
- headChild() -
Method in class danbikel.parser.HeadTreeNode
- Gets the head child of this node.
- HeadEvent - Class in danbikel.parser
- A class to represent the head generation event implicit in the models
supported by this parsing package.
- HeadEvent(Sexp) -
Constructor for class danbikel.parser.HeadEvent
- Contructs a new object from the specified S-expression.
- HeadEvent(Word, Symbol, Symbol, SexpList, SexpList) -
Constructor for class danbikel.parser.HeadEvent
- Constructs a new
HeadEvent object, setting all its data
members to the specified values.
- HeadEvent(Word, Symbol, Symbol, Subcat, Subcat) -
Constructor for class danbikel.parser.HeadEvent
- Constructs a new
HeadEvent object, settings all its data
members to the specified values.
- headEvents -
Variable in class danbikel.parser.Trainer
- A table for storing counts of head-generation events.
- headEventSym -
Static variable in class danbikel.parser.Trainer
- The label for head nonterminal generation events.
- headEventToCollins(HeadEvent) -
Static method in class danbikel.parser.util.TrainerEventToCollins
-
- HeadFinder - Class in danbikel.parser.arabic
- A class to find heads for context-free productions in Arabic syntax trees.
- HeadFinder() -
Constructor for class danbikel.parser.arabic.HeadFinder
- Constructs an Arabic head-finding object, getting the name of the head
table from the value of
Settings.get(Settings.headTablePrefix + Language.getLanguage()).
- HeadFinder(Sexp) -
Constructor for class danbikel.parser.arabic.HeadFinder
- Constructs an Arabic head-finding object with the specified head table.
- HeadFinder - Class in danbikel.parser.chinese
- A class for determining the head node on the right-hand sides of Chinese
parse tree productions.
- HeadFinder() -
Constructor for class danbikel.parser.chinese.HeadFinder
- Constructs an Chinese head-finding object, getting the name of the head
table from the value of
Settings.get(Settings.headTablePrefix + Language.getLanguage()).
- HeadFinder(Sexp) -
Constructor for class danbikel.parser.chinese.HeadFinder
- Constructs an Chinese head-finding object with the specified head table.
- HeadFinder - Class in danbikel.parser.english
- Reads a series of heuristics to determine the distinguished head child of a
context-free production (a parent and its ordered list of children in
a syntax tree).
- HeadFinder() -
Constructor for class danbikel.parser.english.HeadFinder
- Constructs an English head-finding object, getting the name of the head
table from the value of
Settings.get(Settings.headTablePrefix + Language.getLanguage()).
- HeadFinder(Sexp) -
Constructor for class danbikel.parser.english.HeadFinder
- Constructs an English head-finding object with the specified head table.
- HeadFinder - Interface in danbikel.parser
- Specifies the methods for the head-finding component of a language package.
- headFinder -
Variable in class danbikel.parser.lang.AbstractTraining
- Holds the value of
Language.headFinder().
- headFinder() -
Static method in class danbikel.parser.Language
- Gets the
HeadFinder object for the current language.
- headFinderClass -
Static variable in class danbikel.parser.Settings
- The property to specify the fully-qualified name of the class that
extends
HeadFinder in a language package.
- headFinderRandomProb -
Static variable in class danbikel.parser.Settings
- The property to specify a probability that the method
AbstractHeadFinder.defaultFindHead(danbikel.lisp.Symbol,danbikel.lisp.SexpList)
should return a randomly-selected head-child index.
- headFinderWarnDefaultRule -
Static variable in class danbikel.parser.Settings
- The property to specify whether the method
AbstractHeadFinder.defaultFindHead(danbikel.lisp.Symbol,danbikel.lisp.SexpList)
issues a warning whenever it needs to use the default head-finding rule.
- headFindInstructions -
Variable in class danbikel.parser.lang.AbstractHeadFinder
- The map of parent nonterminals to their arrays of
AbstractHeadFinder.HeadFindInstruction.
- headLabel() -
Method in class danbikel.parser.CKYItem.BaseNPAware
-
- headLabel() -
Method in class danbikel.parser.CKYItem
- Returns the root nonterminal label of the derivation of this item's
head child.
- headModel -
Variable in class danbikel.parser.ModelCollection
- The model for generating a head nonterminal given its (lexicalized)
parent.
- headModel() -
Method in class danbikel.parser.ModelCollection
- Returns the head-generation model.
- headModel -
Variable in class danbikel.parser.Trainer
- The head-generation model.
- HeadModelStructure1 - Class in danbikel.parser.ms
-
- HeadModelStructure1() -
Constructor for class danbikel.parser.ms.HeadModelStructure1
-
- headModelStructureClass -
Static variable in class danbikel.parser.Settings
- The property to specify the fully-qualified name of a class that
extends
ProbabilityStructure, to be instantiated by
Trainer for the head-generation submodel.
- headModelStructureNumber -
Static variable in class danbikel.parser.Settings
- The property to specify the model structure number to use when
creating the
ProbabilityStructure object for the
head-generation submodel.
- headPostSym -
Static variable in class danbikel.parser.lang.AbstractTraining
- The symbol that is a possible mapping
AbstractTraining.argContexts to indicate
to choose a child relative to the right side of the head as an argument.
- headPostSym() -
Method in class danbikel.parser.lang.AbstractTraining
- The symbol that is a possible mapping
AbstractTraining.argContexts to indicate to
choose a child relative to the right side of the head as an argument.
- headPreSym -
Static variable in class danbikel.parser.lang.AbstractTraining
- The symbol that is a possible mapping
AbstractTraining.argContexts to indicate
to choose a child relative to the left side of the head as an argument.
- headPreSym() -
Method in class danbikel.parser.lang.AbstractTraining
- The symbol that is a possible mapping
AbstractTraining.argContexts to indicate
to choose a child relative to the left side of the head as an argument.
- headSuffix() -
Method in interface danbikel.parser.HeadFinder
- The suffix to append to nodes that are the head children of their
respective parents when marking heads via
HeadFinder.addHeadInformation(Sexp).
- headSuffix -
Static variable in class danbikel.parser.lang.AbstractHeadFinder
- The augmentation for new head nodes added by
AbstractHeadFinder.addHeadInformation(danbikel.lisp.Sexp).
- headSuffix() -
Method in class danbikel.parser.lang.AbstractHeadFinder
- Returns the string
"-HEAD".
- headSym -
Static variable in class danbikel.parser.lang.AbstractTraining
- The symbol that is a possible mapping in
AbstractTraining.argContexts to indicate
to choose a child relative to the head as an argument.
- headSym() -
Method in class danbikel.parser.lang.AbstractTraining
- Returns the symbol used in the
AbstractTraining.argContexts map to identify
an offset from the head child.
- headTablePrefix -
Static variable in class danbikel.parser.Settings
- The prefix string used to specify a language's head table
property.
- headToParentMap() -
Method in class danbikel.parser.CachingDecoderServer
-
- headToParentMap -
Variable in class danbikel.parser.Decoder
- A map from futures of the last back-off level of the head generation model
to possible history contexts.
- headToParentMap() -
Method in class danbikel.parser.DecoderServer
-
- headToParentMap() -
Method in interface danbikel.parser.