Parsing Engine
A B C D E F G H I J K L M N O P R S T U V W Z

A

AbstractClient - Class in danbikel.switchboard
Provides a convenient default implementation of the Client interface, as well as other convenient utility methods.
AbstractClient() - Constructor for class danbikel.switchboard.AbstractClient
Constructs a non-exported AbstractClient object.
AbstractClient(int) - Constructor for class danbikel.switchboard.AbstractClient
Constructs a new client with the specified timeout, to be set for switchboard-side (RMI client-side) sockets.
AbstractClient(int, int) - Constructor for class danbikel.switchboard.AbstractClient
Constructs a new client taking RMI calls on the specified port, with the specified timeout to be set for switchboard-side (RMI client-side) sockets.
AbstractClient(int, RMIClientSocketFactory, RMIServerSocketFactory) - Constructor for class danbikel.switchboard.AbstractClient
Constructs a new client taking RMI calls on the specified port and using the specified socket factories.
AbstractConstraint - Class in danbikel.parser.constraints
A base class that throws an UnsupportedOperationException for every optional operation of the Constraint interface.
AbstractConstraint() - Constructor for class danbikel.parser.constraints.AbstractConstraint
Constructs a new instance of this base class, typically called implicitly by concrete subclasses.
AbstractEvent - Class in danbikel.parser
A convenience class that simply implements the equals method, as specified by the contract in Event.equals(Object).
AbstractFixedSizeList - Class in danbikel.util
Provides a convenient default implementation for most of the methods of List and FixedSizeList.
AbstractFixedSizeList() - Constructor for class danbikel.util.AbstractFixedSizeList
No-arg constructor, for use only for Serialization of derived, concrete classes.
AbstractFixedSizeList(int) - Constructor for class danbikel.util.AbstractFixedSizeList
Initializes this new list to have the specified number of elements.
AbstractFixedSizeList(Collection) - Constructor for class danbikel.util.AbstractFixedSizeList
Initializes this new list to contain all elements of the specified collection.
AbstractHeadFinder - Class in danbikel.parser.lang
Provides a default abstract implementation of the HeadFinder interface.
AbstractHeadFinder() - Constructor for class danbikel.parser.lang.AbstractHeadFinder
Constructs a head-finding object, getting the name of the head table from the value of Settings.get(Settings.headTablePrefix + language), where language is the value of Settings.get(Settings.language).
AbstractHeadFinder(Sexp) - Constructor for class danbikel.parser.lang.AbstractHeadFinder
Constructs a head-finding object with the specified head table.
AbstractHeadFinder.HeadFindInstruction - Class in danbikel.parser.lang
Data structure for specifying a way to search for a head in a grammar production: a set of symbols to scan for and the direction of that scan.
AbstractHeadFinder.HeadFindInstruction(boolean, Symbol[]) - Constructor for class danbikel.parser.lang.AbstractHeadFinder.HeadFindInstruction
Constructs a new HeadFindInstruction object.
AbstractMapToPrimitive<K> - Class in danbikel.util
This class and its associated inner class provide templates for easily creating implementations of maps to primitive types, by implementing all primitive-specific methods to throw an UnsupportedOperationException.
AbstractMapToPrimitive() - Constructor for class danbikel.util.AbstractMapToPrimitive
 
AbstractMapToPrimitive.Entry<K> - Class in danbikel.util
Provides convenient abstract implementation of the MapToPrimitive.Entry interface: all primitive-specific methods are implemented to throw an UnsupportedOperationException.
AbstractMapToPrimitive.Entry() - Constructor for class danbikel.util.AbstractMapToPrimitive.Entry
 
AbstractServer - Class in danbikel.switchboard
Provides a convenient default implementation of the Server interface, allowing subclasses to focus solely on the services they will provide to clients.
AbstractServer() - Constructor for class danbikel.switchboard.AbstractServer
Constructs a non-exported AbstractServer object.
AbstractServer(int) - Constructor for class danbikel.switchboard.AbstractServer
Constructs a new server with the specified timeout value for its RMI sockets, to receive RMI calls on an anonymous port.
AbstractServer(int, int) - Constructor for class danbikel.switchboard.AbstractServer
Constructs a new server with the specified timeout value for its RMI sockets, to receive RMI calls on the specified port.
AbstractServer(int, boolean, int, int) - Constructor for class danbikel.switchboard.AbstractServer
Constructs a new server that will accept no more than the specified number of clients, will optionally accept clients only by request, that will use the specified timeout for its RMI sockets and will accept RMI calls on the specified port.
AbstractServer(int, RMIClientSocketFactory, RMIServerSocketFactory) - Constructor for class danbikel.switchboard.AbstractServer
Constructs a new server that will accept RMI calls on the specified port, using the specified socket factories to create RMI sockets.
AbstractServer(int, boolean, int, RMIClientSocketFactory, RMIServerSocketFactory) - Constructor for class danbikel.switchboard.AbstractServer
Constructs a new server that will accept no more than the specified number of clients, will optionally accept clients only by request, will accept RMI calls on the specified port and will use the specified socket factories to create its RMI sockets.
AbstractSwitchboardUser - Class in danbikel.switchboard
Provides a convenient default implementation of the interface 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() - Constructor for class danbikel.switchboard.AbstractSwitchboardUser
A no-arg constructor for concrete subclasses that wish to have stand-alone (non-exported) constructors.
AbstractSwitchboardUser(int) - Constructor for class danbikel.switchboard.AbstractSwitchboardUser
Constructs a switchboard user whose switchboard-side (RMI client-side) sockets will have the specified timeout.
AbstractSwitchboardUser(int, int) - Constructor for class danbikel.switchboard.AbstractSwitchboardUser
Constructs a switchboard user accepting RMI calls on the specified port, and whose switchboard-side (RMI client-side) sockets will have the specified timeout.
AbstractSwitchboardUser(int, RMIClientSocketFactory, RMIServerSocketFactory) - Constructor for class danbikel.switchboard.AbstractSwitchboardUser
Constructs a switchboard user receiving RMI calls on the specified port, constructing client- and server-side sockets from the specified socket factories.
AbstractSwitchboardUser.Alive - Class in danbikel.switchboard
Class to implement a thread that detects whether the switchboard has gone down, by noticing when it has been too long since its last call to AbstractSwitchboardUser.alive().
AbstractSwitchboardUser.Alive() - Constructor for class danbikel.switchboard.AbstractSwitchboardUser.Alive
 
AbstractSwitchboardUser.SBUserRetry - Class in danbikel.switchboard
Provides an appropriate overridden definition of keepTrying() that checks the value of AbstractSwitchboardUser.timeToDie.
AbstractSwitchboardUser.SBUserRetry(Object, AbstractSwitchboardUser, int, long) - Constructor for class danbikel.switchboard.AbstractSwitchboardUser.SBUserRetry
 
AbstractTraining - Class in danbikel.parser.lang
Provides methods for language-specific preprocessing of training parse trees.
AbstractTraining() - Constructor for class danbikel.parser.lang.AbstractTraining
Default constructor for this abstract base class; sets AbstractTraining.argContexts to a new Map object, sets AbstractTraining.semTagArgStopSet to a new Set object and initializes AbstractTraining.canonicalAugDelimSym.
AbstractTreebank - Class in danbikel.parser.lang
A collection of mostly-abstract methods to be implemented by a langauge-specific subclass.
AbstractTreebank() - Constructor for class danbikel.parser.lang.AbstractTreebank
No-arg constructor, to be called by all subclasses of this abstract class.
AbstractWordFeatures - Class in danbikel.parser.lang
Provides a default abstract implementation of the WordFeatures interface.
AbstractWordFeatures() - Constructor for class danbikel.parser.lang.AbstractWordFeatures
Default constructor, to be called by subclasses (usually implicitly).
accept() - Method in class danbikel.util.TimeoutServerSocket
Creates a socket with the timeout value specified at construction, then calls ServerSocket.implAccept to wait for a connection.
acceptClientsOnlyByRequest() - Method in class danbikel.parser.CachingDecoderServer
 
acceptClientsOnlyByRequest - Variable in class danbikel.switchboard.AbstractServer
Indicates whether this server will only accept clients that specifically request it.
acceptClientsOnlyByRequest() - Method in class danbikel.switchboard.AbstractServer
Returns whether this server will only accept clients that specifically request it.
acceptClientsOnlyByRequest() - Method in interface danbikel.switchboard.Server
Returns whether this server is only willing to accept clients that request it.
acceptUnlimitedClients - Static variable in interface danbikel.switchboard.Server
 
add(Sexp) - Method in class danbikel.lisp.SexpList
Appends sexp to the end of this list.
add(int, Sexp) - Method in class danbikel.lisp.SexpList
Adds sexp at position index, shifting all elements to the right by one position to make room (an O(n) operation).
add(String) - Static method in class danbikel.lisp.Symbol
A synonym for Symbol.get(String).
add(Integer) - Static method in class danbikel.lisp.Symbol
A synonym for Symbol.get(Integer).
add(int) - Static method in class danbikel.lisp.Symbol
A convenience method for Symbol.add(Integer): the specified int is first wrapped in an Integer object and then added to the internal symbol map.
add(K, int) - Method in class danbikel.parser.BiCountsTable
Adds 1 to the counter at the specified index for the specified key in this map.
add(Symbol) - Method in class danbikel.parser.BrokenSubcatBag
Adds the specified requirement to this subcat bag.
add(Object) - Method in class danbikel.parser.BrokenSubcatBag
 
add(int, Object) - Method in class danbikel.parser.BrokenSubcatBag
 
add(int, int, Item) - Method in class danbikel.parser.Chart
Adds the specified item covering the specified span to this chart.
add(K) - Method in interface danbikel.parser.CountsTable
Adds the specified key with a count of 1.0.
add(K) - Method in class danbikel.parser.CountsTableImpl
 
add(int, int, EMItem) - Method in class danbikel.parser.EMChart
Adds this item that has no antecedents to the chart.
add(int, int, EMItem, EMItem, EMItem, TrainerEvent, double) - Method in class danbikel.parser.EMChart
Adds this item to the chart, recording its antecedents and the events and their probabilities that allowed this item (consequent) to be produced.
add(int, int, EMItem, EMItem, EMItem, TrainerEvent[], double[]) - Method in class danbikel.parser.EMChart
Adds this item to the chart, recording its antecedents and the events and their probabilities that allowed this item (consequent) to be produced.
add(Object) - Method in class danbikel.parser.FileBackedTrainerEventMap
Throws an UnsupportedOperationException, as this is an unmodifiable map.
add(Object) - Method in interface danbikel.parser.MutableEvent
Adds the specified object to this event.
add(int, Object) - Method in interface danbikel.parser.MutableEvent
Adds the specified object of the specified type to this event.
add(Object) - Method in class danbikel.parser.SexpEvent
Adds the specified object, which must be a Sexp instance, to this event.
add(int, Object) - Method in class danbikel.parser.SexpEvent
Identical to add(obj).
add(Object) - Method in class danbikel.parser.SexpSubcatEvent
Adds the specified component to this event.
add(int, Object) - Method in class danbikel.parser.SexpSubcatEvent
Adds the specified type of object to this event.
add(Symbol) - Method in interface danbikel.parser.Subcat
Adds the specified nonterminal to the required arguments of this subcat frame.
add(Symbol) - Method in class danbikel.parser.SubcatBag
Adds the specified requirement to this subcat bag.
add(Object) - Method in class danbikel.parser.SubcatBag
 
add(int, Object) - Method in class danbikel.parser.SubcatBag
 
add(Object) - Method in class danbikel.parser.SubcatList
 
add(int, Object) - Method in class danbikel.parser.SubcatList
 
add(Symbol) - Method in class danbikel.parser.SubcatList
Adds the specified requirement to this subcat list.
add(Object) - Method in class danbikel.util.AbstractFixedSizeList
 
add(K, byte) - Method in class danbikel.util.AbstractMapToPrimitive
Adds the specified addend to the 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.
add(K, int, byte) - Method in class danbikel.util.AbstractMapToPrimitive
Adds the specified addend to the 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.
add(K, short) - Method in class danbikel.util.AbstractMapToPrimitive
Adds the specified addend to the 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.
add(K, int, short) - Method in class danbikel.util.AbstractMapToPrimitive
Adds the specified addend to the 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.
add(K, int) - Method in class danbikel.util.AbstractMapToPrimitive
Adds the specified addend to the 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.
add(K, int, int) - Method in class danbikel.util.AbstractMapToPrimitive
Adds the specified addend to the 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.
add(K, long) - Method in class danbikel.util.AbstractMapToPrimitive
Adds the specified addend to the 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.
add(K, int, long) - Method in class danbikel.util.AbstractMapToPrimitive
Adds the specified addend to the 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.
add(K, float) - Method in class danbikel.util.AbstractMapToPrimitive
Adds the specified addend to the 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.
add(K, int, float) - Method in class danbikel.util.AbstractMapToPrimitive
Adds the specified addend to the 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.
add(K, double) - Method in class danbikel.util.AbstractMapToPrimitive
Adds the specified addend to the 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.
add(K, int, double) - Method in class danbikel.util.AbstractMapToPrimitive
Adds the specified addend to the 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.
add(byte) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
 
add(int, byte) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
 
add(short) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
 
add(int, short) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
 
add(int) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Increments the int at index 0 by the specified amount.
add(int, int) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Increments the int at the specified index by the specified amount.
add(long) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
 
add(int, long) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
 
add(float) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
 
add(int, float) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
 
add(double) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
 
add(int, double) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
 
add(int, Object) - Method in interface danbikel.util.FixedSizeList
Implementors should simply throw an UnsupportedOperationException.
add(Object) - Method in interface danbikel.util.FixedSizeList
A synonym for FixedSizeList.shift(Object).
add(int, double) - Method in class danbikel.util.HashMapDouble.Entry
Adds the specified amount to the double associated with the key in this entry.
add(int, int) - Method in class danbikel.util.HashMapInt.Entry
Adds the specified amount to the int associated with the key in this entry.
add(K, int, byte) - Method in class danbikel.util.HashMapPrimitive
 
add(K, int, short) - Method in class danbikel.util.HashMapPrimitive
 
add(K, int, int) - Method in class danbikel.util.HashMapPrimitive
 
add(K, int, long) - Method in class danbikel.util.HashMapPrimitive
 
add(K, int, float) - Method in class danbikel.util.HashMapPrimitive
 
add(K, int, double) - Method in class danbikel.util.HashMapPrimitive
 
add(int, double) - Method in class danbikel.util.HashMapTwoDoubles.Entry
Adds the specified amount to the double at the specified index associated with the key in this entry.
add(int, int) - Method in class danbikel.util.HashMapTwoInts.Entry
Adds the specified amount to the int at the specified index associated with the key in this entry.
add(K, byte) - Method in interface danbikel.util.MapToPrimitive
Adds the specified addend to the 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.
add(K, int, byte) - Method in interface danbikel.util.MapToPrimitive
Adds the specified addend to the 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.
add(K, short) - Method in interface danbikel.util.MapToPrimitive
Adds the specified addend to the 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.
add(K, int, short) - Method in interface danbikel.util.MapToPrimitive
Adds the specified addend to the 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.
add(K, int) - Method in interface danbikel.util.MapToPrimitive
Adds the specified addend to the 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.
add(K, int, int) - Method in interface danbikel.util.MapToPrimitive
Adds the specified addend to the 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.
add(K, long) - Method in interface danbikel.util.MapToPrimitive
Adds the specified addend to the 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.
add(K, int, long) - Method in interface danbikel.util.MapToPrimitive
Adds the specified addend to the 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.
add(K, float) - Method in interface danbikel.util.MapToPrimitive
Adds the specified addend to the 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.
add(K, int, float) - Method in interface danbikel.util.MapToPrimitive
Adds the specified addend to the 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.
add(K, double) - Method in interface danbikel.util.MapToPrimitive
Adds the specified addend to the 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.
add(K, int, double) - Method in interface danbikel.util.MapToPrimitive
Adds the specified addend to the 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.
add(byte) - Method in interface danbikel.util.MapToPrimitive.Entry
Increments the byte at index 0 by the specified amount.
add(int, byte) - Method in interface danbikel.util.MapToPrimitive.Entry
Increments the byte at the specified index by the specified amount.
add(short) - Method in interface danbikel.util.MapToPrimitive.Entry
Increments the short at index 0 by the specified amount.
add(int, short) - Method in interface danbikel.util.MapToPrimitive.Entry
Increments the short at the specified index by the specified amount.
add(int) - Method in interface danbikel.util.MapToPrimitive.Entry
Increments the int at index 0 by the specified amount.
add(int, int) - Method in interface danbikel.util.MapToPrimitive.Entry
Increments the int at the specified index by the specified amount.
add(long) - Method in interface danbikel.util.MapToPrimitive.Entry
Increments the long at index 0 by the specified amount.
add(int, long) - Method in interface danbikel.util.MapToPrimitive.Entry
Increments the long at the specified index by the specified amount.
add(float) - Method in interface danbikel.util.MapToPrimitive.Entry
Increments the float at index 0 by the specified amount.
add(int, float) - Method in interface danbikel.util.MapToPrimitive.Entry
Increments the float at the specified index by the specified amount.
add(double) - Method in interface danbikel.util.MapToPrimitive.Entry
Increments the double at index 0 by the specified amount.
add(int, double) - Method in interface danbikel.util.MapToPrimitive.Entry
Increments the double at the specified index by the specified amount.
addAll(SexpList) - Method in class danbikel.lisp.SexpList
Appends all the elements in elementsToAdd to the end of this list.
addAll(int, SexpList) - Method in class danbikel.lisp.SexpList
Adds all the elements in elementsToAdd to this list at the specified index.
addAll(SexpList) - Method in class danbikel.parser.BrokenSubcatBag
Adds each of the symbols of list to this subcat bag, effectively calling BrokenSubcatBag.add(Symbol) for each element of list.
addAll(CountsTable<K>) - Method in interface danbikel.parser.CountsTable
Adds all the counts from the specified table to this table, adding any new keys in the specified map to this map, if necessary.
addAll(CountsTable<K>) - Method in class danbikel.parser.CountsTableImpl
 
addAll(CountsTable) - Method in class danbikel.parser.FileBackedTrainerEventMap
Throws an UnsupportedOperationException, as this is an unmodifiable map.
addAll(SexpList) - Method in interface danbikel.parser.Subcat
Adds the specified list of nonterminals (symbols) to the required arguments of this subcat frame.
addAll(SexpList) - Method in class danbikel.parser.SubcatBag
Adds each of the symbols of list to this subcat bag, effectively calling SubcatBag.add(Symbol) for each element of list.
addAll(SexpList) - Method in class danbikel.parser.SubcatList
Adds the requirements (Symbol objects) of list to this subcat list.
addAll(Collection) - Method in class danbikel.util.AbstractFixedSizeList
 
addAll(int, Collection) - Method in class danbikel.util.AbstractFixedSizeList
 
addAll(Collection) - Method in interface danbikel.util.FixedSizeList
Sets the first n elements of this list to be the elements of the specified collection, where n is the minimum of the size of the collection and the (fixed) size of this list.
addAll(int, Collection) - Method in interface danbikel.util.FixedSizeList
Implementors should simply throw an UnsupportedOperationException.
addArgAugmentation(Symbol, Nonterminal) - Method in class danbikel.parser.lang.AbstractTraining
Adds the default argument augmentation to the specified nonterminal if the specified label is not already an argument.
addAugmentation(Nonterminal, Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
Adds the specified augmentation to the end of the (possibly empty) augmentation list of the specified Nonterminal object.
addAugmentation(Nonterminal, Symbol) - Method in interface danbikel.parser.Treebank
Adds the specified augmentation to the end of the (possibly empty) augmentation list of the specified Nonterminal object.
addBaseNPs(Sexp) - Method in class danbikel.parser.chinese.NoNPBTraining
We override this method from the default implementation so that it does nothing.
addBaseNPs(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Adds and/or relabels base NPs, which are defined in this default implementation to be NPs that do not dominate other non-possessive NPs, where a possessive NP is defined to be an NP that itself dominates a possessive preterminal, as determined by the implementation of the method Treebank.isPossessivePreterminal(Sexp).
addBaseNPs(Sexp) - Method in interface danbikel.parser.Training
Adds and/or relabels base NPs in the specified tree.
addEntryMRU(HashMapPrimitive.Entry) - Method in class danbikel.util.HashMapPrimitive
Adds the specified entry to the beginning of the singly-linked list at its bucket index (indicating it is the most-recently used entry).
AddFakePos - Class in danbikel.parser.util
Reads in a file of gold-standard parsed sentences and a file of machine-parsed sentences, replacing every occurrence of null in the machine-parsed file with the original sentence and then adding fake parts of speech for each word of that original sentence that will not to be deleted by the scorer.
addGapEvent(GapEvent) - Method in class danbikel.parser.Trainer
This method is a synonym for addGapEvent(event, 1.0).
addGapEvent(GapEvent, double) - Method in class danbikel.parser.Trainer
Adds the specified GapEvent to Trainer.gapEvents with the specified count.
addGapInfo - Static variable in class danbikel.parser.lang.AbstractTraining
Caches the boolean value of the property Settings.addGapInfo.
addGapInfo - Static variable in class danbikel.parser.Settings
Property to specify whether Training.addGapInformation(Sexp) threads gap information or simply leaves the training trees untouched.
addGapInformation(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Augments nonterminals to include gap information for WHNP's that have moved and leave traces (gaps), as in the GPSG framework.
addGapInformation(Sexp) - Method in interface danbikel.parser.Training
Augments nonterminals to include gap information for WHNP's that have moved and leave traces (gaps), as in the GPSG framework.
addHeadEvent(HeadEvent) - Method in class danbikel.parser.Trainer
This method is a synonym for addHeadEvent(event, 1.0).
addHeadEvent(HeadEvent, double) - Method in class danbikel.parser.Trainer
Adds the specified HeadEvent to Trainer.headEvents with the specified count.
addHeadInformation(Sexp) - Method in interface danbikel.parser.HeadFinder
Perform head-finding in tree, augmenting nodes that are the head child of their parent by appending HeadFinder.headSuffix().
addHeadInformation(Sexp) - Method in class danbikel.parser.lang.AbstractHeadFinder
Perform head-finding in tree, augmenting nodes that are the head children of their respective parents.
additionalData - Variable in class danbikel.parser.ProbabilityStructure
Handle onto additional data object for this probability structure, whose value is null if no other data is required for the concrete probability structure.
addModifierEvent(ModifierEvent) - Method in class danbikel.parser.Trainer
This method is a synonym for addModifierEvent(event, 1.0).
addModifierEvent(ModifierEvent, double) - Method in class danbikel.parser.Trainer
Adds the specified ModifierEvent to Trainer.modifierEvents with the specified count.
addPretermHeadEvent(EMItem, double, CountsTable) - Method in class danbikel.parser.EMDecoder
Whenever a preterminal is generated, either as a head child or a modifier of some other item, a trivial head-generation event is added, generating the word from the lexicalized preterminal, which by design always generates its head word with probability 1.
addStopProbs(CKYItem, List) - Method in class danbikel.parser.Decoder
Adds stop probabilities to the specified item and adds these items to the chart; as a side effect, all items successfully added to the chart are also stored in the specified itemsAdded list.
addStopProbs(EMItem, List, int) - Method in class danbikel.parser.EMDecoder
 
addSynthesizedTopModEvent(TrainerEvent, double, CountsTable) - Method in class danbikel.parser.EMDecoder
Adds an event as though a tree's non-hidden root is a modifier of +TOP+ (in addition to being a head child).
addToPosMap(Word) - Method in class danbikel.parser.Trainer
Called by Trainer.collectStats(danbikel.lisp.Sexp, danbikel.parser.HeadTreeNode, boolean) and Trainer.alterLowFrequencyWords(HeadTreeNode).
addToPosMap(Symbol, Symbol) - Method in class danbikel.parser.Trainer
Called by Trainer.addToPosMap(Word).
addTopUnaries(int) - Method in class danbikel.parser.Decoder
Adds hiden root nonterminal probabilities.
addTopUnaries(int) - Method in class danbikel.parser.EMDecoder
 
addToValueCounts(Map, Object, Object) - Static method in class danbikel.parser.Trainer
Adds 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.
addToValueCounts(Map, Object, Object, int) - Static method in class danbikel.parser.Trainer
Adds 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.
addToValueSet(Map<K, Set<V>>, K, V) - Static method in class danbikel.parser.util.Util
Adds value to the set that is the vale of key in map; creates this set if a mapping doesn't already exist for key.
addUnaries(CKYItem, List) - Method in class danbikel.parser.Decoder
Finds all possible parent-head (or unary) productions using the root node of the specified chart item as the head, creates new items based on the specified item, multiplying in the parent-head probability.
addUnaries(EMItem, List, int) - Method in class danbikel.parser.EMDecoder
 
addUnariesAndStopProbs(int, int) - Method in class danbikel.parser.Decoder
Finds all possible parent-head (or unary) productions using the root node of each existing chart item within the specified span as the head, creates new items based on these existing items, multiplying in the parent-head probability; then, using these new items, this method also creates additional new items in which stop probabilities have been multiplied; all new items are added to the chart.
addUnariesAndStopProbs(int, int) - Method in class danbikel.parser.EMDecoder
 
alive() - Method in class danbikel.parser.CachingDecoderServer
 
alive() - Method in class danbikel.switchboard.AbstractSwitchboardUser
 
alive() - Method in interface danbikel.switchboard.SwitchboardUser
A simple "ping" method for the switchboard to continually make sure its users are alive.
aliveSynch - Variable in class danbikel.switchboard.AbstractSwitchboardUser
 
aliveTimeout - Variable in class danbikel.switchboard.AbstractSwitchboardUser
 
allPass - Variable in class danbikel.parser.Trainer
An instance of AllPass.
allPass - Static variable in class danbikel.parser.util.DebugChart
 
AllPass - Class in danbikel.util
A trivial filter that lets all objects pass through.
AllPass() - Constructor for class danbikel.util.AllPass
Constructs a new filter that lets all objects pass through.
alterLowFrequencyWords(HeadTreeNode) - Method in class danbikel.parser.Trainer
For every Word in the specified tree, if it occurred less than Trainer.unknownWordThreshold times, then it is modified.
AnalyzeDisns - Class in danbikel.parser
An analysis and debugging class to analyze the probability distributions of all Models in a ModelCollection.
analyzeModWordDisn(ModelCollection, String) - Static method in class danbikel.parser.AnalyzeDisns
A debugging method for analyzing a particular event in the modifier word model.
antecedentPairs - Variable in class danbikel.parser.EMItem
A list of antecedent pairs for this item.
antecedentPairs() - Method in class danbikel.parser.EMItem
Gets the antecedent pairs for this item.
argAugmentations - Variable in class danbikel.parser.lang.AbstractTraining
A list representing the set of all argument augmentations.
argContexts - Variable in class danbikel.parser.lang.AbstractTraining
Data member used to store the map required by the default implementation of the method AbstractTraining.identifyArguments(Sexp).
argContextsSym - Static variable in class danbikel.parser.lang.AbstractTraining
The symbol to indicate the list of argument-finding rules from a metadata resource.
argNonterminals - Static variable in class danbikel.parser.lang.AbstractTraining
Static set for storing argument nonterminals.
argNonterminals() - Method in class danbikel.parser.lang.AbstractTraining
Returns a static set of possible argument nonterminals.
argNonterminals() - Method in interface danbikel.parser.Training
Returns a static set of possible argument nonterminals.
augmentationDelimiters() - Method in class danbikel.parser.arabic.Treebank
Returns a string of the three characters that serve as augmentation delimiters in the Penn Arabic Treebank: "-+".
augmentationDelimiters() - Method in class danbikel.parser.chinese.Treebank
Returns a string of the three characters that serve as augmentation delimiters in the Chinese Treebank: "-=|".
augmentationDelimiters() - Method in class danbikel.parser.english.BrokenTreebank
Returns a string of the three characters that serve as augmentation delimiters in the Penn Treebank: "-=|".
augmentationDelimiters() - Method in class danbikel.parser.english.Treebank
Returns a string of the three characters that serve as augmentation delimiters in the Penn Treebank: "-=|".
augmentationDelimiters() - Method in class danbikel.parser.lang.AbstractTreebank
Returns a string whose characters are the set of delimiters for complex nonterminal labels.
augmentationDelimiters() - Method in interface danbikel.parser.Treebank
Returns a string whose characters are the set of delimiters for complex nonterminal labels.
augmentationDelimSet - Variable in class danbikel.parser.lang.AbstractTreebank
A BitSet indexed by character (that is, whose size is Character.MAX_VALUE), where for each character c of the string returned by AbstractTreebank.augmentationDelimiters(), augmentationDelimSet.get(c) returns true.
augmentations - Variable in class danbikel.parser.Nonterminal
A list of symbols representing any augmentations and delimiters.

B

backOffMap - Variable in class danbikel.parser.Model
A set of Model.numLevels - 1 maps, where map i is a map from back-off level i transitions to i + 1 transitions.
base - Variable in class danbikel.parser.Nonterminal
The unaugmented base nonterminal.
baseNP - Variable in class danbikel.parser.lang.AbstractTraining
The value of Treebank.baseNPLabel(), cached for efficiency and convenience.
BaseNPAwareShifter - Class in danbikel.parser
An implementation of the Shift interface that does not shift punctuation into the history when the current parent node label is that of a base NP.
BaseNPAwareShifter() - Constructor for class danbikel.parser.BaseNPAwareShifter
Constructs an instance of this base NP–aware shifter.
baseNPLabel() - Method in class danbikel.parser.arabic.Treebank
Returns the symbol with which AbstractTraining.addBaseNPs(Sexp) will relabel base NPs.
baseNPLabel() - Method in class danbikel.parser.chinese.Treebank
Returns the symbol with which AbstractTraining.addBaseNPs(Sexp) will relabel base NPs.
baseNPLabel() - Method in class danbikel.parser.english.BrokenTreebank
Returns the symbol with which AbstractTraining.addBaseNPs(Sexp) will relabel base NPs.
baseNPLabel() - Method in class danbikel.parser.english.Treebank
Returns the symbol with which AbstractTraining.addBaseNPs(Sexp) will relabel base NPs.
baseNPLabel() - Method in class danbikel.parser.lang.AbstractTreebank
Returns the symbol with which Training.addBaseNPs(Sexp) will relabel core NPs.
baseNPLabel() - Method in interface danbikel.parser.Treebank
Returns the symbol with which Training.addBaseNPs(Sexp) will relabel core NPs.
baseNPsCannotContainVerbs - Static variable in class danbikel.parser.CKYItem
The value of the Settings.baseNPsCannotContainVerbs setting.
baseNPsCannotContainVerbs - Static variable in class danbikel.parser.Settings
The property to specify whether the containsVerb predicate should have an additional base case where it should simply return false for NPB nodes.
become(Subcat) - Method in class danbikel.parser.BrokenSubcatBag
 
become(Subcat) - Method in interface danbikel.parser.Subcat
Causes this subcat to be equal to the specified subcat by copying the specified subcat's data to this subcat.
become(Subcat) - Method in class danbikel.parser.SubcatBag
 
become(Subcat) - Method in class danbikel.parser.SubcatList
 
beQuiet() - Method in class danbikel.parser.Model
Causes this class not to output anything to System.err during the invocation of its methods, such as Model.deriveCounts(CountsTable,Filter,double,FlexibleMap).
beVerbose() - Method in class danbikel.parser.Model
Causes this class to be verbose in its output to System.err during the invocation of its methods, such as Model.deriveCounts(CountsTable,Filter,double,FlexibleMap).
BiCountsTable<K> - Class in danbikel.parser
Provides a mapping between objects and two floating-point (double) values that may be incremented or decremented.
BiCountsTable() - Constructor for class danbikel.parser.BiCountsTable
Constructs an empty BiCountsTable.
BiCountsTable(int) - Constructor for class danbikel.parser.BiCountsTable
Constructs an empty BiCountsTable with the specified initial number of hash buckets.
BiCountsTable(int, float) - Constructor for class danbikel.parser.BiCountsTable
Constructs an empty BiCountsTable with the specified initial number of hash buckets and the specified load factor.
bind(Properties, String) - Method in class danbikel.switchboard.Switchboard
Sets the specified settings and langauge encoding and then exports this switchboard and binds it to the bootstrap RMI registry.
booleanToSym(boolean) - Static method in class danbikel.parser.Constants
Converts a boolean value into a symbol representation.
BrokenHeadFinder - 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).
BrokenHeadFinder() - Constructor for class danbikel.parser.english.BrokenHeadFinder
Constructs an English head-finding object, getting the name of the head table from the value of Settings.get(Settings.headTablePrefix + Language.getLanguage()).
BrokenHeadFinder(Sexp) - Constructor for class danbikel.parser.english.BrokenHeadFinder
Constructs an English head-finding object with the specified head table.
BrokenLeftSubcatModelStructure - Class in danbikel.parser.ms
Provides the complete back-off structure of the subcat-generation model for the left side of the head child.
BrokenLeftSubcatModelStructure() - Constructor for class danbikel.parser.ms.BrokenLeftSubcatModelStructure
Constructs a new BrokenLeftSubcatModelStructure instance.
BrokenLexPriorModelStructure - Class in danbikel.parser.ms
Provides the complete back-off structure for the submodel that generates the marginal probabilities of lexical items and their parts of speech (loosely but inaccurately called “lexical priors”).
BrokenLexPriorModelStructure() - Constructor for class danbikel.parser.ms.BrokenLexPriorModelStructure
Constructs a new instance.
BrokenModWordModelStructure - Class in danbikel.parser.ms
Provides the complete back-off structure for the submodel that generates the head words of modifying nonterminals.
BrokenModWordModelStructure() - Constructor for class danbikel.parser.ms.BrokenModWordModelStructure
Constructs a new instance.
BrokenRightSubcatModelStructure - Class in danbikel.parser.ms
Provides the complete back-off structure of the subcat-generation model for the right side of the head child.
BrokenRightSubcatModelStructure() - Constructor for class danbikel.parser.ms.BrokenRightSubcatModelStructure
Constructs a new BrokenRightSubcatModelStructure instance.
BrokenSubcatBag - Class in danbikel.parser
A “broken” version of SubcatBag that precisely reflects the details specified in Collins’ thesis (used for “clean-room” implementation).
BrokenSubcatBag() - Constructor for class danbikel.parser.BrokenSubcatBag
Constructs an empty subcat.
BrokenSubcatBag(SexpList) - Constructor for class danbikel.parser.BrokenSubcatBag
Constructs a subcat bag containing the number of occurrences of the symbols of list.
BrokenSubcatBagFactory - Class in danbikel.parser
A factory for creating BrokenSubcatBag objects.
BrokenSubcatBagFactory() - Constructor for class danbikel.parser.BrokenSubcatBagFactory
Constructs a new SubcatBagFactory.
BrokenTopLexModelStructure - Class in danbikel.parser.ms
 
BrokenTopLexModelStructure() - Constructor for class danbikel.parser.ms.BrokenTopLexModelStructure
 
BrokenTraining - Class in danbikel.parser.english
Provides methods for language-specific processing of training parse trees.
BrokenTraining() - Constructor for class danbikel.parser.english.BrokenTraining
The default constructor, to be invoked by Language.
BrokenTreebank - Class in danbikel.parser.english
Provides data and methods speciifc to the structures found in the English Treebank (the Penn Treebank) or any other treebank that conforms to the Treebank II annotation guidelines for part-of-speech tagging and bracketing.
BrokenTreebank() - Constructor for class danbikel.parser.english.BrokenTreebank
Constructs an English Treebank object.
BUCKET_LRU - Static variable in class danbikel.parser.ProbabilityCache
Integer to indicate to delete the least-recently used entry in the same bucket as an entry being added after the size limit of this cache has been reached or exceeded.
buildConstraintSet(Sexp) - Method in class danbikel.parser.constraints.LexTreeConstraintSet
Builds the constraint tree from a lexicalized version of the specified unlexicalized parse tree (exicalization performed by the current head finder).
buildConstraintSet(Sexp) - Method in class danbikel.parser.constraints.PartialLexTreeConstraintSet
Builds the constraint tree from the specified unlexicalized parse tree.
buildConstraintSet(Sexp) - Method in class danbikel.parser.constraints.PartialTreeConstraintSet
Builds the constraint tree from the specified unlexicalized parse tree.
buildConstraintSet(Sexp) - Method in class danbikel.parser.constraints.UnlexTreeConstraintSet
Builds the constraint tree from the specified unlexicalized parse tree.

C

cache - Variable in class danbikel.parser.CachingDecoderServer
The cache used for storing probabilities.
cache - Variable in class danbikel.parser.Model
A cache of probability estimates at the various back-off levels of this model, used when Model.precomputeProbs is false.
cacheAccesses - Variable in class danbikel.parser.Model
Records the number of cache accesses for each back-off level of this model.
cacheHits - Variable in class danbikel.parser.Model
Records the number of cache hits for each back-off level of this mdoel.
cacheSize(int) - Method in class danbikel.parser.ProbabilityStructure
Returns the recommended cache size for the specified back-off level of the model that uses this probability structure.
CachingDecoderServer - Class in danbikel.parser
A wrapper object for a DecoderServerRemote instance that provides probability caching.
CachingDecoderServer(DecoderServerRemote) - Constructor for class danbikel.parser.CachingDecoderServer
Constructs a new instance around the specified stub.
callGCAfterReadingObject - Static variable in class danbikel.parser.ModelCollection
Indicates whether to invoke System.gc() after this object has been de-serialized from a stream.
canonicalAugDelimiter() - Method in class danbikel.parser.lang.AbstractTreebank
Returns the first character of the string returned by 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).
canonicalAugDelimiter() - Method in interface danbikel.parser.Treebank
Returns the first character of the string returned by 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).
canonicalAugDelimSym - Variable in class danbikel.parser.lang.AbstractTraining
A Symbol created from the first character of Treebank.augmentationDelimiters().
canonicalAugDelimSym - Variable in class danbikel.parser.lang.AbstractTreebank
A Symbol created from the first character of Treebank.augmentationDelimiters().
canonicalEvents - Variable in class danbikel.parser.Model
A reflexive map of canonical Event objects to save memory in the various tables of this model that store such Event objects.
canonicalEvents - Variable in class danbikel.parser.ModelCollection
The reflexive map used to canonicalize objects created when deriving counts for all models in this model collection.
canonicalEvents() - Method in class danbikel.parser.ModelCollection
Returns the reflexive map used to canonicalize objects created when deriving counts for all models in this model collection.
canonicalize(Map) - Method in class danbikel.parser.BrokenSubcatBag
This method does nothing and returns -1, as no internal data to this class can be canonicalized.
canonicalize(Map) - Method in interface danbikel.parser.Event
Since events are typically read-only, this method will allow for canonicalization (or "unique-ifying") of the information contained in this event.
canonicalize(FlexibleMap) - Method in class danbikel.parser.JointModel
Canonicalizes the objects of this Model, as well as all internal Model instances.
canonicalize() - Method in class danbikel.parser.Model
Since events are typically read-only, this method will allow for canonicalization (or "unique-ifying") of the information contained in the events contained in this object.
canonicalize(FlexibleMap) - Method in class danbikel.parser.Model
Since events are typically read-only, this method will allow for canonicalization (or "unique-ifying") of the information contained in the events contained in this object using the specified map.
canonicalize(Map) - Method in class danbikel.parser.SexpEvent
Since events are typically read-only, this method will allow for canonicalization (or "unique-ifying") of the information contained in this event.
canonicalize(Map) - Method in class danbikel.parser.SexpSubcatEvent
Canonicalizes the backing Sexp and Subcat components of this event using the specified reflexive map.
canonicalize(Map) - Method in class danbikel.parser.SubcatBag
This method does nothing and returns -1, as no internal data to this class can be canonicalized.
canonicalize(Map) - Method in class danbikel.parser.SubcatList
This method does nothing and returns -1, as no internal data to this class can be canonicalized.
canonicalizeEvent(Event, FlexibleMap) - Static method in class danbikel.parser.Model
This method first canonicalizes the information in the specified event (a Sexp or a Subcat and a Sexp), then it returns a canonical version of the event itself, copying it into the map if necessary.
canonicalizeNonterminals(Sexp) - Method in class danbikel.parser.arabic.Training
For arabic, we do not want to transform preterminals (parts of speech) to their canonical forms, so this method is overridden.
canonicalizeNonterminals(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Modifies each nonterminal in the specified tree to be its canonical version.
canonicalPrevModLists - Variable in class danbikel.parser.Decoder
A reflexive map in which to store canonical versions of SexpList objects that represent unlexicalized previous modifier lists.
canonicalSubcatMap - Variable in class danbikel.parser.Trainer
A reflexive map for storing canonical versions of Subcat objects.
canonicalWords - Variable in class danbikel.parser.Decoder
A reflexive map of Word objects, for getting a canonical version.
capacity() - Method in class danbikel.util.ObjectBank
 
capacity() - Method in class danbikel.util.ObjectPool
 
caseMarkers - Static variable in class danbikel.parser.arabic.Training
An array of case markers in Arabic Treebank part-of-speech tags.
cellLimit - Variable in class danbikel.parser.Chart
The maximum number of items allowed in a cell (span) of this chart.
cellLimit - Variable in class danbikel.parser.Decoder
The cell limit for the parsing chart (stored here for debugging).
cellLimitShouldApplyTo(Item) - Method in class danbikel.parser.Chart
Returns true if cell limiting should apply to the specified item.
cellLimitShouldApplyTo(Item) - Method in class danbikel.parser.CKYChart
Returns true if the specified item has received its stop probabilities (that is, if item.stop() == true).
Chart - Class in danbikel.parser
Provides the skeletal infrastructure for a chart indexed by start and end words, as well as by arbitrary labels taken from the chart items.
Chart() - Constructor for class danbikel.parser.Chart
Constructs a new chart with the default chart size.
Chart(int) - Constructor for class danbikel.parser.Chart
Constructs a new chart with the specified chart size.
Chart(int, double) - Constructor for class danbikel.parser.Chart
Constructs a new chart with a default initial chart size, and with the specified cell limit and prune factor.
Chart(int, int, double) - Constructor for class danbikel.parser.Chart
Constructs a new chart with the specified initial chart size, cell limit and prune factor.
chart - Variable in class danbikel.parser.Chart
A chart is a two-dimensional array of maps, each of which maps Item objects to their logProbs.
chart - Variable in class danbikel.parser.Decoder
The parsing chart.
chart - Variable in class danbikel.parser.EMDecoder
The parsing chart.
Chart.Entry - Class in danbikel.parser
Contains all information and items covering a particular span.
chartItemClass - Static variable in class danbikel.parser.Settings
The property to specify the fully-qualified name of the subclass of Item to be used for chart items.
checkSettings(Properties) - Static method in class danbikel.parser.Parser
Checks the specified settings and issues warnings to System.err when a current setting differs.
checkSexp(Sexp) - Method in class danbikel.parser.Word
Checks that the S-expression passed to Word.Word(Sexp) is the right format.
children(boolean) - Method in class danbikel.parser.CKYItem
Returns the modifier (children) list of the specified side of this item's head child, or null if the specified side has no modifiers.
children - Variable in class danbikel.parser.constraints.PartialTreeConstraint
All child constraints of this constraint.
children - Variable in class danbikel.parser.constraints.UnlexTreeConstraint
The children of this constraint.
CKYChart - Class in danbikel.parser
Implementation of a chart for probabilistic Cocke-Kasami-Younger (CKY) parsing.
CKYChart() - Constructor for class danbikel.parser.CKYChart
Constructs a new chart with the default chart size.
CKYChart(int) - Constructor for class danbikel.parser.CKYChart
Constructs a new chart with the specified chart size.
CKYChart(int, double) - Constructor for class danbikel.parser.CKYChart
Constructs a new chart with a default initial chart size, and with the specified cell limit and prune factor.
CKYChart(int, int, double) - Constructor for class danbikel.parser.CKYChart
Constructs a new chart with the specified initial chart size, cell limit and prune factor.
CKYItem - Class in danbikel.parser
An item in a CKYChart for use when parsing via a probabilistic version of the CKY algorithm.
CKYItem() - Constructor for class danbikel.parser.CKYItem
Default constructor.
CKYItem(Symbol, Word, Subcat, Subcat, CKYItem, SLNode, SLNode, SexpList, SexpList, int, int, boolean, boolean, boolean, double, double, double) - Constructor for class danbikel.parser.CKYItem
Constructs a CKY chart item with the specified data.
CKYItem.BaseNPAware - Class in danbikel.parser
A base NP–aware version of 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.
CKYItem.BaseNPAware() - Constructor for class danbikel.parser.CKYItem.BaseNPAware
 
CKYItem.KBestHack - Class in danbikel.parser
A hack to approximate k-best parsing by effectively turning off dynamic programming (usability depends on reducing the beam size from its normal value).
CKYItem.KBestHack() - Constructor for class danbikel.parser.CKYItem.KBestHack
 
CKYItem.MappedPrevModBaseNPAware - Class in danbikel.parser
Overrides 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).
CKYItem.MappedPrevModBaseNPAware() - Constructor for class danbikel.parser.CKYItem.MappedPrevModBaseNPAware
 
CKYItem.PrevModIsStart - Class in danbikel.parser
Overrides equals and hashCode methods to take the last previous modifier into account only insofar as its equality to the initial Training.startSym() modifier.
CKYItem.PrevModIsStart() - Constructor for class danbikel.parser.CKYItem.PrevModIsStart
 
className - Variable in class danbikel.switchboard.AbstractSwitchboardUser
The name of the runtime type of the subclass, cached here in this abstract class' constructor for convenience.
clean() - Static method in class danbikel.lisp.Symbol
Cleans the internal symbol map by removing all symbols to which there are no hard or soft references.
cleanup() - Method in class danbikel.parser.Model
A method invoked after probabilities have been precomputed by 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).
cleanup() - Method in class danbikel.switchboard.AbstractClient
 
cleanup() - Method in class danbikel.switchboard.AbstractSwitchboardUser
Does nothing; called by the default implementation of AbstractSwitchboardUser.unexportWhenDead().
cleanup() - Method in class danbikel.switchboard.Switchboard
Cleans up by telling all switchboard users to die, since object processing is complete.
cleanupWhenAllFilesAreDone() - Method in class danbikel.switchboard.Switchboard
 
clear() - Method in class danbikel.lisp.SexpList
Removes all elements from this list.
clear() - Method in class danbikel.parser.BrokenSubcatBag
This method sets all counts of this subcat bag to zero.
clear() - Method in class danbikel.parser.Chart
Checks every map of the chart covering a span less than or equal to size and clears it; if a chart entry is null, then a new map is created.
clear() - Method in class danbikel.parser.CKYItem
Sets the number of parses represented by this chart item to 1.
clear() - Method in class danbikel.parser.EMChart
Checks every map of the chart covering a span less than or equal to size and clears it; if a chart entry is null, then a new map is created.
clear() - Method in class danbikel.parser.EMItem
Clears all chart-related data in this item (most of the data members do not need to be cleared, as they are expressly set by the decoder).
clear() - Method in class danbikel.parser.Item
Clears data members of this item before reclamation (called by Chart.reclaimItem(Item)).
clear() - Method in interface danbikel.parser.MutableEvent
Clears all components from this event.
clear() - Method in class danbikel.parser.SexpEvent
Clears the data stored in this complex event object.
clear() - Method in class danbikel.parser.SexpSubcatEvent
 
clear() - Method in class danbikel.parser.SubcatBag
This method sets all counts of this subcat bag to zero.
clear() - Method in interface danbikel.util.FixedSizeList
Sets all elements of this list to null.
clear() - Method in class danbikel.util.HashMap
 
CLEAR_ALL - Static variable in class danbikel.parser.ProbabilityCache
Integer to indicate to delete all of the elements every time the size limit of this cache has been reached or exceeded.
clearEventCounters() - Method in class danbikel.parser.Trainer
Clears the Trainer.priorEvents, Trainer.headEvents, Trainer.modifierEvents and Trainer.gapEvents counts tables.
clearNonPreterminals() - Method in class danbikel.parser.CKYChart
Used by the decoder when it abandons a parse forest for a given sentence and is about to try again with a larger beam (beam-widening).
Client - Interface in danbikel.switchboard
A semantic marker for SwitchboardUser implementors that are clients; also, specifies client-specific methods for the switchboard to use.
clientDeathUponSwitchboardDeath - Static variable in class danbikel.parser.Settings
The property to specify whether parsing clients should commit suicide when they have detected that the Switchboard has died.
clientDisableHttp - Static variable in interface danbikel.switchboard.SwitchboardRemote
 
clientNextObjectInterval - Static variable in interface danbikel.switchboard.SwitchboardRemote
The property to specify the interval, in milliseconds, between client requests for an object to process, after SwitchboardRemote.nextObject(int) returns null.
clientPolicyFile - Static variable in interface danbikel.switchboard.SwitchboardRemote
 
clone() - Method in class danbikel.parser.GapEvent
Returns a deep copy of this object.
clone() - Method in class danbikel.parser.HeadEvent
Returns a deep copy of this object.
clone() - Method in class danbikel.parser.ModifierEvent
Returns a deep copy of this object.
clone() - Method in class danbikel.parser.PriorEvent
Returns a deep copy of this object.
clone() - Method in class danbikel.parser.Word
Returns a clone of this object, which is effectively a deep copy, since all data members of unique Symbol references.
clone() - Method in class danbikel.util.HashMapDouble.Entry
 
clone() - Method in class danbikel.util.HashMapInt.Entry
 
clone() - Method in class danbikel.util.HashMapPrimitive.Entry
Returns a new copy of this type of map entry.
clone() - Method in class danbikel.util.HashMapTwoDoubles.Entry
 
clone() - Method in class danbikel.util.HashMapTwoInts.Entry
 
close() - Method in class danbikel.lisp.WordTokenizer
Closes the underlying stream.
close() - Method in class danbikel.parser.SexpNumberedObjectReader
Closes the underlying S-expression reader.
close() - Method in class danbikel.parser.SexpObjectReader
Closes the underlying stream for this reader.
close() - Method in interface danbikel.switchboard.ObjectReader
Closes the underlying stream or Reader of this ObjectReader object.
close() - Method in interface danbikel.switchboard.ObjectWriter
Closes the underlying stream or Writer of this ObjectWriter object.
collectBest(CKYItem) - Static method in class danbikel.parser.util.DebugChart
 
collectLeaves(Sexp) - Static method in class danbikel.parser.util.Util
Returns a SexpList that contains all the leaves of the specified parse tree.
collectModifierStats(HeadTreeNode, Subcat, int, boolean) - Method in class danbikel.parser.Trainer
Note the O(n) operation performed on the prevModList.
collectNodes(PartialTreeConstraint) - Method in class danbikel.parser.constraints.PartialTreeConstraintSet
Collects the constraints in the specified tree of constraint objects.
collectNodes(UnlexTreeConstraint) - Method in class danbikel.parser.constraints.UnlexTreeConstraintSet
A helper method to collect all of the constraints in the specified cosntraint tree.
collectNonterminals(CountsTable, Sexp, boolean) - Static method in class danbikel.parser.util.Util
Adds the nonterminals in the specified tree to the specified set.
collectPreterms(Set, Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Adds all preterminal subtrees to the specified set.
collectStats(Sexp, HeadTreeNode, boolean) - Method in class danbikel.parser.Trainer
Collects the statistics from the specified tree.
collectTaggedWords(Sexp) - Static method in class danbikel.parser.util.Util
Returns a 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)).
collectTags(CountsTable, Sexp) - Static method in class danbikel.parser.util.Util
Adds the part of speech tags in the specified tree to the specified set.
collectWordObjects(Sexp) - Static method in class danbikel.parser.util.Util
 
Collins - Class in danbikel.parser
Provides a nonterminal mapping scheme that, when applied to previously-generated modifiers, allows for emulation of Michael Collins' modifier-generation model.
Collins() - Constructor for class danbikel.parser.Collins
 
collinsDeficientEstimation - Static variable in class danbikel.parser.Settings
The property to specify whether to perform deficient estimation of probabilities (as per Mike Collins' bug in his thesis parser).
collinsNPPruneHack - Static variable in class danbikel.parser.Settings
The property to specify whether the chart should add 3 in natural log-space to the beam width for chart items whose root labels are either NP or NP-A, as is done by Collins' parser.
collinsRelabelHeadChildrenAsArgs - Static variable in class danbikel.parser.Settings
The property to specify whether Training.identifyArguments(Sexp) should relabel head children as arguments.
collinsRepairBaseNPs - Static variable in class danbikel.parser.Settings
The property to specify whether Training.repairBaseNPs(Sexp) alters the training tree or leaves it untouched.
collinsSkipWSJSentences - Static variable in class danbikel.parser.Settings
The property to specify whether certain sentences are skipped during training on sections 02 through 21 of the Penn Treebank Wall Street Journal corpus in order to mimic Mike Collins' trainer on this now-standard training corpus.
combineRightSiblingsOfDe5(Sexp) - Method in class danbikel.parser.chinese.Training
A method to create a new node if a DEG or DEC preterminal has more than one right sibling.
commaConstraintViolation(int, int, int) - Method in class danbikel.parser.Decoder
There is a comma contraint violation if the word at the split point is a comma and there exists a word following end and that word is not a comma and when it is not the case that the word at end is not a conunction.
commaForPruning - Variable in class danbikel.parser.Decoder
A reusable array for storing which words are considered commas for the comma-pruning constraint.
commentChar(int) - Method in class danbikel.lisp.WordTokenizer
Specifies a character to be treated as the start of a comment on the current line.
compareTo(Object) - Method in class danbikel.parser.Item
Compares this item's log-probability score with that of the specified object, which must also be an instance of Item.
compareTo(Object) - Method in class danbikel.switchboard.NumberedObject
This allows ordering of objects by their number.
compareTo(Object) - Method in class danbikel.util.IntCounter
 
complete(int, int) - Method in class danbikel.parser.Decoder
Constructs all possible items spanning the specified indices and adds them to the chart.
complete(int, int) - Method in class danbikel.parser.EMDecoder
 
computeEntropyAndJSStats(Model, CountsTable[], BiCountsTable[]) - Static method in class danbikel.parser.AnalyzeDisns
A method invoked by Model when Settings.modelDoPruning is true: entropy values and JS divergence values are used in the parameter-pruning method.
computeEventCounts() - Method in class danbikel.parser.EMDecoder
Returns a counts table with the expected couunt of all top-level events produced when constrain-parsing the current sentence.
computeEventCounts(int, int, double, CountsTable) - Method in class danbikel.parser.EMDecoder
Computes expected counts for top-level (maximal context) events produced for the specified span when decoding the current sentence; stores these events and their expected counts in the specified CountsTable object.
computeHistoriesAndTransitionsToPrune() - Method in class danbikel.parser.Model
Schedule for pruning every history and transition whose MLE is equal to that of back-off level's transition.
computeModelEntropies(Model) - Static method in class danbikel.parser.AnalyzeDisns
A method to compute a model's entropy statistics for all estimated distributions.
computeModelEntropies(Model, CountsTable[]) - Static method in class danbikel.parser.AnalyzeDisns
A method to compute a model's entropy statistics for all estimated distributions.
computeOutsideProbs() - Method in class danbikel.parser.EMDecoder
Computes outside probabilities for the entire chart.
computeOutsideProbs(int, int) - Method in class danbikel.parser.EMDecoder
Computes outside probabilities for all derivations in the specified span.
conjForPruning - Variable in class danbikel.parser.Decoder
A reusable array for storing which words are considered conjunctions for the conjunction-pruning constraint.
conjSym - Static variable in class danbikel.parser.Collins
The conjunction equivalence class.
Constants - Class in danbikel.parser
Contains static constants for use by this package.
constraint - Variable in class danbikel.parser.CKYItem
The constraint associated with this chart item.
Constraint - Interface in danbikel.parser.constraints
Specifies methods to check a chart item's satisfaction or violation of a parsing constraint.
constraints - Variable in class danbikel.parser.Decoder
Caches the ConstraintSet, if any, for the current sentence.
constraintSatisfying(Item) - Method in interface danbikel.parser.constraints.ConstraintSet
Returns the first constraint in this set that is found that the specified item satisfies.
constraintSatisfying(Item) - Method in class danbikel.parser.constraints.PartialTreeConstraintSet
 
constraintSatisfying(Item) - Method in class danbikel.parser.constraints.UnlexTreeConstraintSet
 
ConstraintSet - Interface in danbikel.parser.constraints
Specifies methods for searching a set of parsing constraints either for satisfaction or violation of a particular chart item, as well as predicates describing properties of a constraint set and other methods to access various distinguished constraints in a set.
ConstraintSetFactory - Interface in danbikel.parser.constraints
Specification for a ConstraintSet object factory, to be used by the ConstraintSets static factory class.
constraintSetFactoryClass - Static variable in class danbikel.parser.Settings
The property to specify the fully-qualified classname of the ConstraintSetFactory object to be used by the ConstraintSets static class.
ConstraintSets - Class in danbikel.parser.constraints
Static factory for ConstraintSet objects.
constructPreterminal(Word) - Method in class danbikel.parser.lang.AbstractTreebank
Converts a Word object into a preterminal subtree.
constructPreterminal(Word) - Method in interface danbikel.parser.Treebank
Converts a Word object into a preterminal subtree.
consume(NumberedObject) - Method in class danbikel.parser.EventCountsConsumer
 
consume(NumberedObject) - Method in interface danbikel.switchboard.Consumer
Tells this consumer to consume the specified object that has been processed by one of the switchboard's clients.
consumeForDumper(NumberedObject) - Method in class danbikel.parser.EventCountsConsumer
A helper method used by EventCountsConsumer.consume(NumberedObject) to perform consumption of objects that are periodicially written to an output file by a separate “dumper” thread.
Consumer - Interface in danbikel.switchboard
Specification for a consumer of objects that have already been processed by switchboard clients, allowing arbitrary post-processing in a distributed object-processing run involving a switchboard.
contains(Sexp) - Method in class danbikel.lisp.SexpList
Returns whether the specified S-expression is an element of this list.
contains(StringBuffer, String[], IntCounter) - Method in class danbikel.parser.arabic.Training
Helper method used by TagMap.transformTag(Word).
contains(Symbol) - Method in class danbikel.parser.BrokenSubcatBag
 
contains(Symbol) - Method in interface danbikel.parser.Subcat
Returns true if this subcat frame contains the specified requirement.
contains(Symbol) - Method in class danbikel.parser.SubcatBag
 
contains(Symbol) - Method in class danbikel.parser.SubcatList
 
containsAugmentation(Symbol, Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
Provides an efficient, thread-safe method for testing whether the specified nonterminal contains the specified augmentation (without parsing the nonterminal).
containsAugmentation(Symbol, Symbol) - Method in interface danbikel.parser.Treebank
Provides an efficient, thread-safe method for testing whether the specified nonterminal contains the specified augmentation (without parsing the nonterminal).
containsKey(Object) - Method in class danbikel.parser.ProbabilityCache
 
containsKey(Object) - Method in class danbikel.util.HashMap
 
containsKey(Object) - Method in class danbikel.util.HashMapPrimitive
 
containsVerb - Variable in class danbikel.parser.CKYItem
The cached value of the result of the CKYItem.containsVerb() method invoked on this chart item, initially set to CKYItem.containsVerbUndefined.
containsVerb() - Method in class danbikel.parser.CKYItem
Returns whether a verb has been generated anywhere in the surface string in the set of derivations of this chart item.
containsVerb() - Method in class danbikel.parser.HeadTreeNode
Indicates whether this subtree contains a verb.
containsVerbFalse - Static variable in class danbikel.parser.CKYItem
One of three possible cached values of this item's “contains verb” status, indicating that the method 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).
containsVerbRecursive() - Method in class danbikel.parser.CKYItem
A helper method for CKYItem.containsVerb() that returns whether a verb has been generated anywhere in the surface string of the derivations of this chart item.
containsVerbTrue - Static variable in class danbikel.parser.CKYItem
One of three possible cached values of this item's “contains verb” status, indicating that the method CKYItem.containsVerb() has been invoked on this item and its value is true (i.e., this item has a derivation dominating a verb).
containsVerbUndefined - Static variable in class danbikel.parser.CKYItem
One of three possible cached values of this item's “contains verb” status, indicating that the method CKYItem.containsVerb() has not yet been invoked on this item.
convertHeadToParentMap() - Method in class danbikel.parser.Decoder
Converts the values of the read-only Decoder.headToParentMap from Set objects to arrays of Symbol, that is, arrays of type Symbol[].
convertSubcatMap(Map) - Method in class danbikel.parser.Decoder
Helper method used by Decoder.convertSubcatMaps().
convertSubcatMaps() - Method in class danbikel.parser.Decoder
This helper method used by constructor converts the values of the subcat maps from Set objects (containing Subcat objects) to Subcat arrays, that is, objects of type Subcat[].
convertUnknownWord(Symbol, int) - Method in class danbikel.parser.CachingDecoderServer
Returns either the specified word untouched, or a 3-element list as would be created by CachingDecoderServer.convertUnknownWords(SexpList).
convertUnknownWord(Symbol, int) - Method in class danbikel.parser.DecoderServer
 
convertUnknownWord(Symbol, int) - Method in interface danbikel.parser.DecoderServerRemote
Returns either the specified word untouched, or a 3-element list as would be created by DecoderServerRemote.convertUnknownWords(SexpList).
convertUnknownWords(SexpList) - Method in class danbikel.parser.CachingDecoderServer
Replaces all unknown words in the specified sentence with three-element lists, where the first element is the word itself, the second element is a word-feature vector, as determined by the implementation of 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.
convertUnknownWords(SexpList) - Method in class danbikel.parser.DecoderServer
Replaces all unknown words in the specified sentence with three-element lists, where the first element is the word itself, the second element is a word-feature vector, as determined by the implementation of 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.
convertUnknownWords(SexpList) - Method in interface danbikel.parser.DecoderServerRemote
Replaces all unknown words in the specified sentence with three-element lists.
convertUnknownWords(Sexp, IntCounter) - Method in class danbikel.parser.Parser
Converts certain words (leaves) in the specified tree to their associated word-feature vectors.
copy() - Method in class danbikel.parser.BrokenSubcatBag
Returns a deep copy of this subcat bag.
copy() - Method in interface danbikel.parser.Event
Returns a deep copy of this event of the same run-time type.
copy() - Method in class danbikel.parser.GapEvent
Returns a deep copy of this object.
copy() - Method in class danbikel.parser.HeadEvent
Returns a deep copy of this object.
copy() - Method in class danbikel.parser.ModifierEvent
Returns a deep copy of this object.
copy() - Method in class danbikel.parser.ms.BrokenLeftSubcatModelStructure
Returns a copy of this object.
copy() - Method in class danbikel.parser.ms.BrokenLexPriorModelStructure
Returns a copy of this instance.
copy() - Method in class danbikel.parser.ms.BrokenModWordModelStructure
Returns a copy of this object.
copy() - Method in class danbikel.parser.ms.BrokenRightSubcatModelStructure
Returns a copy of this object.
copy() - Method in class danbikel.parser.ms.BrokenTopLexModelStructure
 
copy() - Method in class danbikel.parser.ms.GapModelStructure1
 
copy() - Method in class danbikel.parser.ms.HeadModelStructure1
 
copy() - Method in class danbikel.parser.ms.LeftSubcatModelStructure1
 
copy() - Method in class danbikel.parser.ms.LeftSubcatModelStructure2
 
copy() - Method in class danbikel.parser.ms.LexPriorModelStructure1
 
copy() - Method in class danbikel.parser.ms.ModNonterminalModelStructure1
 
copy() - Method in class danbikel.parser.ms.ModNonterminalModelStructure2
 
copy() - Method in class danbikel.parser.ms.ModNonterminalModelStructure3
 
copy() - Method in class danbikel.parser.ms.ModNonterminalModelStructure4
 
copy() - Method in class danbikel.parser.ms.ModNonterminalModelStructure5
 
copy() - Method in class danbikel.parser.ms.ModNonterminalModelStructure6
 
copy() - Method in class danbikel.parser.ms.ModNonterminalModelStructure7
 
copy() - Method in class danbikel.parser.ms.ModNonterminalModelStructure8
 
copy() - Method in class danbikel.parser.ms.ModNonterminalModelStructure9
 
copy() - Method in class danbikel.parser.ms.ModWordModelStructure1
 
copy() - Method in class danbikel.parser.ms.ModWordModelStructure2
 
copy() - Method in class danbikel.parser.ms.ModWordModelStructure3
 
copy() - Method in class danbikel.parser.ms.ModWordModelStructure4
 
copy() - Method in class danbikel.parser.ms.ModWordModelStructure5
 
copy() - Method in class danbikel.parser.ms.ModWordModelStructure6
 
copy() - Method in class danbikel.parser.ms.ModWordModelStructure7
 
copy() - Method in class danbikel.parser.ms.ModWordModelStructure8
 
copy() - Method in class danbikel.parser.ms.ModWordModelStructure9
 
copy() - Method in class danbikel.parser.ms.NonterminalPriorModelStructure1
 
copy() - Method in class danbikel.parser.ms.RightSubcatModelStructure1
 
copy() - Method in class danbikel.parser.ms.RightSubcatModelStructure2
 
copy() - Method in class danbikel.parser.ms.TagModelStructure1
 
copy() - Method in class danbikel.parser.ms.TagModelStructure2
 
copy() - Method in class danbikel.parser.ms.TopLexModelStructure1
 
copy() - Method in class danbikel.parser.ms.TopNonterminalModelStructure1
 
copy() - Method in class danbikel.parser.PriorEvent
Returns a deep copy of this object.
copy() - Method in class danbikel.parser.ProbabilityStructure
Returns a deep copy of this object.
copy() - Method in class danbikel.parser.SexpEvent
Returns a deep copy of this event, which really just means creating a new instance with a deep copy of the backing Sexp, using the Sexp.deepCopy method.
copy() - Method in class danbikel.parser.SexpSubcatEvent
Returns a deep copy of this event, using SexpEvent.copy to copy the backing Sexp, and using Event.copy to copy the backing Subcat, if there is one.
copy() - Method in class danbikel.parser.SubcatBag
Returns a deep copy of this subcat bag.
copy() - Method in class danbikel.parser.SubcatList
 
copy() - Method in interface danbikel.parser.TrainerEvent
Returns a deep copy of this event of the same run-time type.
copy() - Method in class danbikel.parser.Transition
Returns a deep copy of this Transition object.
copy() - Method in class danbikel.parser.Word
Returns a clone of this object.
copy() - Method in interface danbikel.parser.WordList
Returns a deep copy of this word list.
copyCanonical(Map, Map) - Method in class danbikel.parser.Transition
Returns a copy of this object with canonical versions of the history and future events.
copySexpEvent() - Method in class danbikel.parser.SexpEvent
Returns a deep copy of the underlying Sexp of this event.
copyValuesFrom(HashMapPrimitive.Entry) - Method in class danbikel.util.HashMapDouble.Entry
Makes the data membes in this entry be identical to those in the specified entry by performing a shallow copy.
copyValuesFrom(HashMapPrimitive.Entry) - Method in class danbikel.util.HashMapInt.Entry
Makes the data membes in this entry be identical to those in the specified entry by performing a shallow copy.
copyValuesFrom(HashMapPrimitive.Entry) - Method in class danbikel.util.HashMapPrimitive.Entry
Copies the values from the specified entry to this entry.
copyValuesFrom(HashMapPrimitive.Entry) - Method in class danbikel.util.HashMapTwoDoubles.Entry
Makes the data membes in this entry be identical to those in the specified entry by performing a shallow copy.
copyValuesFrom(HashMapPrimitive.Entry) - Method in class danbikel.util.HashMapTwoInts.Entry
Makes the data membes in this entry be identical to those in the specified entry by performing a shallow copy.
count(K, int) - Method in class danbikel.parser.BiCountsTable
Returns the value at the specified index for the specified key.
count(K) - Method in interface danbikel.parser.CountsTable
Returns the count of the specified key, or 0 if this counts table does not contain a count for the specified key.
count(K, int) - Method in interface danbikel.parser.CountsTable
Returns the count of the specified key with the specified hash code, or 0 if this counts table does not contain a count for the specified key.
count(K) - Method in class danbikel.parser.CountsTableImpl
 
count(K, int) - Method in class danbikel.parser.CountsTableImpl
 
count(Object) - Method in class danbikel.parser.FileBackedTrainerEventMap
 
count(Object, int) - Method in class danbikel.parser.FileBackedTrainerEventMap
 
count - Variable in class danbikel.parser.Trainer.EventEntry
The observed count of the TrainerEvent object contained by this map entry.
counter - Static variable in class danbikel.util.Debug
A counter with which to count stuff.
counts - Variable in class danbikel.parser.Model
The derived event counts used to estimate probabilities of this model.
CountsTable<K> - Interface in danbikel.parser
Specifies a mapping between objects and floating-point (double) counts that may be incremented or decremented.
CountsTableImpl<K> - Class in danbikel.parser
Provides a mapping between objects and floating-point (double) counts that may be incremented or decremented.
CountsTableImpl() - Constructor for class danbikel.parser.CountsTableImpl
Constructs an empty CountsTable.
CountsTableImpl(int) - Constructor for class danbikel.parser.CountsTableImpl
Constructs an empty CountsTable with the specified initial number of hash buckets.
CountsTableImpl(int, float) - Constructor for class danbikel.parser.CountsTableImpl
Constructs an empty CountsTable with the specified initial number of hash buckets and the specified load factor.
CountsTrio - Class in danbikel.parser
Class for grouping the three counts tables necessary for counting transitions, histories and unique transitions (or diversity counts for the history events).
countThreshold - Static variable in class danbikel.parser.Settings
The property to specify the threshold below which TrainerEvent objects are discarded by the trainer.
countThreshold - Variable in class danbikel.parser.Trainer
The value of the Settings.countThreshold setting.
countVocab(HeadTreeNode) - Method in class danbikel.parser.Trainer
Counts number of occurrences of each word in the specified tree and adds the word with this count to Trainer.vocabCounter.
createArgAugmentationsList() - Method in class danbikel.parser.lang.AbstractTraining
A helper method that runs through every nonterminal "pattern" for each context in 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.
createArgNonterminalsSet() - Method in class danbikel.parser.arabic.Training
An overridden version of AbstractTraining.createArgNonterminalsSet() that adds argument nonterminal patterns, such as *-SBJ, to the set of argument nonterminals.
createArgNonterminalsSet() - Method in class danbikel.parser.lang.AbstractTraining
Sets the AbstractTraining.argNonterminals data member to be the static set of argument nonterminals.
createHistBackOffMap - Variable in class danbikel.parser.Model
Indicates whether the Model.histBackOffMap should be created when precomputing probabilities.
createModelArray() - Method in class danbikel.parser.ModelCollection
Populates the ModelCollection.modelArr with the Model objects that are contained in this model collection.
createModelObjects() - Method in class danbikel.parser.Trainer
Creates all of the internal model objects used by this trainer when constructing its internal ModelCollection object.
createPosMap() - Method in class danbikel.parser.Trainer
Creates Trainer.posMap from the Trainer.headEvents, Trainer.modifierEvents and Trainer.gapEvents counts tables.
createPosMap(CountsTable) - Method in class danbikel.parser.Trainer
Adds to Trainer.posMap using information contained in the specified counts table.
createServerSocket(int) - Method in class danbikel.util.TimeoutSocketFactory
Returns a TimeoutServerSocket constructed with the serverTimeout value specified at construction of this factory and with the specified port.
createSocket(String, int) - Method in class danbikel.util.TimeoutSocketFactory
Returns a Socket object created on the specified host and port, having set its timeout value to the clientTimeout value specified at construction of this factory.
cummulativeInsideLogProb - Variable in class danbikel.parser.EMDecoder
The value of all sentences' inside probabilities in log-space.
current() - Static method in class danbikel.util.Time
An alias for System.currentTimeMillis.
currItemsAdded - Variable in class danbikel.parser.Decoder
One of a pair of lists used by Decoder.addUnariesAndStopProbs(int, int).

D

danbikel.lisp - package danbikel.lisp
Provides classes to create, read and manipulate symbolic expressions (S-expressions), including interned symbols.
danbikel.parser - package danbikel.parser
Provides the core framework of this extensible statistical parsing engine.
danbikel.parser.arabic - package danbikel.parser.arabic
Provides language-specific classes necessary to parse Arabic.
danbikel.parser.chinese - package danbikel.parser.chinese
Provides language-specific classes necessary to parse Chinese.
danbikel.parser.constraints - package danbikel.parser.constraints
Provides interfaces and classes to allow constrain-parsing.
danbikel.parser.english - package danbikel.parser.english
Provides language-specific classes necessary to parse English.
danbikel.parser.lang - package danbikel.parser.lang
Provides default abstract base classes for the required interfaces of a language package.
danbikel.parser.ms - package danbikel.parser.ms
Default package for model structure classes (subclasses of ProbabilityStructure).
danbikel.parser.util - package danbikel.parser.util
Utility classes for displaying and manipulating parse trees.
danbikel.switchboard - package danbikel.switchboard
Provides classes to implement a distributed client-server environment, with a central switchboard responsible for assigning clients to servers and for doling out objects to clients for processing.
danbikel.util - package danbikel.util
Provides some basic utility classes.
danbikel.util.proxy - package danbikel.util.proxy
Contains various InvocationHandler objects with static factory methods to provide proxy instances.
data - Variable in class danbikel.util.FixedSizeArrayList
 
data() - Method in class danbikel.util.SLNode
Returns the data associated with this node of the list.
Debug - Class in danbikel.util
Static class that stores the current debugging level (default is zero, for no debugging output), debugging options, and other utility functions for debugging.
Debug() - Constructor for class danbikel.util.Debug
 
DebugChart - Class in danbikel.parser.util
A class to print to System.err the constituents of a gold-standard parse tree that were found by the parser, according to its output chart file.
debugNumItemsGenerated - Static variable in class danbikel.parser.Chart
Indicats to keep track of the number of items generated by the decoder and print that information to System.err whenever Chart.reclaimItemsInChart() is invoked.
debugNumPrunedItems - Static variable in class danbikel.parser.Chart
Indicats to keep track of the number of items pruned when parsing and print that information to System.err whenever Chart.reclaimItemsInChart() is invoked.
Decoder - Class in danbikel.parser
Provides the methods necessary to perform CKY parsing on input sentences.
Decoder(int, DecoderServerRemote) - Constructor for class danbikel.parser.Decoder
Constructs a new decoder that will use the specified DecoderServer to get all information and probabilities required for decoding (parsing).
decoder - Variable in class danbikel.parser.Parser
The internal Decoder that performs the actual parsing.
Decoder.TimeoutException - Exception in danbikel.parser
Exception to be thrown when the maximum parse time has been reached.
decoderCellLimit - Static variable in class danbikel.parser.Settings
The property to specify the limit on the number of chart items the decoder will have per cell in its chart.
decoderClass - Static variable in class danbikel.parser.Settings
The property to specify the fully-qualified class name of the Decoder instance to be created for use by Parser and EMParser classes (and any other subclass of Parser).
decoderDontPostProcess - Static variable in class danbikel.parser.Settings
The property to specify whether the decoder should perform post-processing on a tree after parsing, that is, whether to invoke Training.postProcess(danbikel.lisp.Sexp) on that parse tree.
decoderLocalCacheSize - Static variable in class danbikel.parser.Settings
The property to specify the size of the cache used by the CachingDecoderServer instance used by the decoder when the Settings.decoderUseLocalProbabilityCache property is true.
decoderMaxPruneFactor - Static variable in class danbikel.parser.Settings
The property to specify the maximum prune factor when performing beam-widening.
decoderOutputHeadLexicalizedLabels - Static variable in class danbikel.parser.Settings
The property to specify whether node labels in trees output by the decoder include their lexical head information, which is normally only used internally by the decoder.
decoderOutputInsideProbs - Static variable in class danbikel.parser.Settings
The property to specify whether node labels in trees output by the decoder include the inside probability of their subtree, which is normally only used internally by the decoder.
decoderPruneFactor - Static variable in class danbikel.parser.Settings
The property to specify the factor by which the decoder should prune away chart entries.
decoderPruneFactorIncrement - Static variable in class danbikel.parser.Settings
The property to specify the increment used when the decoder does beam-widening.
decoderRelaxConstraintsAfterBeamWidening - Static variable in class danbikel.parser.Settings
The property to specify whether the decoder should relax all hard constraints (except the comma pruning rule, which is controlled by the Settings.decoderUseCommaConstraint setting) after performing all beam widening.
DecoderServer - Class in danbikel.parser
Provides probabilities and other resources needed by decoders.
DecoderServer(String) - Constructor for class danbikel.parser.DecoderServer
Constructs a non-exported DecoderServer object.
DecoderServer(int) - Constructor for class danbikel.parser.DecoderServer
Constructs a new server with the specified timeout value for its RMI sockets, to receive RMI calls on an anonymous port.
DecoderServer(int, int) - Constructor for class danbikel.parser.DecoderServer
Constructs a new server with the specified timeout value for its RMI sockets, to receive RMI calls on the specified port.
DecoderServer(int, boolean, int, int) - Constructor for class danbikel.parser.DecoderServer
Constructs a new server that will accept no more than the specified number of clients, will optionally accept clients only by request, that will use the specified timeout for its RMI sockets and will accept RMI calls on the specified port.
DecoderServer(int, RMIClientSocketFactory, RMIServerSocketFactory) - Constructor for class danbikel.parser.DecoderServer
Constructs a new server that will accept RMI calls on the specified port, using the specified socket factories to create RMI sockets.
DecoderServer(int, boolean, int, RMIClientSocketFactory, RMIServerSocketFactory) - Constructor for class danbikel.parser.DecoderServer
Constructs a new server that will accept no more than the specified number of clients, will optionally accept clients only by request, will accept RMI calls on the specified port and will use the specified socket factories to create its RMI sockets.
decoderServerClass - Static variable in class danbikel.parser.Settings
The property to specify the fully-qualified class name of the DecoderServerRemote instance to be created for use by Parser and EMParser classes (and any other subclass of Parser).
DecoderServerRemote - Interface in danbikel.parser
Specifies all methods necessary for a decoder client to get its settings and top-level probabilities from a server object.
decoderSubstituteWordsForClosedClassTags - Static variable in class danbikel.parser.Settings
The property to specify whether the decoder should substitute a known word when the only tag for an unknown word is closed-class (i.e., the tag was never observed with the unknown word during training).
decoderUseCellLimit - Static variable in class danbikel.parser.Settings
The property to specify whether the decoder should impose a limit on the number of chart items per cell in the chart.
decoderUseCommaConstraint - Static variable in class danbikel.parser.Settings
The property to specify whether the decoder should employ a constraint on the way commas can appear in and around chart items.
decoderUseHeadToParentMap - Static variable in class danbikel.parser.Settings
The property to specify whether the decoder should use the head-to-parent map derived during training.
decoderUseLocalProbabilityCache - Static variable in class danbikel.parser.Settings
The property to specify whether the decoder should wrap its DecoderServerRemote instance with an instance of CachingDecoderServer, which caches probability lookups.
decoderUseOnlySuppliedTags - Static variable in class danbikel.parser.Settings
The property to specify whether the decoder should only use the tags supplied with words in an input file when seeding the chart.
decoderUsePruneFactor - Static variable in class danbikel.parser.Settings
The property to specify whether or not the decoding algorithm should prune away chart entries within a particular factor of the top-ranked chart entry in a given cell.
deepCopy() - Method in class danbikel.lisp.Sexp
Returns a deep copy of this S-expression.
deepCopy() - Method in class danbikel.lisp.SexpList
Returns a deep copy of this list, which means that a full copy of the tree of S-expressions held by this list is returned.
deepCopy() - Method in class danbikel.lisp.Symbol
 
defaultArgAugmentation - Variable in class danbikel.parser.lang.AbstractTraining
The symbol that will be used to identify argument nonterminals.
defaultArgAugmentation() - Method in class danbikel.parser.lang.AbstractTraining
The symbol that is used to mark argument (required) nonterminals by AbstractTraining.identifyArguments(Sexp).
defaultArgAugmentation() - Method in interface danbikel.parser.Training
The symbol that is used to mark argument (required) nonterminals by Training.identifyArguments(Sexp).
defaultBindingName - Static variable in class danbikel.switchboard.Switchboard
The default rmiregistry binding name, "/Switchboard", which indicates to bind the switchboard under the specified name on localhost using the default rmiregistry port (1099).
defaultBufSize - Static variable in class danbikel.switchboard.Switchboard
The default buffer size for all streams created by the switchboard.
defaultFeatureVector() - Method in class danbikel.parser.arabic.SimpleWordFeatures
 
defaultFeatureVector() - Method in class danbikel.parser.chinese.SimpleWordFeatures
Returns AbstractWordFeatures.unknownWordSym.
defaultFeatureVector() - Method in class danbikel.parser.chinese.WordFeatures
 
defaultFeatureVector() - Method in class danbikel.parser.english.SimpleWordFeatures
 
defaultFeatureVector() - Method in class danbikel.parser.english.WordFeatures
 
defaultFeatureVector() - Method in class danbikel.parser.lang.AbstractWordFeatures
The symbol that represents the case where none of the features fires for a particular word.
defaultFeatureVector() - Method in interface danbikel.parser.WordFeatures
The symbol that represents the case where none of the features fires for a particular word.
defaultFileBufsize - Static variable in class danbikel.parser.Constants
The default file buffer size, which may be passed as an argument to BufferedReader and BufferedWriter constructors.
defaultFindHead(Symbol, SexpList) - Method in class danbikel.parser.lang.AbstractHeadFinder
Provides a default mechanism to use the head table to find a head in the specified grammar production.
defaultInitialCapacity - Static variable in class danbikel.util.HashMapPrimitive
The default initial capacity, 11.
defaultKeepAliveInterval - Static variable in class danbikel.switchboard.Switchboard
The default interval, in milliseconds, between calls to a switchboard user's alive method.
defaultKeepAliveMaxRetries - Static variable in class danbikel.switchboard.Switchboard
The default maximum number of retries the switchboard should make to determine whether a user is alive in the face of failure of that user's alive method.
defaultLoadFactor - Static variable in class danbikel.util.HashMapPrimitive
The default load factor, 0.75f.
defaultMaxSwitchboardTries - Static variable in class danbikel.switchboard.AbstractSwitchboardUser
The fallback-default maximum number of times to try contacting the switchboard after it goes down or when registering for the first time.
defaultMessagesFilename - Static variable in class danbikel.switchboard.Switchboard
The default filename to use for printing out messages.
defaultModelClass - Static variable in class danbikel.parser.Settings
The property to specify the default Model class to be created around ProbabilityStructure objects when their ProbabilityStructure.newModel() method is invoked.
defaultModelClassName - Static variable in class danbikel.parser.ProbabilityStructure
The value off the Settings.defaultModelClass setting.
defaultModelConstructor - Static variable in class danbikel.parser.ProbabilityStructure
The constructor of the class specified by the Settings.defaultModelClass setting, taking a single ProbabilityStructure as its only argument.
defaultNextObjectInterval - Static variable in class danbikel.switchboard.AbstractClient
 
defaultParseNonterminal(Symbol, Nonterminal) - Method in class danbikel.parser.lang.AbstractTreebank
Fills in the specified Nonterminal object to represent all the components of a complex nonterminal annotation: the base label, any augmentations and any index.
defaultParseNonterminal(Symbol, Nonterminal) - Method in interface danbikel.parser.Treebank
Fills in the specified Nonterminal object to represent all the components of a complex nonterminal annotation: the base label, any augmentations and any index.
defaultPort - Static variable in class danbikel.switchboard.Switchboard
The default port on which to receive RMI calls, which is 0, indicating an anonymous port.
defaultReProcess - Static variable in class danbikel.switchboard.Switchboard
The default re-processing option, which is false.
defaultServerDeathKillClients - Static variable in class danbikel.switchboard.Switchboard
The default as to whether clients should be killed upon the death of their server.
DefaultShifter - Class in danbikel.parser
A default implementation of the Shift interface that simply shifts every modifier or word, skipping nothing.
DefaultShifter() - Constructor for class danbikel.parser.DefaultShifter
Default constructor.
defaultSmoothingParamsFilename() - Method in class danbikel.parser.ProbabilityStructure
Returns a default name of the smoothing parameters file, which is the value of getClass().getName() + ".smoothingParams".
defaultSortOutput - Static variable in class danbikel.switchboard.Switchboard
The default sorting behavior for creating the output file from the log file, which is to perform a sort.
defaultSym - Static variable in class danbikel.parser.lang.AbstractHeadFinder
The wildcard character used in default head-finding instructions.
defaultTimeout - Static variable in class danbikel.switchboard.AbstractSwitchboardUser
The fallback-default timeout value for client- (switchboard-) side sockets.
DefaultWordFactory - Class in danbikel.parser
The default—and currently only—implementation of WordFactory.
DefaultWordFactory() - Constructor for class danbikel.parser.DefaultWordFactory
Creates a word factory for constructing Word objects.
defaultWriteInterval - Static variable in class danbikel.parser.EventCountsConsumer
The default writing interval for this consumer.
definiteMarkers - Static variable in class danbikel.parser.arabic.Training
An array of definite/indefinite markers in Arabic Treebank part-of-speech tags.
deleteCountsWhenPrecomputingProbs - Static variable in class danbikel.parser.Model
Indicates whether to set Model.counts to null just before writing this model object to an ObjectOutputStream.
delimAndGapStr - Variable in class danbikel.parser.lang.AbstractTraining
The string consisting of the canonical augmentation delimiter concatenated with the gap augmentation, to be used in identifying nonterminals that contain gap augmentations.
delimAndGapStrLen - Variable in class danbikel.parser.lang.AbstractTraining
The length of AbstractTraining.delimAndGapStr, cached here for efficiency and convenience.
derivationOrderOK(CKYItem, boolean) - Method in class danbikel.parser.Decoder
Enforces that modificand receives all its right modifiers before receiving any left modifiers, by ensuring that right-modification only happens when a modificand has no left-children (this is both necessary and sufficient to enforce derivation order).
deriveCounts(CountsTable, Filter, double, FlexibleMap, boolean) - Method in class danbikel.parser.InterpolatedKnesserNeyModel
 
deriveCounts(CountsTable, Filter, double, FlexibleMap) - Method in class danbikel.parser.JointModel
Derives counts for this Model, as well as for all internal Model instances.
deriveCounts(CountsTable, Filter, double, FlexibleMap, boolean) - Method in class danbikel.parser.JointModel
Derives counts for this Model and optionally for all internal Model instances.
deriveCounts(CountsTable, Filter, double, FlexibleMap) - Method in class danbikel.parser.Model
Derives all counts from the specified counts table, using the probability structure specified in the constructor.
deriveCounts(CountsTable, Filter, double, FlexibleMap, boolean) - Method in class danbikel.parser.Model
Derives all counts from the specified counts table, using the probability structure specified in the constructor.
deriveCounts() - Method in class danbikel.parser.Trainer
Derives event counts for all back-off levels of all sub-models for the current parsing model.
deriveCounts(boolean) - Method in class danbikel.parser.Trainer
Derives event counts for all back-off levels of all sub-models for the current parsing model.
deriveCounts(boolean, FlexibleMap) - Method in class danbikel.parser.Trainer
Derives event counts for all back-off levels of all sub-models for the current parsing model.
deriveCounts(double, FlexibleMap) - Method in class danbikel.parser.Trainer
Derives all counts for creating a ModelCollection object.
derivedCountThreshold - Static variable in class danbikel.parser.Settings
The property to specify the threshold below which Event objects are discarded by the databases contained with Model objects.
derivedCountThreshold - Variable in class danbikel.parser.Trainer
The value of the Settings.derivedCountThreshold setting.
derivedDataFilename - Static variable in class danbikel.parser.Parser
The derived data filename specified on the command line.
deriveDiversityCounts() - Method in class danbikel.parser.Model
Deprecated. This method used to be called by Model.deriveCounts(CountsTable,Filter,double,FlexibleMap,boolean), but diversity counts are now derived directly by that method.
deriveHistories(CountsTable, Filter, FlexibleMap) - Method in class danbikel.parser.Model
Deprecated. This method used to be called by Model.deriveCounts(CountsTable,Filter,double,FlexibleMap,boolean), but histories are now derived directly by that method.
deriveModelCounts(double, FlexibleMap) - Method in class danbikel.parser.Trainer
A helper method used by Trainer.deriveCounts(double,FlexibleMap) to derive counts for all Model instances contained within a ModelCollection.
detPrefixMarkers - Static variable in class danbikel.parser.arabic.Training
An array of determiner markers in Arabic Treebank part-of-speech tags.
die(boolean) - Method in class danbikel.parser.CachingDecoderServer
 
die(boolean) - Method in class danbikel.switchboard.AbstractSwitchboardUser
Tells the switchboard user to commit suicide.
die(boolean) - Method in interface danbikel.switchboard.SwitchboardUser
Tells the switchboard user to commit suicide.
dieSynch - Variable in class danbikel.switchboard.AbstractSwitchboardUser
The object on which to synchronize death.
direction() - Method in class danbikel.parser.GapEvent
Returns the direction of this gap event: one of {GapEvent.toHead, GapEvent.toLeft, GapEvent.toRight}.
direction - Variable in class danbikel.parser.lang.AbstractHeadFinder.HeadFindInstruction
The direction in which to scan: a value equal to Constants.LEFT indicates a left-to-right scan, and a value equal to Constants.RIGHT indicates a right-to-left scan.
disableHttp(Properties) - Static method in class danbikel.switchboard.AbstractClient
 
disableHttp(Properties) - Static method in class danbikel.switchboard.AbstractServer
 
disableHttp(String) - Static method in class danbikel.switchboard.AbstractSwitchboardUser
 
diversity - Static variable in class danbikel.parser.CountsTrio
The constant to be used as an index when adding or retrieving diversity counts from the BiCountsTable returned by CountsTrio.history().
doCleanup() - Method in class danbikel.parser.ms.BrokenModWordModelStructure
Returns true, indicating that the Model that owns an instance of this class ought to call its Model.cleanup() method at the end of execution of its deriveCounts method.
doCleanup() - Method in class danbikel.parser.ms.ModNonterminalModelStructure2
 
doCleanup() - Method in class danbikel.parser.ms.ModNonterminalModelStructure4
 
doCleanup() - Method in class danbikel.parser.ms.ModNonterminalModelStructure6
 
doCleanup() - Method in class danbikel.parser.ms.ModNonterminalModelStructure7
 
doCleanup() - Method in class danbikel.parser.ms.ModNonterminalModelStructure8
 
doCleanup() - Method in class danbikel.parser.ms.ModNonterminalModelStructure9
 
doCleanup() - Method in class danbikel.parser.ms.ModWordModelStructure2
 
doCleanup() - Method in class danbikel.parser.ms.ModWordModelStructure4
 
doCleanup() - Method in class danbikel.parser.ms.ModWordModelStructure5
 
doCleanup() - Method in class danbikel.parser.ms.ModWordModelStructure6
 
doCleanup() - Method in class danbikel.parser.ms.ModWordModelStructure7
 
doCleanup() - Method in class danbikel.parser.ms.ModWordModelStructure8
 
doCleanup() - Method in class danbikel.parser.ms.TagModelStructure1
 
doCleanup() - Method in class danbikel.parser.ms.TagModelStructure2
 
doCleanup() - Method in class danbikel.parser.ms.TopLexModelStructure1
 
doCleanup() - Method in class danbikel.parser.ProbabilityStructure
Indicates whether the Model class needs to invoke its cleanup method at the end of its deriveCounts method.
doneCollectingObservations() - Method in class danbikel.parser.Trainer
A hook that gets called by 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).
dontAddNewParameters() - Method in class danbikel.parser.ProbabilityStructure
Indicates whether this probability structure's associated Model object should not add new parameters when deriving counts by consulting the smoothing parameters from ProbabilityStructure.smoothingParametersFile().
dontAddNewParams - Variable in class danbikel.parser.Model
The boolean value of the Settings.dontAddNewParams setting.
dontAddNewParams - Static variable in class danbikel.parser.Settings
Indicates whether instances of Model, when smoothing parameters from a previous training run, should not add new parameters when deriving counts.
dontDoPruning() - Method in class danbikel.parser.Chart
Tells this chart not to do any pruning.
dontPostProcess - Variable in class danbikel.parser.Decoder
Indicates whether to perform post-processing on a tree after parsing, that is, whether to invoke Training.postProcess(Sexp) on the tree.
dontRelax() - Method in class danbikel.parser.Chart
Tells this chart not to use a more relaxed form of pruning (the default behavior).
dontUseCountThreshold() - Method in class danbikel.parser.EventCountsConsumer
Indicates not to use the count threshold specified by Settings.countThreshold.
doPruning() - Method in class danbikel.parser.Chart
Indicates that the chart should prune.
doPruning() - Method in class danbikel.parser.EMChart
This method has been overloaded so that it simply throws an UnsupportedOperationException, since pruning is inappropriate when performing the E-step of the Inside-Outside algorithm.
doPruning - Variable in class danbikel.parser.Model
The value of this data member determines whether this model will be pruned when probabilities are precomputed.
doPruning - Variable in class danbikel.parser.ProbabilityStructure
Indicates whether certain events/distributions of low or no utility should be pruned from the model using this probability structure.
doPruning() - Method in class danbikel.parser.ProbabilityStructure
Returns whether models using this probability structure should prune parameters.
doubleVal0 - Variable in class danbikel.util.HashMapDouble.Entry
 
doubleVal0 - Variable in class danbikel.util.HashMapTwoDoubles.Entry
 
doubleVal1 - Variable in class danbikel.util.HashMapTwoDoubles.Entry
 
downcaseWords - Variable in class danbikel.parser.Decoder
The boolean value of the Settings.downcaseWords setting.
downcaseWords - Variable in class danbikel.parser.DecoderServer
The boolean value of Settings.downcaseWords.
downcaseWords - Static variable in class danbikel.parser.Settings
The property to specify whether words are downcased during training and decoding.
downcaseWords - Variable in class danbikel.parser.Trainer
The value of the Settings.downcaseWords setting.
downcaseWords(Sexp) - Static method in class danbikel.parser.util.DebugChart
 
downcaseWords(HeadTreeNode) - Static method in class danbikel.parser.util.DebugChart
 

E

edgeIndex(boolean) - Method in class danbikel.parser.CKYItem
Returns the value of CKYItem.start() if the specified side is Constants.LEFT or the value of CKYItem.end() otherwise.
elapsedMillis() - Method in class danbikel.util.Time
Returns the number of milliseconds since the start time of this object.
elapsedMinutes() - Method in class danbikel.util.Time
Returns the (floor of the) number of minutes since the start time of this object.
elapsedTime(long) - Static method in class danbikel.util.Time
Returns a string representing the length of the specified time of the form MM:SS.mmm where MM is the number of minutes, SS is the nubmer of seconds and mmm is the number of milliseconds.
EMChart - Class in danbikel.parser
Implementation of a chart for performing constrained CKY parsing so as to perform the E-step of the Inside-Outside algorithm.
EMChart() - Constructor for class danbikel.parser.EMChart
Constructs a new chart with the default chart size.
EMChart(int) - Constructor for class danbikel.parser.EMChart
Constructs a new chart with the specified chart size.
EMChart.Entry - Class in danbikel.parser
Contains all information and items covering a particular span.
EMDecoder - Class in danbikel.parser
Provides the methods necessary to perform constrained CKY parsing on input sentences so as to perform the E-step of the Inside-Outside EM algorithm.
EMDecoder(int, DecoderServerRemote) - Constructor for class danbikel.parser.EMDecoder
Constructs a new decoder that will use the specified DecoderServer to get all information and probabilities required for decoding (parsing).
EMItem - Class in danbikel.parser
Class to represent a chart item when performing the Inside-Outside algorithm.
EMItem() - Constructor for class danbikel.parser.EMItem
Constructs a new EM (Inside-Outside) chart item, with all data members set to default values.
EMItem.AntecedentPair - Class in danbikel.parser
Holds references to the one or two antecedents that yielded a particular consequent, along with the one or more events that generated the consequent.
EMParser - Class in danbikel.parser
An EM parsing client.
EMParser(String) - Constructor for class danbikel.parser.EMParser
Constructs a new EM parsing client with an internal DecoderServerRemote instance constructed using the specified derived data filename.
EMParser(DecoderServerRemote) - Constructor for class danbikel.parser.EMParser
Constructs a new EM parsing client using the specified DecoderServerRemote instance for probability lookups and for other resources needed by the decoder.
EMParser(int) - Constructor for class danbikel.parser.EMParser
Constructs an EM parsing client with the specified socket timeout value.
EMParser(int, int) - Constructor for class danbikel.parser.EMParser
Construct an EM parsing client with the specified socket timeout value using the specified port on which to accept RMI connections.
EMParser(int, RMIClientSocketFactory, RMIServerSocketFactory) - Constructor for class danbikel.parser.EMParser
Constructs an EM parsing client using the specified port on which to accept RMI connections and using the specified socket factories for client and server socket creation.
empty() - Method in class danbikel.parser.BrokenSubcatBag
Returns true if and only if there are zero requirements in this subcat bag.
empty() - Method in interface danbikel.parser.Subcat
Returns true if all requirements of this subcat frame have been met.
empty() - Method in class danbikel.parser.SubcatBag
Returns true if and only if there are zero requirements in this subcat bag.
empty() - Method in class danbikel.parser.SubcatList
 
empty() - Method in class danbikel.util.Stack
Returns true if this stack contains no elements.
emptyList - Static variable in class danbikel.lisp.SexpList
An immutable object to represent the empty list.
emptySubcat - Variable in class danbikel.parser.Decoder
An instance of an empty subcat, for use when constructing lookup events.
emptySubcat - Variable in class danbikel.parser.Trainer
The value returned by Subcats.get().
encoding() - Static method in class danbikel.parser.Language
Gets the file encoding for the current language.
encoding - Variable in class danbikel.switchboard.Switchboard
The current file encoding.
end - Variable in class danbikel.parser.CKYItem
The index of the last word of the span covered by this item.
end() - Method in class danbikel.parser.CKYItem
Returns the end word index of the span of this chart item.
end - Variable in class danbikel.parser.constraints.PartialTreeConstraint
The ending word index of the syntactic subtree covered by this constraint.
end() - Method in class danbikel.parser.constraints.PartialTreeConstraint
Returns the end index of the span associated with this constraint.
end - Variable in class danbikel.parser.constraints.UnlexTreeConstraint
The end index of the span associated with this constraint.
end() - Method in class danbikel.parser.constraints.UnlexTreeConstraint
Returns the end index of the span covered by this constraint.
ensureCapacity(int) - Method in class danbikel.lisp.SexpList
Increases the number of elements that this list can hold, if necessary, to be at least minCapacity.
ensureCapacity(int) - Method in class danbikel.parser.BrokenSubcatBag
This method does nothing and returns.
ensureCapacity(int, int) - Method in class danbikel.parser.BrokenSubcatBag
This method does nothing and returns.
ensureCapacity(int) - Method in interface danbikel.parser.MutableEvent
Pre-allocates space for all abstract lists in this event (optional operation).
ensureCapacity(int, int) - Method in interface danbikel.parser.MutableEvent
Pre-allocates space for the abstract list of the specified type (optional operation).
ensureCapacity(int) - Method in class danbikel.parser.SexpEvent
If 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(int, int) - Method in class danbikel.parser.SexpEvent
Since there is only one type supported by this class, this method simply calls ensureCapacity(size).
ensureCapacity(int) - Method in class danbikel.parser.SubcatBag
This method does nothing and returns.
ensureCapacity(int, int) - Method in class danbikel.parser.SubcatBag
This method does nothing and returns.
ensureCapacity(int, int) - Method in class danbikel.parser.SubcatList
As Subcat objects only support requirements of a single type (Symbol), this method is an alias for SexpList.ensureCapacity(int).
entropy(double[]) - Static method in class danbikel.parser.AnalyzeDisns
Returns the entropy of the specified distribution.
entropy(double[], int) - Static method in class danbikel.parser.AnalyzeDisns
Returns the entropy of the specified distribution.
entropyFromLogProbs(double[]) - Static method in class danbikel.parser.AnalyzeDisns
Returns the entropy of the specified distribution of log-probabilities.
entropyFromLogProbs(double[], int) - Static method in class danbikel.parser.AnalyzeDisns
Returns the entropy of the specified distribution of log-probabilities.
entrySet() - Method in class danbikel.parser.FileBackedTrainerEventMap
Returns an entry set view of the map entries.
entrySet() - Method in class danbikel.util.HashMap
 
entrySet() - Method in class danbikel.util.HashMapPrimitive
 
equals(Object) - Method in class danbikel.lisp.SexpList
Returns 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.
equals(Object) - Method in class danbikel.lisp.SexpList.HashCache
Test the specified object for equality to this list.
equals(Object) - Method in class danbikel.parser.BrokenSubcatBag
Returns 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.
equals(Object) - Method in class danbikel.parser.CKYItem.BaseNPAware
Returns whether the specified object is equal (or “chart item equivalent”) to this item.
equals(Object) - Method in class danbikel.parser.CKYItem
Returns 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.
equals(Object) - Method in class danbikel.parser.CKYItem.KBestHack
Returns whether this object is object-equal to the specified object.
equals(Object) - Method in class danbikel.parser.CKYItem.MappedPrevModBaseNPAware
Returns 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.
equals(Object) - Method in class danbikel.parser.CKYItem.PrevModIsStart
Returns 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.
equals(Object) - Method in class danbikel.parser.EMItem
Returns whether this item is equal to the specified object, which must also be an instance of EMItem.
equals(Object) - Method in interface danbikel.parser.Event
Returns 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
equals(Object) - Method in class danbikel.parser.GapEvent
Returns 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.
equals(Object) - Method in class danbikel.parser.HeadEvent
Returns 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.
equals(Object) - Method in class danbikel.parser.ModifierEvent
Returns 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.
equals(Object) - Method in class danbikel.parser.PriorEvent
Returns whether the specified object is also an instance of this class and is equal to this object.
equals(Object) - Method in class danbikel.parser.SexpEvent
Returns true if o is an instance of Event and if the backing Sexp of o is equal to the backing Sexp of this object; also, this method treats backing Sexp of the two objects equal when one is a symbol and the other is a list of length 1 containing that symbol.
equals(Object) - Method in class danbikel.parser.SexpSubcatEvent
 
equals(Object) - Method in interface danbikel.parser.Subcat
Compares the specified object with this subcat frame for equality.
equals(Object) - Method in class danbikel.parser.SubcatBag
Returns 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.
equals(Object) - Method in class danbikel.parser.SubcatList
Returns 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).
equals(Object) - Method in class danbikel.parser.Transition
Returns 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.
equals(Object) - Method in class danbikel.parser.Word
Determines whether two Word objects are equal.
equals(Object) - Method in class danbikel.switchboard.NumberedObject
 
equals(Object) - Method in class danbikel.util.AbstractFixedSizeList
Compres this FixedSizeList to the specified object for equality.
equals(Object) - Method in class danbikel.util.HashMapDouble.Entry
 
equals(Object) - Method in class danbikel.util.HashMapInt.Entry
 
equals(Object) - Method in class danbikel.util.HashMapPrimitive.Entry
 
equals(Object) - Method in class danbikel.util.HashMapTwoDoubles.Entry
 
equals(Object) - Method in class danbikel.util.HashMapTwoInts.Entry
 
equals(Object) - Method in class danbikel.util.IntCounter
Returns 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.
equals(Object) - Method in class danbikel.util.IntPair
Returns true if the specified object is an instance of an IntPair whose corresponding two integers are equal to this IntPair's two integers.
equals(Object) - Method in class danbikel.util.Pair
Returns 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
equals(Object) - Method in class danbikel.util.TimeoutSocketFactory
 
err - Static variable in class danbikel.parser.Decoder
A writer wrapped around System.err for error messages that might contain encoding-specific characters.
err - Variable in class danbikel.parser.Parser
A PrintWriter object wrapped around System.err for printing in the proper character encoding.
estimateLogProb(int, TrainerEvent) - Method in class danbikel.parser.JointModel
Estimates a conditional probability in log-space from the specified maximal-context trainer event.
estimateLogProb(int, TrainerEvent) - Method in class danbikel.parser.Model
Estimates the log-probability of a conditional event.
estimateLogProbUsingPrecomputed(ProbabilityStructure, TrainerEvent) - Method in class danbikel.parser.Model
Estimates the log prob using precomputed probabilities and smoothing values (lambdas).
estimateLogProbUsingPrecomputed(Transition, int) - Method in class danbikel.parser.Model
Estimates the log prob of the specified transition using precomputed probabilities and lambdas and Model.histBackOffMap (debugging method).
estimateNonJointLogProb(int, TrainerEvent) - Method in class danbikel.parser.JointModel
Estimates the log-probability of the specified event under this Model without adding the log-probabilities of the internal Model objects.
estimateNonJointProb(int, TrainerEvent) - Method in class danbikel.parser.JointModel
Estimates the probability of the specified event under this Model without multiplying the probabilities of the internal Model objects.
estimateProb(ProbabilityStructure, TrainerEvent) - Method in class danbikel.parser.InterpolatedKnesserNeyModel
Returns the smoothed probability estimate of a transition contained in the specified TrainerEvent object.
estimateProb(int, TrainerEvent) - Method in class danbikel.parser.JointModel
Estimates a conditional probability from the specified maximal-context trainer event.
estimateProb(int, TrainerEvent) - Method in class danbikel.parser.Model
Estimates the probability of a conditional event.
estimateProb(ProbabilityStructure, TrainerEvent) - Method in class danbikel.parser.Model
Returns the smoothed probability estimate of a transition contained in the specified TrainerEvent object.
estimateProbOld(ProbabilityStructure, TrainerEvent, int, double) - Method in class danbikel.parser.Model
 
estimates - Variable in class danbikel.parser.ProbabilityStructure
An array used only during the computation of top-level probabilities, used to store the ML estimates of all the levels of back-off.
Event - Interface in danbikel.parser
Provides the specification for arbitrary event types, to be used when collecting counts for and computing probabilities of arbitrary events.
event - Variable in class danbikel.parser.SexpEvent
The event stored by this instance.
event - Variable in class danbikel.parser.Trainer.EventEntry
The TrainerEvent object contained by this map entry.
eventCounts - Variable in class danbikel.parser.EMDecoder
The map of events to their expected counts (cleared after every sentence).
EventCountsConsumer - Class in danbikel.parser
An implementation of the 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).
EventCountsConsumer() - Constructor for class danbikel.parser.EventCountsConsumer
Constructs a new event counts consumer.
EventCountsConsumer(boolean) - Constructor for class danbikel.parser.EventCountsConsumer
Constructs a new event counts consumer.
EventCountsConsumer(boolean, boolean) - Constructor for class danbikel.parser.EventCountsConsumer
Constructs a new event counts consumer.
EventCountsWriter - Class in danbikel.parser
Provides a method to write CountsTable objects containing counts of TrainerEvent objects to a file or an output stream.
EventCountsWriter(OutputStream) - Constructor for class danbikel.parser.EventCountsWriter
Constructs a new EventCountsWriter using the specified output stream to output CountsTable instances containing counts of TrainerEvent objects.
EventCountsWriter(OutputStream, String, int) - Constructor for class danbikel.parser.EventCountsWriter
Constructs a new EventCountsWriter using the specified output stream, encoding and buffer size to output CountsTable instances containing counts of TrainerEvent objects.
EventCountsWriter(String, String, int, boolean) - Constructor for class danbikel.parser.EventCountsWriter
Constructs a new EventCountsWriter by creating a Writer for the specified filename, using the specified encoding, buffer size and append options.
EventCountsWriterFactory - Class in danbikel.parser
 
EventCountsWriterFactory() - Constructor for class danbikel.parser.EventCountsWriterFactory
Constructs a new EventCountsWriterFactory.
expandVars(Properties, StringBuffer) - Static method in class danbikel.util.Text
Expands the variables in the specified StringBuffer.
expandVars(StringBuffer) - Static method in class danbikel.util.Text
Expands the variables in the specified StringBuffer.
export() - Method in class danbikel.switchboard.Switchboard
Exports this object using UnicastRemoteObject.exportObject.

F

failover - Variable in class danbikel.switchboard.AbstractClient
Cache of the value of the parameter of the same name in the AbstractClient.tolerateFaults(int, int, boolean) or AbstractClient.getFaultTolerantServer(int, int, boolean) methods.
Failover - Class in danbikel.switchboard
An RMI invocation handler that gets a new server for switchboard clients in the event of a method invocation failure.
Failover(Object, Client, SwitchboardRemote) - Constructor for class danbikel.switchboard.Failover
 
fallbackDefaultHeadTableResource - Static variable in class danbikel.parser.lang.AbstractHeadFinder
The fallback default in case the property for specifying the path to the head table file or resource is not set.
falseSym - Static variable in class danbikel.parser.Constants
A symbol constant to represent falsity.
faultTolerant - Variable in class danbikel.switchboard.AbstractClient
Indicates whether the server has been wrapped in proxies for fault tolerance, via a call to the AbstractClient.tolerateFaults(int, int, boolean) or AbstractClient.getFaultTolerantServer(int, int, boolean) method.
features(Symbol, boolean) - Method in class danbikel.parser.chinese.WordFeatures
Returns the features of a word.
features(Symbol, boolean) - Method in class danbikel.parser.english.WordFeatures
Returns the features of a word.
features(Symbol, boolean) - Method in class danbikel.parser.lang.AbstractWordFeatures
Returns a symbol representing the orthographic and/or morphological features of the specified word.
features - Variable in class danbikel.parser.Word
A word-feature vector of Word.word.
features() - Method in class danbikel.parser.Word
Returns the features of this word, or null if no features have been set for this word.
features(Symbol, boolean) - Method in interface danbikel.parser.WordFeatures
Returns a symbol representing the orthographic and/or morphological features of the specified word.
FileBackedTrainerEventMap - Class in danbikel.parser
Presents an immutable map of a type of TrainerEvent objects to observed counts, backed by a file of the form output by Trainer.writeStats(java.io.File).
FileBackedTrainerEventMap(Symbol, String) - Constructor for class danbikel.parser.FileBackedTrainerEventMap
Constructs a new file-backed TrainerEvent map for events of the specified type and using the specified file.
FileBackedTrainerEventMap(Symbol, File) - Constructor for class danbikel.parser.FileBackedTrainerEventMap
Constructs a new file-backed TrainerEvent map for events of the specified type and using the specified file.
fileEncodingPrefix - Static variable in class danbikel.parser.Settings
The prefix string used to specify a language's file encoding property.
fillStringArray(String[], String) - Static method in class danbikel.util.Debug
Fills the specified string array with the whitespace-delimited tokens contained in the specified filler argument.
Filter - Interface in danbikel.util
Specification of a single method to allow for an arbitrary object filter.
finalize() - Method in class danbikel.lisp.SexpList.HashCache
Updates class-level information when this object dies.
find(StringBuffer, String) - Static method in class danbikel.util.Text
Finds the first occurrence of toFind in the characters contained in the string buffer sb.
find(StringBuffer, String, int) - Static method in class danbikel.util.Text
Finds the first occurrence of toFind at or after startIdx in the characters of the string buffer sb.
findAtLeastOneSatisfying() - Method in interface danbikel.parser.constraints.ConstraintSet
Returns true if at least one satisfying constraint should be found for every chart item, false otherwise.
findAtLeastOneSatisfying() - Method in class danbikel.parser.constraints.PartialTreeConstraintSet
Returns true, since a satisfying constraint must be found for every chart item.
findAtLeastOneSatisfying() - Method in class danbikel.parser.constraints.UnlexTreeConstraintSet
Returns true, since a satisfying constraint must be found for every chart item.
findAtLeastOneSatisfyingConstraint - Variable in class danbikel.parser.Decoder
Caches the value of ConstraintSet.findAtLeastOneSatisfying(), if there are constraints for the current sentence; otherwise, this data member will be set to false.
findConstituents(String, Sexp) - Static method in class danbikel.parser.util.DebugChart
Prints out to System.err which constituents of the specified gold-standard parse tree were found by the parser, according to its output chart file.
findConstituents(boolean, Chart, CKYItem, SexpList, Sexp) - Static method in class danbikel.parser.util.DebugChart
Prints out to System.err which constituents of the specified gold-standard parse tree were found by the parser, according to the specified chart.
findConstituents(String, boolean, Chart, CKYItem, SexpList, Sexp) - Static method in class danbikel.parser.util.DebugChart
Prints out to System.err which constituents of the specified gold-standard parse tree were found by the parser, according to the specified chart.
findConstituents(Chart, Set, HeadTreeNode) - Static method in class danbikel.parser.util.DebugChart
 
findConstituents(String, Chart, Set, HeadTreeNode) - Static method in class danbikel.parser.util.DebugChart
 
findHead(Sexp, Symbol, SexpList) - Method in class danbikel.parser.arabic.HeadFinder
Finds the head for the grammar production lhs -> rhs.
findHead(Sexp, Symbol, SexpList) - Method in class danbikel.parser.chinese.HeadFinder
Finds the head for the grammar production lhs -> rhs.
findHead(Sexp, Symbol, SexpList) - Method in class danbikel.parser.english.BrokenHeadFinder
Finds the head for the grammar production lhs -> rhs.
findHead(Sexp, Symbol, SexpList) - Method in class danbikel.parser.english.HeadFinder
Finds the head for the grammar production lhs -> rhs.
findHead(Sexp) - Method in interface danbikel.parser.HeadFinder
Finds the head for the production at the root of the specified subtree.
findHead(Sexp, Symbol, SexpList) - Method in interface danbikel.parser.HeadFinder
Finds the head for the grammar production lhs → rhs.
findHead(Sexp) - Method in class danbikel.parser.lang.AbstractHeadFinder
Finds the head for the production at the root of the specified subtree.
findHead(Sexp, Symbol, SexpList) - Method in class danbikel.parser.lang.AbstractHeadFinder
Finds the head for the grammar production lhs -> rhs.
findNoViolations() - Method in interface danbikel.parser.constraints.ConstraintSet
Returns true if every chart item generated must violate none of the constraints in this constraint set, false otherwise.
findNoViolations() - Method in class danbikel.parser.constraints.PartialTreeConstraintSet
Returns 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.
findNoViolations() - Method in class danbikel.parser.constraints.UnlexTreeConstraintSet
Returns 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.
first() - Method in class danbikel.lisp.SexpList
Returns the first element of this list (identical to calling get(0)).
first() - Method in class danbikel.parser.SymbolPair
Returns the first symbol in this pair.
first() - Method in class danbikel.util.IntPair
Returns the first integer in this integer pair.
first - Variable in class danbikel.util.Pair
The first object in the pair.
firstSym - Static variable in class danbikel.parser.Constants
The symbol constant indicating to match the first child node in the natural walk of a parent's children in a syntax tree (left-to-right, in English).
FixedSizeArrayList - Class in danbikel.util
A fixed-size list of objects backed by an array.
FixedSizeArrayList(int) - Constructor for class danbikel.util.FixedSizeArrayList
 
FixedSizeArrayList(Collection) - Constructor for class danbikel.util.FixedSizeArrayList
 
FixedSizeList - Interface in danbikel.util
Specifies methods for a list of a fixed size.
FixedSizeListFactory - Class in danbikel.util
A factory for FixedSizeList instances.
FixedSizeSingletonList - Class in danbikel.util
A FixedSizeList implementation for a singleton list (a list with only one element).
FixedSizeSingletonList(int) - Constructor for class danbikel.util.FixedSizeSingletonList
Constructs a new fixed-size list with the specified size.
FixedSizeSingletonList(Collection) - Constructor for class danbikel.util.FixedSizeSingletonList
Constructs a new fixed-size list containing the element in the specified collection.
fixSubjectlessSentences(Sexp) - Method in class danbikel.parser.english.BrokenTraining
This method has been written to do nothing to the specified tree.
fixSubjectlessSentences(Sexp) - Method in class danbikel.parser.english.Training
De-transforms sentence labels changed by Training.relabelSubjectlessSentences(Sexp) when the subjectless sentence node has children prior to its head child that are arguments.
FlexibleMap<K,V> - Interface in danbikel.util
Specifies useful/necessary diagnostic and lookup methods that the Map and HashMap APIs lack.
fullySatisfied - Variable in class danbikel.parser.constraints.PartialTreeConstraint
Contains whether this constraint has been fully satisfied.
future() - Method in class danbikel.parser.Transition
Gets the future event of this transition object.
futureList - Variable in class danbikel.parser.ProbabilityStructure
Deprecated. Ever since the Event and MutableEvent interfaces were re-worked to include methods to add and iterate over event components and the SexpEvent class was retrofitted to these new specifications, this object became superfluous, as SexpEvent objects can now be efficiently constructed directly, by using the SexpEvent.add(Object) method.
futures - Variable in class danbikel.parser.ProbabilityStructure
A reusable SexpEvent array to represent futures; the array will be initialized to have the size of ProbabilityStructure.numLevels().
futuresWithSubcats - Variable in class danbikel.parser.ProbabilityStructure
A reusable SexpSubcatEvent array to represent futures; the array will be initialized to have the size of ProbabilityStructure.numLevels().

G

gapAugmentation - Variable in class danbikel.parser.lang.AbstractTraining
The symbol that will be used to identify nonterminals whose subtrees contain a gap (a trace).
gapAugmentation() - Method in class danbikel.parser.lang.AbstractTraining
The symbol that will be used to identify nonterminals whose subtrees contain a gap (a trace).
gapAugmentation - Variable in class danbikel.parser.Trainer
The value of Training.gapAugmentation().
gapAugmentation() - Method in interface danbikel.parser.Training
The symbol that will be used to identify nonterminals whose subtrees contain a gap (a trace).
GapEvent - Class in danbikel.parser
A class to represent the gap generation event implicit in the models supported by this parsing package.
GapEvent(Sexp) - Constructor for class danbikel.parser.GapEvent
Contructs a new object from the specified S-expression.
GapEvent(Symbol, Word, Symbol, Symbol) - Constructor for class danbikel.parser.GapEvent
Constructs a new GapEvent object, setting all its data members to the specified values.
gapEvents - Variable in class danbikel.parser.Trainer
A table for storing counts of gap-generation events.
gapEventSym - Static variable in class danbikel.parser.Trainer
The label for gap events.
gapModel - Variable in class danbikel.parser.ModelCollection
The model for generating gaps.
gapModel() - Method in class danbikel.parser.ModelCollection
Returns the gap-generation model.
gapModel - Variable in class danbikel.parser.Trainer
The gap-generation model.
GapModelStructure1 - Class in danbikel.parser.ms
Representation of the complete back-off structure of the subcat-generation model for either side of the head child.
GapModelStructure1() - Constructor for class danbikel.parser.ms.GapModelStructure1
 
gapModelStructureClass - 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 gap-generation submodel.
gapModelStructureNumber - Static variable in class danbikel.parser.Settings
The property to specify the model structure number to use when creating the ProbabilityStructure object for the gap-generation submodel.
garbage - Variable in class danbikel.parser.CKYItem
The boolean indicating whether this item has been eliminated from the chart because another, equivalent item was added (meaning that this item could not be immediately reclaimed, since the caller of Chart.add may have a handle onto this item).
garbage() - Method in class danbikel.parser.CKYItem
Returns whether this item has been eliminated from the chart because another, equivalent item was added (meaning that this item could not be immediately reclaimed, since the caller of Chart.add may have a handle onto this item).
garbage() - Method in class danbikel.parser.Item
Returns whether this item has been eliminated from the chart because another, equivalent item was added (meaning that this item could not be immediately reclaimed, since the caller of Chart.add may have a handle onto this item).
genderMarkers - Static variable in class danbikel.parser.arabic.Training
An array of gender markers in Arabic Treebank part-of-speech tags.
genericEquals(Object) - Method in class danbikel.parser.AbstractEvent
Compares this Event object to the specified object for equality.
get(int) - Method in class danbikel.lisp.SexpList
Gets the Sexp at the specified index.
get(String) - Static method in class danbikel.lisp.Symbol
Returns the unique Symbol whose string key is str.
get(Integer) - Static method in class danbikel.lisp.Symbol
Returns the unique Symbol whose integer value is that of intKey.
get(int) - Static method in class danbikel.lisp.Symbol
A convenience method for Symbol.add(Integer): the specified int is first wrapped in an Integer object and then added to the internal symbol map.
get(int, int) - Method in class danbikel.parser.BrokenSubcatBag
Gets the indexth components of this subcat bag.
get() - Method in class danbikel.parser.BrokenSubcatBagFactory
Returns an empty SubcatBag.
get(SexpList) - Method in class danbikel.parser.BrokenSubcatBagFactory
Returns a SubcatBag initialized with the requirements contained in the specified list.
get(int, int) - Method in class danbikel.parser.Chart
Returns an iterator over all chart items (having all labels) covering the specified span.
get() - Method in interface danbikel.parser.constraints.ConstraintSetFactory
Return a ConstraintSet object created with its default constructor.
get(Object) - Method in interface danbikel.parser.constraints.ConstraintSetFactory
Return a ConstraintSet object created with its one-argument constructor.
get() - Static method in class danbikel.parser.constraints.ConstraintSets
Return a ConstraintSet object created with its default constructor.
get(Object) - Static method in class danbikel.parser.constraints.ConstraintSets
Return a ConstraintSet object created with its one-argument constructor, using the specified S-expression.
get() - Method in class danbikel.parser.constraints.LexTreeConstraintSetFactory
Gets a new, empty LexTreeConstraintSet instance.
get(Object) - Method in class danbikel.parser.constraints.LexTreeConstraintSetFactory
Gets a new set of constraints for parsing the specified lexicalized tree.
get() - Method in class danbikel.parser.constraints.PartialLexTreeConstraintSetFactory
Returns a new, empty PartialLexTreeConstraintSet object.
get(Object) - Method in class danbikel.parser.constraints.PartialLexTreeConstraintSetFactory
Returns a new PartialLexTreeConstraintSet using the specified syntactic tree.
get() - Method in class danbikel.parser.constraints.PartialTreeConstraintSetFactory
Returns an empty partial tree constraint set.
get(Object) - Method in class danbikel.parser.constraints.PartialTreeConstraintSetFactory
Returns a partial tree constraint set for the specified tree, which must be a Sexp instance.
get() - Method in class danbikel.parser.constraints.UnlexTreeConstraintSetFactory
Returns an empty UnlexTreeConstraintSet object.
get(Object) - Method in class danbikel.parser.constraints.UnlexTreeConstraintSetFactory
Returns an UnlexTreeConstraintSet constructed with the specified syntactic tree.
get(Sexp) - Method in class danbikel.parser.DefaultWordFactory
 
get(Symbol, Symbol) - Method in class danbikel.parser.DefaultWordFactory
 
get(Symbol, Symbol, Symbol) - Method in class danbikel.parser.DefaultWordFactory
 
get(int, int) - Method in interface danbikel.parser.Event
Gets the indexth component of the specified type from this event.
get(OutputStream, boolean, boolean) - Method in class danbikel.parser.EventCountsWriterFactory
 
get(OutputStream, String, int, boolean, boolean) - Method in class danbikel.parser.EventCountsWriterFactory
 
get(String, String, int, boolean) - Method in class danbikel.parser.EventCountsWriterFactory
 
get(Object) - Method in class danbikel.parser.ProbabilityCache
Throws an UnsupportedOperationException, as the only way to get values from this specialized cache is through the getProb(Object) method.
get(String) - Static method in class danbikel.parser.Settings
Gets the value of the specified property.
get(int, int) - Method in class danbikel.parser.SexpEvent
Returns the indexth component of this event.
get(InputStream) - Method in class danbikel.parser.SexpNumberedObjectReaderFactory
Returns a new SexpNumberedObjectReader constructed with the specified input stream argument.
get(InputStream, String, int) - Method in class danbikel.parser.SexpNumberedObjectReaderFactory
Returns a new SexpNumberedObjectReader constructed with the specified arguments.
get(String, String, int) - Method in class danbikel.parser.SexpNumberedObjectReaderFactory
Returns a new SexpNumberedObjectReader constructed with the specified arguments.
get(InputStream) - Method in class danbikel.parser.SexpObjectReaderFactory
Returns a new SexpObjectReader constructed with the specified input stream argument.
get(InputStream, String, int) - Method in class danbikel.parser.SexpObjectReaderFactory
Returns a new SexpObjectReader constructed with the specified arguments.
get(String, String, int) - Method in class danbikel.parser.SexpObjectReaderFactory
Returns a new SexpObjectReader constructed with the specified arguments.
get(int, int) - Method in class danbikel.parser.SexpSubcatEvent
Gets the indexth component of this event of the specified type.
get(int, int) - Method in class danbikel.parser.SubcatBag
Gets the indexth components of this subcat bag.
get() - Method in class danbikel.parser.SubcatBagFactory
Returns an empty SubcatBag.
get(SexpList) - Method in class danbikel.parser.SubcatBagFactory
Returns a SubcatBag initialized with the requirements contained in the specified list.
get() - Method in interface danbikel.parser.SubcatFactory
Return a Subcat object created with its default constructor.
get(SexpList) - Method in interface danbikel.parser.SubcatFactory
Return a Subcat object created with its one-argument constructor, using the specified list.
get(int) - Method in class danbikel.parser.SubcatList
 
get(int, int) - Method in class danbikel.parser.SubcatList
An alias for SexpList.get(int).
get() - Method in class danbikel.parser.SubcatListFactory
Returns an empty SubcatList.
get(SexpList) - Method in class danbikel.parser.SubcatListFactory
Returns a SubcatList initialized with the requirements contained in the specified list.
get() - Static method in class danbikel.parser.Subcats
Return a Subcat object created with its default constructor.
get(SexpList) - Static method in class danbikel.parser.Subcats
Return a Subcat object created with its one-argument constructor, using the specified list.
get(Sexp) - Method in interface danbikel.parser.WordFactory
Constructs a Word object from the specified S-expression, which must be a list of length 2 or greater, where the first two elements are symbols.
get(Symbol, Symbol) - Method in interface danbikel.parser.WordFactory
Constructs a Word object from the specified symbols.
get(Symbol, Symbol, Symbol) - Method in interface danbikel.parser.WordFactory
Constructs a Word object from the specified symbols.
get(Sexp) - Static method in class danbikel.parser.Words
Returns a new Word instance constructed from the specified S-expression.
get(Symbol, Symbol) - Static method in class danbikel.parser.Words
Returns a new Word instance constructed from the specified word and tag symbols.
get(Symbol, Symbol, Symbol) - Static method in class danbikel.parser.Words
Returns a new Word instance constructed from the specified word, tag and feature-vector symbols.
get() - Method in class danbikel.switchboard.NumberedObject
Returns the underlying object.
get(InputStream) - Method in interface danbikel.switchboard.ObjectReaderFactory
Gets a new object reader for the specified input stream, using a default character encoding and buffer size, if applicable.
get(InputStream, String, int) - Method in interface danbikel.switchboard.ObjectReaderFactory
Gets a new object reader for the specified input stream.
get(String, String, int) - Method in interface danbikel.switchboard.ObjectReaderFactory
Gets a new object reader for the specified filename.
get(OutputStream, boolean, boolean) - Method in interface danbikel.switchboard.ObjectWriterFactory
Returns a newly-constructed ObjectWriter using the specified stream.
get(OutputStream, String, int, boolean, boolean) - Method in interface danbikel.switchboard.ObjectWriterFactory
Returns a newly-constructed ObjectWriter using the specified stream.
get(String, String, int, boolean) - Method in interface danbikel.switchboard.ObjectWriterFactory
Returns a newly-constructed ObjectWriter using the specified stream.
get(OutputStream, boolean, boolean) - Method in class danbikel.switchboard.TextObjectWriterFactory
 
get(OutputStream, String, int, boolean, boolean) - Method in class danbikel.switchboard.TextObjectWriterFactory
 
get(String, String, int, boolean) - Method in class danbikel.switchboard.TextObjectWriterFactory
 
get(int) - Method in class danbikel.util.FixedSizeArrayList
 
get(int) - Method in class danbikel.util.FixedSizeSingletonList
Returns the sole object in this list.
get(K, int) - Method in interface danbikel.util.FlexibleMap
Returns the value for the specified key.
get(Object) - Method in class danbikel.util.HashMap
 
get(Object, int) - Method in class danbikel.util.HashMap
 
get(K, int) - Method in class danbikel.util.HashMapPrimitive
 
get() - Method in class danbikel.util.IntCounter
Gets the current count.
get() - Method in class danbikel.util.ObjectBank
 
get() - Method in class danbikel.util.ObjectPool
 
getAdditionalData() - Method in class danbikel.parser.ProbabilityStructure
Returns the value of the ProbabilityStructure.additionalData member.
getAliveTimeout() - Method in class danbikel.switchboard.AbstractSwitchboardUser
Sets AbstractSwitchboardUser.aliveTimeout to be a reasonable value.
getAverageBucketSize(boolean) - Method in class danbikel.util.HashMap
 
getBoolean(String) - Static method in class danbikel.parser.Settings
Returns the boolean value of the specified setting, as determined by Boolean.valueOf(String).
getBooleanProperty(String, boolean) - Static method in class danbikel.parser.Settings
Returns the boolean value of specified property, or the specified default value if the specified property does not exist.
getByteValue() - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Gets the byte value associated with the key contained in this entry.
getByteValue(int) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Returns the byte value of the specified index associated with the key in this map entry.
getByteValue() - Method in interface danbikel.util.MapToPrimitive.Entry
Gets the byte value associated with the key contained in this entry.
getByteValue(int) - Method in interface danbikel.util.MapToPrimitive.Entry
Returns the byte value of the specified index associated with the key in this map entry.
getCacheStats() - Method in class danbikel.parser.JointModel
Returns a string representing the cache statistics for this and all other, internal Model objects.
getCacheStats() - Method in class danbikel.parser.Model
Returns a human-readable string containing all the precomputed or non-precomputed probability cache statistics for the life of this Model object.
getCanonical(Map) - Method in class danbikel.lisp.Sexp
Returns a canonical version of this S-expression.
getCanonical(SexpList) - Static method in class danbikel.lisp.SexpList
A simple canonicalization method that returns the unique object representing the empty list if the specified list contains no elements.
getCanonical(Symbol) - Method in class danbikel.parser.arabic.Treebank
Returns a canonical mapping for the specified nonterminal label; if label already is in canonical form, it is returned.
getCanonical(Symbol, boolean) - Method in class danbikel.parser.arabic.Treebank
 
getCanonical(boolean, Map<Subcat, Subcat>) - Method in class danbikel.parser.BrokenSubcatBag
 
getCanonical(Symbol) - Method in class danbikel.parser.chinese.Treebank
Returns a canonical mapping for the specified nonterminal label; if label already is in canonical form, it is returned.
getCanonical(Symbol, boolean) - Method in class danbikel.parser.chinese.Treebank
When the stripAugmentations argument is true, this method returns the same value as would be returned by 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.
getCanonical(Symbol) - Method in class danbikel.parser.english.BrokenTreebank
Returns a canonical mapping for the specified nonterminal label; if label already is in canonical form, it is returned.
getCanonical(Symbol, boolean) - Method in class danbikel.parser.english.BrokenTreebank
 
getCanonical(Symbol) - Method in class danbikel.parser.english.Treebank
Returns a canonical mapping for the specified nonterminal label; if label already is in canonical form, it is returned.
getCanonical(Symbol, boolean) - Method in class danbikel.parser.english.Treebank
 
getCanonical(Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
Returns a canonical mapping for the specified nonterminal label; if label already is in canonical form, it is returned.
getCanonical(Symbol, boolean) - Method in class danbikel.parser.lang.AbstractTreebank
 
getCanonical(Transition, FlexibleMap) - Static method in class danbikel.parser.Model
This method assumes trans already contains a canonical history and a canonical future.
getCanonical(boolean, Map<Subcat, Subcat>) - Method in interface danbikel.parser.Subcat
Returns a canonical instance of this object using the specified map (optional operation).
getCanonical(boolean, Map<Subcat, Subcat>) - Method in class danbikel.parser.SubcatBag
 
getCanonical(boolean, Map<Subcat, Subcat>) - Method in class danbikel.parser.SubcatList
 
getCanonical(Symbol) - Method in interface danbikel.parser.Treebank
Returns a canonical version of the specified nonterminal label; if label already is in canonical form, it is returned.
getCanonical(Symbol, boolean) - Method in interface danbikel.parser.Treebank
Returns a canonical version of the specified nonterminal label; if label already is in canonical form, it is returned.
getCanonicalArg(Symbol) - Method in class danbikel.parser.lang.AbstractTraining
Returns the canonical version of the specified argument nonterminal.
getCanonicalArg(Symbol, Nonterminal) - Method in class danbikel.parser.lang.AbstractTraining
Returns the canonical version of the specified argument nonterminal.
getCanonicalArg(Symbol) - Method in interface danbikel.parser.Training
Returns the canonical version of the specified argument nonterminal, crucially including its argument augmentation.
getCanonicalList(Map, SexpList) - Static method in class danbikel.parser.Trainer
Returns a canonical version of the specified list from the specified reflexive map.
getCanonicalWord(Word) - Method in class danbikel.parser.Decoder
Gets the canonical Word object for the specified object.
getCapacity() - Method in interface danbikel.util.FlexibleMap
Gets the capacity of this map (optional operation).
getCapacity() - Method in class danbikel.util.HashMap
Gets the capacity of this map (optional operation).
getCapacity() - Method in class danbikel.util.HashMapPrimitive
 
getCharValue() - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Gets the char value associated with the key contained in this entry.
getCharValue(int) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Returns the char value of the specified index associated with the key in this map entry.
getCharValue() - Method in interface danbikel.util.MapToPrimitive.Entry
Gets the char value associated with the key contained in this entry.
getCharValue(int) - Method in interface danbikel.util.MapToPrimitive.Entry
Returns the char value of the specified index associated with the key in this map entry.
getChildLabel(int) - Method in class danbikel.lisp.SexpList
This convenience method gets the symbol that is the first element of the list that is the element at index.
getChildren() - Method in class danbikel.parser.constraints.PartialTreeConstraint
Returns the list of children of this constraint.
getChildren() - Method in class danbikel.parser.constraints.UnlexTreeConstraint
Returns the children of this constraint.
getClass(int) - Method in class danbikel.parser.BrokenSubcatBag
This method returns the one class that Subcat objects need to support: Symbol.class.
getClass(int) - Method in interface danbikel.parser.Event
Maps the specified integer to a type that this Event is capable of collecting.
getClass(int) - Method in class danbikel.parser.SexpEvent
Returns Sexp.class if the specified type is 0.
getClass(int) - Method in class danbikel.parser.SexpSubcatEvent
Gets the class object associated with the specified type index.
getClass(int) - Method in class danbikel.parser.SubcatBag
This method returns the one class that Subcat objects need to support: Symbol.class.
getClass(int) - Method in class danbikel.parser.SubcatList
This method returns the one class that Subcat objects need to support: Symbol.class.
getConstraint() - Method in class danbikel.parser.CKYItem
 
getConstraint() - Method in class danbikel.parser.Item
Returns the constraint associated with this chart item, or null if this item has no associated constraint.
getConstraintsFromTree(Sexp) - Method in class danbikel.parser.Parser
After converting unknown words in the specified parse tree, this method constructs a constraint set using the method ConstraintSets.get(Object).
getDefaultNumberedObjectReaderFactory() - Static method in class danbikel.switchboard.Switchboard
Returns the default ObjectReaderFactory for numbered objects, which uses an ObjectInputStream from which to read objects.
getDefaultNumberedObjectWriterFactory() - Static method in class danbikel.switchboard.Switchboard
Returns the default ObjectWriterFactory for numbered objects, which uses an ObjectOutputStream to write objects.
getDefaultObjectReaderFactory() - Static method in class danbikel.switchboard.Switchboard
Returns the default ObjectReaderFactory for un-numbered objects, which uses an ObjectInputStream from which to read objects.
getDefaultObjectWriterFactory() - Static method in class danbikel.switchboard.Switchboard
Returns the default ObjectWriterFactory for un-numbered objects, which uses an ObjectOutputStream to write objects.
getDefaultsResource() - Static method in class danbikel.parser.Settings
Gets the fallback defaults from resource, thowing exception if resource unavailable (which is a very bad situation).
getDouble(String) - Static method in class danbikel.parser.Settings
Returns the double value of the specified setting, as determined by Double.parseDouble(String).
getDoubleValue(int) - Method in class danbikel.parser.Trainer.EventEntry
 
getDoubleValue() - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Gets the double value associated with the key contained in this entry.
getDoubleValue(int) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Returns the double value of the specified index associated with the key in this map entry.
getDoubleValue(int) - Method in class danbikel.util.HashMapDouble.Entry
Returns the double value associated with the key in this entry.
getDoubleValue(int) - Method in class danbikel.util.HashMapTwoDoubles.Entry
Returns the double value at the specified index associated with the key in this entry.
getDoubleValue() - Method in interface danbikel.util.MapToPrimitive.Entry
Gets the double value associated with the key contained in this entry.
getDoubleValue(int) - Method in interface danbikel.util.MapToPrimitive.Entry
Returns the double value of the specified index associated with the key in this map entry.
getEntry(Object) - Method in class danbikel.parser.FileBackedTrainerEventMap
Uses an Ο(n) algorithm to retrieve the map entry for the specified key.
getEntry(Object, int) - Method in class danbikel.parser.FileBackedTrainerEventMap
Simply invokes getEntry(key), returning the map entry for the specified key.
getEntry(K) - Method in class danbikel.util.AbstractMapToPrimitive
Gets the map entry associated with the specified key, or null if this map does not contain such a mapping.
getEntry(Object) - Method in class danbikel.util.HashMap
 
getEntry(K) - Method in class danbikel.util.HashMapPrimitive
Gets the map entry associated with the specified key, or null if this map does not contain such a mapping.
getEntry(K, int) - Method in class danbikel.util.HashMapPrimitive
Returns the entry associated with the specified key, or null if no such entry exists.
getEntry(K) - Method in interface danbikel.util.MapToPrimitive
Gets the map entry associated with the specified key, or null if this map does not contain such a mapping.
getEntry(K, int) - Method in interface danbikel.util.MapToPrimitive
 
getEntryMRU(Object) - Method in class danbikel.parser.FileBackedTrainerEventMap
Throws an UnsupportedOperationException because this is an unmodifiable map.
getEntryMRU(Object, int) - Method in class danbikel.parser.FileBackedTrainerEventMap
Throws an UnsupportedOperationException because this is an unmodifiable map.
getEntryMRU(K) - Method in class danbikel.util.AbstractMapToPrimitive
Gets the map entry for the specified key and, as a side-effect, puts the map entry at the front of the bucket list, indicating that it is the most-recently used entry (useful for caches implementing a bucket-LRU replacement scheme).
getEntryMRU(K) - Method in class danbikel.util.HashMapPrimitive
Gets the map entry for the specified key and, as a side-effect, puts the map entry at the front of the bucket list, indicating that it is the most-recently used entry (useful for caches implementing a bucket-LRU replacement scheme).
getEntryMRU(K, int) - Method in class danbikel.util.HashMapPrimitive
 
getEntryMRU(K) - Method in interface danbikel.util.MapToPrimitive
Returns the map entry for the specified key and, as a side-effect, puts the map entry at the front of the bucket list, indicating that it is the most-recently used entry (useful for caches implementing a bucket-LRU replacement scheme).
getEntryMRU(K, int) - Method in interface danbikel.util.MapToPrimitive
 
getEventIterator(SexpTokenizer, Symbol) - Static method in class danbikel.parser.Trainer
Returns an iterator over TrainerEvent objects that were written out in S-expression form.
getExampleWordForTag(Symbol) - Method in class danbikel.parser.Decoder
Returns a known word that was observed with the specified part of speech tag.
getFailover(boolean) - Static method in class danbikel.parser.Parser
Returns the boolean value of Settings.serverFailover, or the specified fallback default value if that property does not exist.
getFaultTolerantServer(int, int, boolean) - Method in class danbikel.switchboard.AbstractClient
Gets a new server and wraps it in proxies that ensure the fault tolerance of calls to that server.
getFile(String) - Static method in class danbikel.parser.Parser
Returns a new File object for the specified filename, or null if the specified file does not exist.
getFile(String, boolean) - Static method in class danbikel.parser.Parser
Returns a new File object for the specified filename, or null if the specified file does not exist.
getFileOrResourceAsStream(Class, String) - Static method in class danbikel.parser.Settings
Attempts to locate the file or resource with the specified name in one of three places: as a file path relative to the default settings directory, or as a file path relative to the current working directory, or relative to nothing, if 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.
getFloatValue() - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Gets the float value associated with the key contained in this entry.
getFloatValue(int) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Returns the float value of the specified index associated with the key in this map entry.
getFloatValue() - Method in interface danbikel.util.MapToPrimitive.Entry
Gets the float value associated with the key contained in this entry.
getFloatValue(int) - Method in interface danbikel.util.MapToPrimitive.Entry
Returns the float value of the specified index associated with the key in this map entry.
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.BrokenLeftSubcatModelStructure
Gets the future being predicted conditioning on this subcat event.
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.BrokenLexPriorModelStructure
Returns an event whose two components are the word and part-of-speech for which a marginal probability is being computed.
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.BrokenModWordModelStructure
Returns an event whose sole component is the word being generated as the head of some modifier nonterminal.
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.BrokenRightSubcatModelStructure
Gets the future being predicted conditioning on this subcat event.
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.BrokenTopLexModelStructure
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.GapModelStructure1
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.HeadModelStructure1
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.LeftSubcatModelStructure1
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.LeftSubcatModelStructure2
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.LexPriorModelStructure1
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.ModNonterminalModelStructure1
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.ModNonterminalModelStructure2
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.ModNonterminalModelStructure3
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.ModNonterminalModelStructure4
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.ModNonterminalModelStructure5
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.ModNonterminalModelStructure6
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.ModNonterminalModelStructure7
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.ModNonterminalModelStructure8
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.ModNonterminalModelStructure9
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.ModWordModelStructure1
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.ModWordModelStructure2
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.ModWordModelStructure3
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.ModWordModelStructure4
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.ModWordModelStructure5
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.ModWordModelStructure6
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.ModWordModelStructure7
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.ModWordModelStructure8
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.ModWordModelStructure9
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.NonterminalPriorModelStructure1
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.RightSubcatModelStructure1
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.RightSubcatModelStructure2
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.TagModelStructure1
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.TagModelStructure2
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.TopLexModelStructure1
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ms.TopNonterminalModelStructure1
 
getFuture(TrainerEvent, int) - Method in class danbikel.parser.ProbabilityStructure
Extracts the future for the specified level of back-off from the specified trainer event.
getFutures(Set, Model, int) - Static method in class danbikel.parser.AnalyzeDisns
Returns all possible futures for the specified model at the specified back-off level, using the specified set for storage (the specified set is first cleared before futures are stored).
getHeadWordLabel() - Method in class danbikel.parser.HeadTreeNode
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.BrokenLexPriorModelStructure
As this model simulates unconditional probabilities using relative-frequency estimation, this method returns a history whose sole component is a dummy object that is the same regardless of the “future” being estimated.
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.BrokenModWordModelStructure
Returns the history event corresponding to the specified back-off level.
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.BrokenTopLexModelStructure
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.GapModelStructure1
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.HeadModelStructure1
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.LexPriorModelStructure1
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.ModNonterminalModelStructure1
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.ModNonterminalModelStructure2
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.ModNonterminalModelStructure3
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.ModNonterminalModelStructure4
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.ModNonterminalModelStructure6
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.ModNonterminalModelStructure7
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.ModNonterminalModelStructure8
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.ModNonterminalModelStructure9
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.ModWordModelStructure1
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.ModWordModelStructure2
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.ModWordModelStructure3
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.ModWordModelStructure4
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.ModWordModelStructure5
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.ModWordModelStructure6
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.ModWordModelStructure7
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.ModWordModelStructure8
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.ModWordModelStructure9
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.NonterminalPriorModelStructure1
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.SubcatModelStructure1
Returns a history for the specified back-off level, according to the following zero-indexed list of history events.
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.SubcatModelStructure2
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.TagModelStructure1
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.TagModelStructure2
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.TopLexModelStructure1
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ms.TopNonterminalModelStructure1
 
getHistory(TrainerEvent, int) - Method in class danbikel.parser.ProbabilityStructure
Extracts the history context for the specified back-off level from the specified trainer event.
getInteger() - Method in class danbikel.lisp.IntSymbol
Gets the internal Integer object for this symbol.
getInteger() - Method in class danbikel.lisp.StringSymbol
Returns null, since this extension of Symbol only stores strings.
getInteger() - Method in class danbikel.lisp.Symbol
Gets the Integer object associated with this Symbol.
getInteger(String) - Static method in class danbikel.parser.Settings
Returns the integer value of the specified setting, as determined by Integer.parseInt(String).
getIntProperty(String, int) - Static method in class danbikel.parser.Settings
Returns the integer value of specified property, or the specified default value if the specified property does not exist.
getIntValue() - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Gets the int value associated with the key contained in this entry.
getIntValue(int) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Returns the int value of the specified index associated with the key in this map entry.
getIntValue(int) - Method in class danbikel.util.HashMapInt.Entry
Returns the int value associated with the key in this entry.
getIntValue(int) - Method in class danbikel.util.HashMapTwoInts.Entry
Returns the int value at the specified index associated with the key in this entry.
getIntValue() - Method in interface danbikel.util.MapToPrimitive.Entry
Gets the int value associated with the key contained in this entry.
getIntValue(int) - Method in interface danbikel.util.MapToPrimitive.Entry
Returns the int value of the specified index associated with the key in this map entry.
getKeepAliveInterval() - Method in class danbikel.switchboard.Switchboard
 
getKeepAliveInterval() - Method in interface danbikel.switchboard.SwitchboardRemote
 
getKeepAliveMaxRetries() - Method in class danbikel.switchboard.Switchboard
 
getKeepAliveMaxRetries() - Method in interface danbikel.switchboard.SwitchboardRemote
 
getKey() - Method in class danbikel.parser.Trainer.EventEntry
Returns the event key associated with this map entry.
getKey() - Method in class danbikel.util.AbstractMapToPrimitive.Entry
 
getLabel(Symbol, boolean) - Method in class danbikel.parser.CKYItem
Helper method used by CKYItem.toSexpInternal(boolean), to provide a layer of abstraction so that the label can include, e.g., head information.
getLanguage() - Static method in class danbikel.parser.Language
Gets the name of the current language.
getLanguagePackage() - Static method in class danbikel.parser.Language
Gets the name of the current language package.
getLoadFactor() - Method in interface danbikel.util.FlexibleMap
Gets the load factor of this map (optional operation).
getLoadFactor() - Method in class danbikel.util.HashMap
Gets the load factor of this map (optional operation).
getLoadFactor() - Method in class danbikel.util.HashMapPrimitive
 
getLogProbDisn(Model, int, Event, Set, double[], Transition) - Static method in class danbikel.parser.AnalyzeDisns
Returns the smoothed log-probability distribution for the specified history at the specified back-off level in the specified model.
getLongValue() - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Gets the long value associated with the key contained in this entry.
getLongValue(int) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Returns the long value of the specified index associated with the key in this map entry.
getLongValue() - Method in interface danbikel.util.MapToPrimitive.Entry
Gets the long value associated with the key contained in this entry.
getLongValue(int) - Method in interface danbikel.util.MapToPrimitive.Entry
Returns the long value of the specified index associated with the key in this map entry.
getMainClassName() - Method in class danbikel.util.JarClassLoader
Returns the name of the jar file main class, or null if no "Main-Class" manifest attributes was defined.
getMaxBucketSize() - Method in class danbikel.util.HashMap
 
getModel(int) - Method in class danbikel.parser.JointModel
Returns this or any of the internal Model instances used to produce joint probability estimates.
getModel(int) - Method in class danbikel.parser.Model
Returns this model object.
getModelCacheStats() - Method in class danbikel.parser.DecoderServer
A flow-through method for ModelCollection.getModelCacheStats().
getModelCacheStats() - Method in class danbikel.parser.ModelCollection
Invokes Model.getCacheStats() on each Model contained in this model collection, and returns the results as a single String.
getNewDecoder(int, DecoderServerRemote) - Method in class danbikel.parser.EMParser
Gets a new Decoder instance that uses the specified DecoderServerRemote instance.
getNewDecoder(int, DecoderServerRemote) - Method in class danbikel.parser.Parser
 
getNewDecoderServer(String) - Static method in class danbikel.parser.Parser
Gets a new decoder server for when creating a stand-alone parsing client (i.e., a parsing client that creates its own DecoderServerRemote instance).
getNewEMItem() - Method in class danbikel.parser.EMChart
Returns a new EMItem.
getNewEntry(int, K, HashMapPrimitive.Entry<K>) - Method in class danbikel.util.HashMapDouble
Gets a map entry for this type of map, containing a key and a double.
getNewEntry(int, K, HashMapPrimitive.Entry<K>) - Method in class danbikel.util.HashMapInt
Gets a map entry for this type of map, containing a key and an int.
getNewEntry(int, K, HashMapPrimitive.Entry<K>) - Method in class danbikel.util.HashMapPrimitive
The method used when constructing map entries for concrete subclasses.
getNewEntry(int, K, HashMapPrimitive.Entry<K>) - Method in class danbikel.util.HashMapTwoDoubles
Gets a map entry for this type of map, containing a key and a pair of doubles.
getNewEntry(int, K, HashMapPrimitive.Entry<K>) - Method in class danbikel.util.HashMapTwoInts
Gets a map entry for this type of map, containing a key and a pair of ints.
getNewItem() - Method in class danbikel.parser.CKYChart
Returns a new chart item from the internal pool of reusable items.
getNewParser(String) - Static method in class danbikel.parser.Parser
Returns a new parsing client constructed via its single-String constructor using the specified derived data filename as the argument.
getNewParser(int) - Static method in class danbikel.parser.Parser
Returns a new parsing client constructed via its single-int constructor using the specified timeout value as the argument.
getNonterminalArr() - Method in class danbikel.parser.ModelCollection
Returns the ModelCollection.nonterminalArr member.
getNonterminalMap() - Method in class danbikel.parser.ModelCollection
Returns the ModelCollection.nonterminalMap member.
getNumNonEmptyBuckets() - Method in class danbikel.util.HashMap
 
getOrCreateEntry(K) - Method in class danbikel.util.HashMapPrimitive
Returns the entry associated with the specified key, or, if no such entry exists, creates one and returns it.
getParent() - Method in class danbikel.parser.constraints.AbstractConstraint
Throws an UnsupportedOperationException.
getParent() - Method in interface danbikel.parser.constraints.Constraint
Gets the parent constraint of this constraint (optional operation).
getParent() - Method in class danbikel.parser.constraints.PartialTreeConstraint
Returns the parent of this constraint if this constraint has been PartialTreeConstraint.fullySatisfied; otherwise, returns this constraint.
getParent() - Method in class danbikel.parser.constraints.UnlexTreeConstraint
Returns the parent of this constraint.
getPossibleSubcats(Map, HeadEvent, ProbabilityStructure, int) - Method in class danbikel.parser.Decoder
Gets all possible Subcats for the context contained in the specified HeadEvent.
getPrevMods(CKYItem, SLNode) - Method in class danbikel.parser.Decoder
Creates a new previous-modifier list given the specified current list and the last modifier on a particular side.
getPrevModWords(CKYItem, SLNode, boolean) - Method in class danbikel.parser.Decoder
Creates a new previous-modifier word list given the specified current list and the last modifier on a particular side.
getProb(K) - Method in class danbikel.parser.ProbabilityCache
Returns the Double containing the probability of the specified key, or null if the specified key is not in this cache.
getProbStructure() - Method in class danbikel.parser.JointModel
Returns the primary probability structure of this joint model, which is that used by this Model instance (as opposed to one of the internal Model instances).
getProbStructure(int) - Method in class danbikel.parser.JointModel
Returns a probability structure of this joint model, which is either that used by this Model instance, or a structure used by one of the internal Model instances.
getProbStructure() - Method in class danbikel.parser.Model
Returns the type of ProbabilityStructure object used during the invocation of Model.deriveCounts(CountsTable,Filter,double,FlexibleMap).
getPrunedPreterms() - Method in class danbikel.parser.lang.AbstractTraining
Returns the set of pruned preterminals (Sexp objects).
getPrunedPreterms() - Method in interface danbikel.parser.Training
Returns the set of pruned preterminals (Sexp objects).
getPrunedPunctuation() - Method in class danbikel.parser.lang.AbstractTraining
Returns the set of preterminals (Sexp objects) that were punctuation elements that were "raised away" because they were either at the beginning or end of a sentence.
getPrunedPunctuation() - Method in interface danbikel.parser.Training
Returns the set of preterminals (Sexp objects) that were punctuation elements that were "raised away" because they were either at the beginning or end of a sentence.
getRetries(int) - Static method in class danbikel.parser.Parser
Returns the integer value of Settings.serverMaxRetries, or the specified fallback default value if that property does not exist.
getRetrySleep(int) - Static method in class danbikel.parser.Parser
Returns the integer value of Settings.serverRetrySleep, or the specified fallback default value if that property does not exist.
getServer() - Method in class danbikel.parser.Parser
Unless it is time to die, this method continually tries the switchboard until it can assign this client a server.
getServer() - Method in class danbikel.switchboard.AbstractClient
Unless it is time to die, this method continually tries the switchboard until it can assign this client a server.
getServer(int) - Method in class danbikel.switchboard.Switchboard
 
getServer(int, int) - Method in class danbikel.switchboard.Switchboard
 
getServer(int) - Method in interface danbikel.switchboard.SwitchboardRemote
Returns a Server for use by a client.
getServer(int, int) - Method in interface danbikel.switchboard.SwitchboardRemote
Returns a Server associated with the specified server ID to the requesting client.
getSetting(String) - Method in class danbikel.switchboard.Switchboard
Gets the value for the specified settings from the switchboard's internal Properties object.
getSetting(String) - Method in interface danbikel.switchboard.SwitchboardRemote
Gets the value for the specified setting (property) from the internal settings (Properties) object of the switchboard.
getSettings() - Static method in class danbikel.parser.Settings
Returns a deep copy of the internal Properties object.
getSettings() - Method in class danbikel.switchboard.Switchboard
Gets the internal Properties object used for various settings of this switchboard.
getSettings() - Method in interface danbikel.switchboard.SwitchboardRemote
Gets the settings contained within this switchboard, so that clients and servers all have the same settings.
getShortValue() - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Gets the short value associated with the key contained in this entry.
getShortValue(int) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Returns the short value of the specified index associated with the key in this map entry.
getShortValue() - Method in interface danbikel.util.MapToPrimitive.Entry
Gets the short value associated with the key contained in this entry.
getShortValue(int) - Method in interface danbikel.util.MapToPrimitive.Entry
Returns the short value of the specified index associated with the key in this map entry.
getStandardSexpStream(File) - Static method in class danbikel.parser.Trainer
Returns a new SexpTokenizer wrapped around the specified file using the encoding specified by Language.encoding() and a buffer size equal to Constants.defaultFileBufsize.
getStats() - Method in interface danbikel.util.FlexibleMap
Returns a string that represents the useful statistics of this map (useful/necessary in the case of hash maps, where it is desirable to know the number of collisions and average and maximum buckets sizes).
getStats() - Method in class danbikel.util.HashMap
Returns a string that represents the useful statistics of this map (useful/necessary in the case of hash maps, where it is desirable to know the number of collisions and average and maximum buckets sizes).
getStats() - Method in class danbikel.util.HashMapPrimitive
 
getSwitchboard(String) - Method in class danbikel.switchboard.AbstractSwitchboardUser
Repeatedly tries to get the switchboard stub from the bootstrap registry.
getSwitchboard(String, boolean) - Method in class danbikel.switchboard.AbstractSwitchboardUser
Repeatedly tries to get the switchboard stub from the bootstrap registry.
getSwitchboard(String, boolean, PrintWriter) - Method in class danbikel.switchboard.AbstractSwitchboardUser
Repeatedly tries to get the switchboard stub from the bootstrap registry.
getSwitchboard(String, int) - Static method in class danbikel.switchboard.AbstractSwitchboardUser
Repeatedly tries the specified number of times to get the switchboard stub from the bootstrap registry.
getSwitchboard(String, int, boolean) - Static method in class danbikel.switchboard.AbstractSwitchboardUser
Repeatedly tries the specified number of times to get the switchboard stub from the bootstrap registry.
getSwitchboard(String, int, boolean, PrintWriter) - Static method in class danbikel.switchboard.AbstractSwitchboardUser
Repeatedly tries the specified number of times to get the switchboard stub from the bootstrap registry.
getSymKey() - Method in class danbikel.lisp.IntSymbol
Returns the key used by the internal symbol map of the class Symbol, which, for this type of symbol, is the Integer object returned by IntSymbol.getInteger().
getSymKey() - Method in class danbikel.lisp.StringSymbol
Returns the key used by the internal symbol map of the class Symbol, which, for this type of symbol, is the String object returned by StringSymbol.toString().
getSymKey() - Method in class danbikel.lisp.Symbol
Gets the unique key for this symbol used by the internal symbol map.
getTag(Sexp) - Method in class danbikel.parser.lang.AbstractTreebank
Gets the component of the preterminal tree that corresponds to the part of speech tag.
getTag(Sexp) - Method in interface danbikel.parser.Treebank
Gets the component of the preterminal tree that corresponds to the part of speech tag.
getTagLists(SexpList) - Method in class danbikel.parser.Parser
Returns a new list of the tag lists for each word when the specified sentence is in the format described in the comments for the Parser.sentContainsWordsAndTags(SexpList).
getTagListsFromTree(Sexp) - Method in class danbikel.parser.Parser
Collects a list of symbols that are the part-of-speech tags (preterminals) of the specified tree.
getTagSet(SexpList, int, Symbol, boolean, Symbol, HashSet) - Method in class danbikel.parser.Decoder
Gets the set of possible part-of-speech tags for a word in the sentence to be parsed.
getTail(String) - Static method in class danbikel.parser.StartSwitchboard
Removes any and all directory components of the specified filename.
getTimeout() - Static method in class danbikel.parser.DecoderServer
Obtains the timeout from Settings.
getTimeout() - Static method in class danbikel.parser.Parser
Obtains the timeout from Settings.
getTopItem(int, int) - Method in class danbikel.parser.Chart
Returns the item with the highest log probability covering the specified span, or null if this span has no items.
getTopLevelCacheSize() - Method in class danbikel.parser.ProbabilityStructure
This method converts the value of the setting named getClass().getName() + ".topLevelCacheSize" to an integer and returns it.
getTopLogProb(int, int) - Method in class danbikel.parser.Chart
Returns the highest log probability of an item covering the specified span.
getTraceIndex(Sexp, Nonterminal) - Method in class danbikel.parser.lang.AbstractTreebank
Returns the index of a trace for the specified null element preterminal.
getTraceIndex(Sexp, Nonterminal) - Method in interface danbikel.parser.Treebank
Returns the index of a trace for the specified null element preterminal.
getTransition(TrainerEvent, int) - Method in class danbikel.parser.ProbabilityStructure
Returns the reusable transition object for the specified back-off level, with its history set to the result of calling getHistory(trainerEvent, backOffLevel) and its future the result of getFuture(trainerEvent, backOffLevel).
getTransitions(Transition, Transition[]) - Method in class danbikel.parser.Model
Inserts the Transition objects representing conditional events for all back-off levels of this model into the specified array, with trans[0] = zeroLevelTrans.
getValue() - Method in class danbikel.parser.Trainer.EventEntry
Throws an UnsupportedOperationException.
getValue() - Method in class danbikel.util.HashMapDouble.Entry
Returns a Double whose value is the double in this entry.
getValue() - Method in class danbikel.util.HashMapInt.Entry
Returns an Integer whose value is the int in this entry.
getValue() - Method in class danbikel.util.HashMapPrimitive.Entry
Throws an UnsupportedOperationException.
getVerbose() - Method in class danbikel.switchboard.Switchboard
Returns the verbosity status of the switchboard.
getWord(int) - Method in interface danbikel.parser.WordList
Gets the Word object at the specified index.
getWords(SexpList) - Method in class danbikel.parser.Parser
Returns a new list containing only the words of the sentence to be parsed when the sentence is in the format described in the comment for the Parser.sentContainsWordsAndTags(SexpList) method.
getWordsFromTree(Sexp) - Method in class danbikel.parser.Parser
Returns a new list containing the word symbols from the specified tree.
getWordsFromTree(SexpList, Sexp) - Method in class danbikel.parser.Parser
Gets the words of the sentence to be parsed from the specified parse tree.
getWriteInterval() - Method in class danbikel.parser.EventCountsConsumer
Gets the write interval for this consumer.
globalDoPruning - Static variable in class danbikel.parser.Model
Caches the value of Settings.modelDoPruning.
globalModelStructureNumber - Static variable in class danbikel.parser.Settings
The property to specify the model structure number to use when creating ProbabilityStructure objects.
grabSBSettings - Static variable in class danbikel.parser.Parser
Indicates whether the user specified on the command line for this client to grab its settings from the switchboard.

H

HALF_LIFE - Static variable in class danbikel.parser.ProbabilityCache
Integer to indicate to delete a random half of the elements every time the size limit of this cache has been reached or exceeded.
hardConstraints - Variable in class danbikel.parser.Decoder
The boolean to indicate whether to allow probability estimates equal to Constants.logOfZero and to allow other hard constraints (that amount to implicit log of zero probability estimates).
hasAntecedent(Item) - Method in class danbikel.parser.CKYItem
Indicates that the specified item is an antecedent to this item, allowing a subclass instance to store a list of antecedents, or do other computation based on its antecedents.
hasBeenSatisfied() - Method in class danbikel.parser.constraints.AbstractConstraint
Throws an UnsupportedOperationException.
hasBeenSatisfied() - Method in interface danbikel.parser.constraints.Constraint
Returns whether this constraint has been satisfied (optional operation).
hasBeenSatisfied() - Method in class danbikel.parser.constraints.PartialTreeConstraint
Returns whether this constraint has been partially satisfied.
hasBeenSatisfied() - Method in class danbikel.parser.constraints.UnlexTreeConstraint
Returns whether this constraint has been satisfied by at least one chart item.
hasEquivalentItem(Item) - Method in class danbikel.parser.CKYItem
Indicates that the specified item is equivalent to this item, allowing a subclass to do arbitrary computation when the decoder produces such an item (this method is guaranteed to be called by the decoder when that happens).
hasEquivalentItem(Item) - Method in class danbikel.parser.Item
Indicates that the specified item that was produced during decoding is equivalent to this item.
hasGap(Sexp, Sexp, ArrayList) - Method in class danbikel.parser.lang.AbstractTraining
Returns -1 if tree has no gap (trace), or the index of the trace otherwise.
hasGap(Symbol) - Method in class danbikel.parser.lang.AbstractTraining
Returns true if and only if label has a gap augmentation as added by AbstractTraining.addGapInformation(Sexp).
hasGap(Symbol) - Method in interface danbikel.parser.Training
Returns true if and only if label has a gap augmentation as added by Training.addGapInformation(Sexp).
hashCode() - Method in class danbikel.lisp.SexpList.HashCache
Returns the precomputed hash value for this list.
hashCode() - Method in class danbikel.lisp.SexpList
Returns the hash code value for this list.
hashCode() - Method in class danbikel.parser.BrokenSubcatBag
Computes the hash code for this subcat.
hashCode() - Method in class danbikel.parser.CKYItem.BaseNPAware
Returns a hash code for this item.
hashCode() - Method in class danbikel.parser.CKYItem
Computes the hash code based on all elements used by the CKYItem.equals(java.lang.Object) method.
hashCode() - Method in class danbikel.parser.CKYItem.KBestHack
Returns the value of System.identityHashCode(this).
hashCode() - Method in class danbikel.parser.CKYItem.MappedPrevModBaseNPAware
Computes the hash code based on all elements used by the CKYItem.MappedPrevModBaseNPAware.equals(java.lang.Object) method.
hashCode() - Method in class danbikel.parser.CKYItem.PrevModIsStart
Computes the hash code based on all elements used by the CKYItem.PrevModIsStart.equals(java.lang.Object) method.
hashCode() - Method in interface danbikel.parser.Event
Returns the hash code for this event.
hashCode() - Method in class danbikel.parser.GapEvent
Returns the hash code of this object, calculated from the hash codes of all its data members.
hashCode() - Method in class danbikel.parser.HeadEvent
Returns the hash code of this object, calculated from the hash codes of all its data members.
hashCode() - Method in class danbikel.parser.ModifierEvent
Returns the hash code of this object, calculated from the hash codes of all its data members.
hashCode() - Method in class danbikel.parser.PriorEvent
Returns a hash code for this object.
hashCode() - Method in class danbikel.parser.SexpEvent
Returns the hash code of the backing Sexp object.
hashCode() - Method in class danbikel.parser.SexpSubcatEvent
Returns the hash code of this event, based on its components.
hashCode() - Method in interface danbikel.parser.Subcat
Returns a hash code of this object.
hashCode() - Method in class danbikel.parser.SubcatBag
Computes the hash code for this subcat.
hashCode() - Method in class danbikel.parser.Transition
Returns the hash code of this transition object, based on the hash codes of its component history and future events.
hashCode(int) - Method in class danbikel.parser.Transition
Returns the hash code for this object using the specified hash code for the history event.
hashCode() - Method in class danbikel.parser.Word
Returns a hash value for this object.
hashCode() - Method in class danbikel.util.AbstractFixedSizeList
Generates a hash code for this list.
hashCode() - Method in class danbikel.util.FixedSizeSingletonList
 
hashCode() - Method in class danbikel.util.HashMapDouble.Entry
 
hashCode() - Method in class danbikel.util.HashMapInt.Entry
 
hashCode() - Method in class danbikel.util.HashMapPrimitive.Entry
 
hashCode() - Method in class danbikel.util.HashMapTwoDoubles.Entry
 
hashCode() - Method in class danbikel.util.HashMapTwoInts.Entry
 
hashCode() - Method in class danbikel.util.IntCounter
 
hashCode() - Method in class danbikel.util.IntPair
Returns the hash code for this integer pair, which is defined to be 31 * first + second where first and second are the two integers of this integer pair.
hashCode() - Method in class danbikel.util.Pair
Returns a hash code that is formed from the hash codes of the two objects of this pair.
hashCode() - Method in class danbikel.util.TimeoutSocketFactory
 
hashCodeBitmask - Static variable in class danbikel.util.HashMapPrimitive
The hash code bit mask, 0x7fffffff.
HashMap<K,V> - Class in danbikel.util
Home-grown implementation of a hash map, in order to support the FlexibleMap interface.
HashMap() - Constructor for class danbikel.util.HashMap
 
HashMap(int) - Constructor for class danbikel.util.HashMap
 
HashMap(int, float) - Constructor for class danbikel.util.HashMap
 
HashMap(Map<? extends K, ? extends V>) - Constructor for class danbikel.util.HashMap
 
HashMapDouble<K> - Class in danbikel.util
A map from arbitrary keys to double values.
HashMapDouble(int, float) - Constructor for class danbikel.util.HashMapDouble
Constructs a new, empty map with the specified initial capacity and the specified load factor.
HashMapDouble(int) - Constructor for class danbikel.util.HashMapDouble
Constructs a new, empty map with the specified initial capacity and default load factor.
HashMapDouble() - Constructor for class danbikel.util.HashMapDouble
Constructs a new, empty map with a default capacity and load factor.
HashMapDouble(Map) - Constructor for class danbikel.util.HashMapDouble
Constructs a new map with the same mappings as the given map.
HashMapDouble.Entry<K> - Class in danbikel.util
A map entry for this type of map, containing a key and a double.
HashMapDouble.Entry() - Constructor for class danbikel.util.HashMapDouble.Entry
Constructs a new entry for this type of map with default values for the data members (this default constructor here for serialization reasons).
HashMapDouble.Entry(int, K, HashMapPrimitive.Entry<K>) - Constructor for class danbikel.util.HashMapDouble.Entry
Constructs a new entry for a map from objects to doubles.
HashMapDouble.Entry(int, K, double, HashMapPrimitive.Entry) - Constructor for class danbikel.util.HashMapDouble.Entry
Constructs a new entry for a map from objects to doubles.
HashMapInt<K> - Class in danbikel.util
A map from arbitrary keys to int values.
HashMapInt(int, float) - Constructor for class danbikel.util.HashMapInt
Constructs a new, empty map with the specified initial capacity and the specified load factor.
HashMapInt(int) - Constructor for class danbikel.util.HashMapInt
Constructs a new, empty map with the specified initial capacity and default load factor.
HashMapInt() - Constructor for class danbikel.util.HashMapInt
Constructs a new, empty map with a default capacity and load factor.
HashMapInt(Map) - Constructor for class danbikel.util.HashMapInt
Constructs a new map with the same mappings as the given map.
HashMapInt.Entry<K> - Class in danbikel.util
A map entry for this type of map, containing a key and an int.
HashMapInt.Entry() - Constructor for class danbikel.util.HashMapInt.Entry
Constructs a new entry for this type of map with default values for the data members (this default constructor here for serialization reasons).
HashMapInt.Entry(int, K, HashMapPrimitive.Entry<K>) - Constructor for class danbikel.util.HashMapInt.Entry
Constructs a new entry for a map from objects to ints.
HashMapInt.Entry(int, K, int, HashMapPrimitive.Entry<K>) - Constructor for class danbikel.util.HashMapInt.Entry
Constructs a new entry for a map from objects to ints.
HashMapPrimitive<K> - Class in danbikel.util
A home-grown hash map from objects to indexed sequences of primitives.
HashMapPrimitive() - Constructor for class danbikel.util.HashMapPrimitive
Constructs a new map from objects to primitive values, using the default initial capacity and the default load factor.
HashMapPrimitive(int) - Constructor for class danbikel.util.HashMapPrimitive
Constructs a new map from objects to primitive values, using the default load factory
HashMapPrimitive(int, float) - Constructor for class danbikel.util.HashMapPrimitive
Constructs a new map from objects to primitive values.
HashMapPrimitive(Map<? extends K, Object>) - Constructor for class danbikel.util.HashMapPrimitive
 
HashMapPrimitive.Entry<K> - Class in danbikel.util
A still-abstract extension of the AbstractMapToPrimitive.Entry that adds a next pointer and an int to cache the hash value of the key held by this entry.
HashMapPrimitive.Entry() - Constructor for class danbikel.util.HashMapPrimitive.Entry
Constructs a new entry, with all default values for data members (this no-argument constructor necessary for serialization).
HashMapPrimitive.Entry(int, K, HashMapPrimitive.Entry<K>) - Constructor for class danbikel.util.HashMapPrimitive.Entry
Constructs a new entry with the specified values for its data members.
HashMapTwoDoubles<K> - Class in danbikel.util
A map for storing arbitrary Object instances as keys with ordered pairs of doubles as values.
HashMapTwoDoubles(int, float) - Constructor for class danbikel.util.HashMapTwoDoubles
Constructs a new, empty map with the specified initial capacity and the specified load factor.
HashMapTwoDoubles(int) - Constructor for class danbikel.util.HashMapTwoDoubles
Constructs a new, empty map with the specified initial capacity and default load factor.
HashMapTwoDoubles() - Constructor for class danbikel.util.HashMapTwoDoubles
Constructs a new, empty map with a default capacity and load factor.
HashMapTwoDoubles(Map) - Constructor for class danbikel.util.HashMapTwoDoubles
Constructs a new map with the same mappings as the given map.
HashMapTwoDoubles.Entry<K> - Class in danbikel.util
A map entry for this type of map, containing a key and a pair of doubles.
HashMapTwoDoubles.Entry() - Constructor for class danbikel.util.HashMapTwoDoubles.Entry
Constructs a new entry for this type of map with default values for the data members (this default constructor here for serialization reasons).
HashMapTwoDoubles.Entry(int, K, HashMapPrimitive.Entry<K>) - Constructor for class danbikel.util.HashMapTwoDoubles.Entry
Constructs a new entry for a map from objects to pairs of doubles.
HashMapTwoDoubles.Entry(int, K, double, double, HashMapPrimitive.Entry<K>) - Constructor for class danbikel.util.HashMapTwoDoubles.Entry
Constructs a new entry for a map from objects to pairs of doubles.
HashMapTwoInts<K> - Class in danbikel.util
A map for storing arbitrary Object instances as keys with ordered pairs of ints as values.
HashMapTwoInts(int, float) - Constructor for class danbikel.util.HashMapTwoInts
Constructs a new, empty map with the specified initial capacity and the specified load factor.
HashMapTwoInts(int) - Constructor for class danbikel.util.HashMapTwoInts
Constructs a new, empty map with the specified initial capacity and default load factor.
HashMapTwoInts() - Constructor for class danbikel.util.HashMapTwoInts
Constructs a new, empty map with a default capacity and load factor.
HashMapTwoInts(Map) - Constructor for class danbikel.util.HashMapTwoInts
Constructs a new map with the same mappings as the given map.
HashMapTwoInts.Entry<K> - Class in danbikel.util
A map entry for this type of map, containing a key and a pair of ints.
HashMapTwoInts.Entry() - Constructor for class danbikel.util.HashMapTwoInts.Entry
Constructs a new entry for this type of map with default values for the data members (this default constructor here for serialization reasons).
HashMapTwoInts.Entry(int, K, HashMapPrimitive.Entry<K>) - Constructor for class danbikel.util.HashMapTwoInts.Entry
Constructs a new entry for a map from objects to pairs of ints.
HashMapTwoInts.Entry(int, K, int, int, HashMapPrimitive.Entry<K>) - Constructor for class danbikel.util.HashMapTwoInts.Entry
Constructs a new entry for a map from objects to ints.
hasPossessiveChild(Sexp) - Method in class danbikel.parser.arabic.Training
We override this method so that it always returns 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.