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.DecoderServerRemote
A mapping from head labels to possible parent labels.
headToParentMap - Variable in class danbikel.parser.ModelCollection
A mapping from head labels to possible parent labels.
headToParentMap() - Method in class danbikel.parser.ModelCollection
Returns a mapping from head labels to possible parent labels.
headToParentMap - Variable in class danbikel.parser.Trainer
A map of head child nonterminals to their observed parent nonterminals.
HeadTreeNode - Class in danbikel.parser
Provides a convenient data structure for navigating a parse tree in which heads have been found and percolated up through the tree.
HeadTreeNode(Sexp) - Constructor for class danbikel.parser.HeadTreeNode
Constructs a new instance from the specified parse tree.
headTreeNodeToString(HeadTreeNode) - Static method in class danbikel.parser.util.DebugChart
Returns a string of the form [start,end,label<headWord>, <headChild>] where <headWord> is the head word and where <headChild> is either a string of the form [start,end,label] or null if the specified HeadTreeNode is a preterminal.
headWord - Variable in class danbikel.parser.CKYItem
The head word of this chart item.
headWord() - Method in class danbikel.parser.CKYItem
Returns the head word of this chart item.
headWord - Variable in class danbikel.parser.constraints.LexTreeConstraint
The head word associated with this constraint.
headWord - Variable in class danbikel.parser.constraints.PartialLexTreeConstraint
The head word associated with this constraint.
headWord() - Method in class danbikel.parser.GapEvent
Returns the head word.
headWord() - Method in class danbikel.parser.HeadEvent
Returns the head word of this head event.
headWord() - Method in class danbikel.parser.HeadTreeNode
Gets the head word for this node.
headWord() - Method in class danbikel.parser.ModifierEvent
Returns the head word of the head child being modified.
headWord() - Method in class danbikel.parser.PriorEvent
Returns the head word of this event.
headWord() - Method in interface danbikel.parser.TrainerEvent
Returns the head word object associated with an event, or null if this TrainerEvent has no such object.
headWordIdx() - Method in class danbikel.parser.CKYItem
Recursively computes the index of the head word of this derivation.
headWordIdx() - Method in class danbikel.parser.HeadTreeNode
Gets the index of the head word for this node.
hist - Static variable in class danbikel.parser.CountsTrio
The constant to be used as an index when adding or retrieving history counts from the BiCountsTable returned by CountsTrio.history().
histBackOffMap - Variable in class danbikel.parser.Model
A set of Model.numLevels - 1 maps, where map i is a map from back-off level i histories to i + 1 histories.
histories - Variable in class danbikel.parser.ProbabilityStructure
A reusable SexpEvent array to represent history contexts; the array will be initialized to have the size of ProbabilityStructure.numLevels().
historiesToPrune - Variable in class danbikel.parser.Model
A set of sets used to collect histories that are to be pruned.
historiesWithSubcats - Variable in class danbikel.parser.ProbabilityStructure
A reusable SexpSubcatEvent array to represent histories; the array will be initialized to have the size of ProbabilityStructure.numLevels().
history() - Method in class danbikel.parser.CountsTrio
Gets the CountsTable for histories counts and diversity statistics.
history() - Method in class danbikel.parser.PriorEvent
Returns the same symbol for all instances of this class, so that priors may be computed via the same mechanism as conditional probabilities: if the conditioning context is the same for all events counted, then the MLEs for those conditional events are the same as would be the MLEs for the prior probabilities of the predicted events.
history() - Method in class danbikel.parser.Transition
Gets the history event of this transition object.
historyList - 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.
host() - Method in class danbikel.parser.CachingDecoderServer
 
host() - Method in class danbikel.switchboard.AbstractSwitchboardUser
Returns the host on which this switchboard user is running.
host() - Method in interface danbikel.switchboard.SwitchboardUser
Returns the hostname on which this switchboard user is running.

I

ibmTokenizer(Reader, boolean) - Static method in class danbikel.parser.util.Util
Returns a new SexpTokenizer instance where the “ordinary characters’ (metacharacters) are '[' and ']'.
ibmToPenn(Sexp) - Static method in class danbikel.parser.util.Util
A utility method that converts the specified IBM-format tree to a Penn Treebank–format tree.
id() - Method in class danbikel.parser.CachingDecoderServer
The unique identifier of this DecoderServerRemote instance.
id - Variable in class danbikel.parser.Decoder
The id of the parsing client that is using this decoder.
id - Variable in class danbikel.switchboard.AbstractSwitchboardUser
The unique ID of this switchboard user, assigned by the switchboard.
id() - Method in class danbikel.switchboard.AbstractSwitchboardUser
 
id() - Method in interface danbikel.switchboard.Server
Returns the ID number of this server.
id() - Method in interface danbikel.switchboard.SwitchboardUser
Returns the ID number for this switchboard user.
identifyArguments(Sexp) - Method in class danbikel.parser.english.BrokenTraining
Marks certain nodes as arguments by appending a suffix to their respective labels.
identifyArguments(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Augments labels of nonterminals that are arguments.
identifyArguments(Sexp) - Method in interface danbikel.parser.Training
Augments labels of nonterminals that are arguments.
IdentityNTMapper - Class in danbikel.parser
Provides the identity mapping function.
increaseInsideProb(double) - Method in class danbikel.parser.EMItem
Increases the inside probability of the derivations represented by this item by the specified amount.
increaseOutsideProb(double) - Method in class danbikel.parser.EMItem
Increases the outside probability of this item by the specified amount.
increment() - Method in class danbikel.util.IntCounter
Increments this counter by 1, returning the previous count (postincrement).
increment(int) - Method in class danbikel.util.IntCounter
Increments this counter by the specified integer.
incrementallyTrain(Trainer, String) - Static method in class danbikel.parser.Trainer
Incrementally updates derived model counts by reading chunks of TrainerEvent objects from the specified input file.
index - Variable in class danbikel.parser.Nonterminal
The index of the augmented nonterminal, or -1 if none was present.
indexOf(Sexp) - Method in class danbikel.lisp.SexpList
Finds the index of the specified S-expresion.
infiniteTries - Static variable in class danbikel.switchboard.AbstractSwitchboardUser
The value to specify for switchboard users to try indefinitely to re-acquire the switchboard when first starting up or in the event of a switchboard crash.
initialize(SexpList) - Method in class danbikel.parser.Decoder
Initializes the chart for parsing the specified sentence.
initialize(SexpList, SexpList) - Method in class danbikel.parser.Decoder
Initializes the chart for parsing the specified sentence, using the specified coordinated list of part-of-speech tags when assigning parts of speech to unknown words.
initialize(int) - Method in class danbikel.util.AbstractFixedSizeList
Initializes this list to be of the specified size.
initialize(int) - Method in class danbikel.util.FixedSizeArrayList
 
initialize(int) - Method in class danbikel.util.FixedSizeSingletonList
Initializes this singleton list.
initializeSmoothingParams() - Method in class danbikel.parser.Model
Sets up the smoothing parameter arrays and maps.
inputFilename - Static variable in class danbikel.parser.Parser
The input filename specified on the command line.
insideProb() - Method in class danbikel.parser.EMItem
Gets the total inside probability of the derivations represented by this item.
IntCounter - Class in danbikel.util
A class to hold an int that may be incremented or decremented.
IntCounter() - Constructor for class danbikel.util.IntCounter
Constructs an IntCounter with an initial value of zero.
IntCounter(int) - Constructor for class danbikel.util.IntCounter
Constructs an IntCounter with the specified initial value.
internalInputFilename - Variable in class danbikel.parser.Parser
The name of the input file to be processed (only used when this parser is in stand-alone mode, not using the Switchboard.
internalOutputFilename - Variable in class danbikel.parser.Parser
The name of the output file to be processed (only used when this parser is in stand-alone mode, not using the Switchboard.
internalReadObject(ObjectInputStream) - Method in class danbikel.parser.ModelCollection
Reads an instance of this class from the specified stream.
internalWriteObject(ObjectOutputStream) - Method in class danbikel.parser.ModelCollection
Writes this object to the specified stream.
InterpolatedKnesserNeyModel - Class in danbikel.parser
Implements a model that uses interpolated Knesser-Ney smoothing.
InterpolatedKnesserNeyModel(ProbabilityStructure) - Constructor for class danbikel.parser.InterpolatedKnesserNeyModel
Constructs a Model instance that uses interpolated Knesser-Ney smoothing instead of the default smoothing method when estimating probabilities.
IntPair - Class in danbikel.util
A simple class to contain two integers.
IntPair() - Constructor for class danbikel.util.IntPair
Constructs a new IntPair object with both integers equal to 0.
IntPair(int, int) - Constructor for class danbikel.util.IntPair
Constructs a new IntPair containing the specified integers.
IntSymbol - Class in danbikel.lisp
IntSymbol objects associate integers with unique references.
IntSymbol() - Constructor for class danbikel.lisp.IntSymbol
A public, no-arg constructor, required by the Externalizable interface.
intTypeArr - Static variable in class danbikel.parser.Parser
An array of types containing a single element, Integer.TYPE.
intVal0 - Variable in class danbikel.util.HashMapInt.Entry
 
intVal0 - Variable in class danbikel.util.HashMapTwoInts.Entry
 
intVal1 - Variable in class danbikel.util.HashMapTwoInts.Entry
 
invocationTargetExceptionMsg - Static variable in class danbikel.parser.Parser
 
invoke(Object, Method, Object[]) - Method in class danbikel.util.proxy.Reconnect
 
invoke(Object, Method, Object[]) - Method in class danbikel.util.proxy.Retry
 
invokeClass(String, String[]) - Method in class danbikel.util.JarClassLoader
Invokes the application in this jar file given the name of the main class and an array of arguments.
isAllDigits(String) - Static method in class danbikel.util.Text
Returns true if s is composed only of characters for which Character.isDigit(char) returns true; returns false otherwise.
isAllLettersOrDigits(String) - Static method in class danbikel.util.Text
Returns true if s is composed only of characters for which Character.isLetterOrDigit(char) returns true; returns false otherwise.
isAllNodesToPrune(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Returns whether all words or preterminals of this tree are to be pruned.
isAllSymbols() - Method in class danbikel.lisp.SexpList
Returns true if and only if all the elements of this list are Symbol objects.
isAllWhitespace(String) - Static method in class danbikel.util.Text
 
isArgument(Symbol) - Method in class danbikel.parser.lang.AbstractTraining
Returns true if and only if label has an argument augmentation as added by AbstractTraining.identifyArguments(Sexp).
isArgument(Symbol, Nonterminal) - Method in class danbikel.parser.lang.AbstractTraining
Returns true if the specified nonterminal label has an argument augmentation.
isArgument(Symbol, Nonterminal, boolean) - Method in class danbikel.parser.lang.AbstractTraining
Returns true if the specified nonterminal label has an argument augmentation.
isArgument(Symbol) - Method in interface danbikel.parser.Training
Returns true if and only if label has an argument augmentation as added by Training.identifyArguments(Sexp).
isArgumentFast(Symbol) - Method in class danbikel.parser.lang.AbstractTraining
Returns true if the specified nonterminal label has an argument augmentation.
isArgumentFast(Symbol) - Method in interface danbikel.parser.Training
Returns true if and only if the specified nonterminal label has an argument augmentation preceded by the canonical augmentaion delimiter.
isAugDelim(Sexp) - Method in class danbikel.parser.lang.AbstractTreebank
 
isAugDelim(Sexp) - Method in interface danbikel.parser.Treebank
Returns whether the specified S-expression is a symbol that is an augmentation delimiter for a complex nonterminal label.
isBaseNP(Symbol) - Method in class danbikel.parser.english.Treebank
 
isBaseNP(Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
Returns whether the specified label is for a base NP.
isBaseNP(Symbol) - Method in interface danbikel.parser.Treebank
Returns whether the specified label is for a base NP.
isComma(Symbol) - Method in class danbikel.parser.arabic.Treebank
 
isComma(Symbol) - Method in class danbikel.parser.chinese.Treebank
 
isComma(Symbol) - Method in class danbikel.parser.english.BrokenTreebank
 
isComma(Symbol) - Method in class danbikel.parser.english.Treebank
 
isComma(Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
Returns true if the specified word is a comma.
isComma(Symbol) - Method in interface danbikel.parser.Treebank
Returns true if the specified word is a comma.
isConjPConj() - Method in class danbikel.parser.ModifierEvent
Returns the boolean that indicates whether the modifier is a conjunction that is part of a conjunction phrase.
isConjunction(Symbol) - Method in class danbikel.parser.arabic.Treebank
Returns true if label is equal to the symbol whose print name is "CONJ".
isConjunction(Symbol) - Method in class danbikel.parser.chinese.Treebank
Returns true if label is equal to the symbol whose print name is "CC".
isConjunction(Symbol) - Method in class danbikel.parser.english.BrokenTreebank
Returns true if label is equal to the symbol whose print name is "CC".
isConjunction(Symbol) - Method in class danbikel.parser.english.Treebank
Returns true if label is equal to the symbol whose print name is "CC".
isConjunction(Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
Returns true if the canonical version of the specified label is a conjunction tag or nonterminal in a particular Treebank.
isConjunction(Symbol) - Method in interface danbikel.parser.Treebank
Returns true if the canonical version of the specified label is a conjunction tag or nonterminal in a particular Treebank.
isCoordinatedPhrase(Sexp, int) - Method in class danbikel.parser.lang.AbstractTraining
Returns true if a non-head child of the specified tree is a conjunction, and that conjunction is either post-head but non-final, or immediately pre-head but non-initial (where "immediately pre-head" means "at the first index less than headIdx that is not punctuation, as determined by Treebank.isPunctuation(Symbol)).
isEmpty() - Method in class danbikel.util.HashMap
 
isLeaf() - Method in class danbikel.parser.constraints.AbstractConstraint
Throws an UnsupportedOperationException.
isLeaf() - Method in interface danbikel.parser.constraints.Constraint
Returns true if this constraint is part of a tree structure of constraints and is a leaf (optional operation).
isLeaf() - Method in class danbikel.parser.constraints.PartialTreeConstraint
Returns whether this constraint corresponds to a preterminal in the original syntactic tree.
isLeaf() - Method in class danbikel.parser.constraints.UnlexTreeConstraint
Returns whether this constraint corresponds to a leaf (a preterminal).
isLeftParen(Symbol) - Method in class danbikel.parser.arabic.Treebank
 
isLeftParen(Symbol) - Method in class danbikel.parser.chinese.Treebank
 
isLeftParen(Symbol) - Method in class danbikel.parser.english.BrokenTreebank
This method returns false under all circumstances, as though we didn't know about Mike's hack for the comma-pruning rule that says that commas that occur after left parens and before right parens (or the end of the sentence) are not considered commas for the purposes of comma pruning.
isLeftParen(Symbol) - Method in class danbikel.parser.english.Treebank
 
isLeftParen(Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
Returns true if the specified word is a left parenthesis.
isLeftParen(Symbol) - Method in interface danbikel.parser.Treebank
Returns true if the specified word is a left parenthesis.
isList() - Method in class danbikel.lisp.Sexp
Returns true if this is an instance of a SexpList, false otherwise.
isList() - Method in class danbikel.lisp.SexpList
Returns true, because this class and any of its subclasses represent lists.
isList() - Method in class danbikel.lisp.Symbol
Returns false, as no instance of a subclass of this abstract base class can be a list.
isLocallySatisfiedBy(Item) - Method in class danbikel.parser.constraints.AbstractConstraint
Throws an UnsupportedOperationException.
isLocallySatisfiedBy(Item) - Method in interface danbikel.parser.constraints.Constraint
Returns whether the specified item satisfies the local information of the constraint node, regardless of its place in a tree structure of constraints (optional operation).
isLocallySatisfiedBy(Item) - Method in class danbikel.parser.constraints.LexTreeConstraint
Returns whether the specified item satisfies the local information of this constraint node, regardless of this node's place in a tree structure of constraints.
isLocallySatisfiedBy(Item) - Method in class danbikel.parser.constraints.PartialLexTreeConstraint
 
isLocallySatisfiedBy(Item) - Method in class danbikel.parser.constraints.PartialTreeConstraint
Returns whether the specified item's span does not exceed the bounds of the span associated with this constraint.
isLocallySatisfiedBy(Item) - Method in class danbikel.parser.constraints.UnlexTreeConstraint
Returns whether the specified chart item satisfies the local information contained in this constraint (span and nonterminal label).
isNP(Symbol) - Method in class danbikel.parser.arabic.Treebank
Returns true if the canonical version of the specified label is an NP for the Arabic Treebank.
isNP(Symbol) - Method in class danbikel.parser.chinese.Treebank
Returns true if the canonical version of the specified label is an NP for for Chinese Treebank.
isNP(Symbol) - Method in class danbikel.parser.english.BrokenTreebank
Returns true if the canonical version of the specified label is an NP for for English Treebank.
isNP(Symbol) - Method in class danbikel.parser.english.Treebank
Returns true if the canonical version of the specified label is an NP for for English Treebank.
isNP(Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
Returns true if the canonical version of the specified label is an NP for this language’s Treebank.
isNP(Symbol) - Method in interface danbikel.parser.Treebank
Returns true if the canonical version of the specified label is an NP for the current language's Treebank.
isNullElementPreterminal(Sexp) - Method in class danbikel.parser.arabic.Treebank
Returns true if the specified S-expression represents a preterminal whose terminal element is the null element ("-NONE-") for the Penn Arabic Treebank.
isNullElementPreterminal(Sexp) - Method in class danbikel.parser.chinese.Treebank
Returns true if the specified S-expression represents a preterminal whose terminal element is the null element ("-NONE-") for the Chinese Treebank.
isNullElementPreterminal(Sexp) - Method in class danbikel.parser.english.BrokenTreebank
Returns true if the specified S-expression represents a preterminal whose terminal element is the null element ("-NONE-") for the Penn Treebank.
isNullElementPreterminal(Sexp) - Method in class danbikel.parser.english.Treebank
Returns true if the specified S-expression represents a preterminal whose terminal element is the null element ("-NONE-") for the Penn Treebank.
isNullElementPreterminal(Sexp) - Method in class danbikel.parser.lang.AbstractTreebank
Returns true if the specified S-expression represents a preterminal whose terminal element is the null element for this language’s Treebank.
isNullElementPreterminal(Sexp) - Method in interface danbikel.parser.Treebank
Returns true if the specified S-expression represents a preterminal whose terminal element is the null element for the current language's Treebank.
isomorphicTreeConstraints - Variable in class danbikel.parser.Decoder
Caches whether or not the ConstraintSet for the current sentence requires a tree that is isomorphic to the tree of constraints.
isPossessivePreterminal(Sexp) - Method in class danbikel.parser.arabic.Treebank
Returns true if the specified S-expression represents a preterminal that is the possessive part of speech.
isPossessivePreterminal(Sexp) - Method in class danbikel.parser.chinese.Treebank
Returns true if the specified S-expression represents a preterminal that is the possessive part of speech.
isPossessivePreterminal(Sexp) - Method in class danbikel.parser.english.BrokenTreebank
Returns true if the specified S-expression represents a preterminal that is the possessive part of speech.
isPossessivePreterminal(Sexp) - Method in class danbikel.parser.english.Treebank
Returns true if the specified S-expression represents a preterminal that is the possessive part of speech.
isPossessivePreterminal(Sexp) - Method in class danbikel.parser.lang.AbstractTreebank
Returns true if the specified S-expression represents a preterminal that is the possessive part of speech.
isPossessivePreterminal(Sexp) - Method in interface danbikel.parser.Treebank
Returns true if the specified S-expression represents a preterminal that is the possessive part of speech.
isPreterminal(Sexp) - Method in class danbikel.parser.arabic.Treebank
Returns true if tree represents a preterminal subtree (part-of-speech tag and word).
isPreterminal(Sexp) - Method in class danbikel.parser.chinese.Treebank
Returns true if tree represents a preterminal subtree (part-of-speech tag and word).
isPreterminal() - Method in class danbikel.parser.CKYItem
Returns true if this item represents a preterminal.
isPreterminal(Sexp) - Method in class danbikel.parser.english.BrokenTreebank
Returns true if tree represents a preterminal subtree (part-of-speech tag and word).
isPreterminal(Sexp) - Method in class danbikel.parser.english.Treebank
Returns true if tree represents a preterminal subtree (part-of-speech tag and word).
isPreterminal() - Method in class danbikel.parser.HeadTreeNode
Returns whether this node represents a preterminal.
isPreterminal(Sexp) - Method in class danbikel.parser.lang.AbstractTreebank
Returns whether tree represents a preterminal subtree in the parse trees for this language's Treebank.
isPreterminal(Sexp) - Method in interface danbikel.parser.Treebank
Returns whether tree represents a preterminal subtree in the parse trees for this language's Treebank.
isPuncRaiseWord(Sexp) - Method in class danbikel.parser.Decoder
Returns whether the specified word was raised as part of the punctuation-raising procedure performed during training.
isPuncToRaise(Sexp) - Method in class danbikel.parser.arabic.Treebank
Returns true if the specified S-expression is a preterminal whose part of speech is "," or ":".
isPuncToRaise(Sexp) - Method in class danbikel.parser.chinese.Treebank
Returns true if the specified S-expression is a preterminal whose part of speech is "," or ".
isPuncToRaise(Sexp) - Method in class danbikel.parser.english.BrokenTreebank
Returns true if the specified S-expression is a preterminal whose part of speech is "," or ":".
isPuncToRaise(Sexp) - Method in class danbikel.parser.english.Treebank
Returns true if the specified S-expression is a preterminal whose part of speech is "," or ":".
isPuncToRaise(Sexp) - Method in class danbikel.parser.lang.AbstractTreebank
Returns true if the specified S-expression represents a preterminal and a part-of-speech tag that indicates punctuation to be raised when running Training.raisePunctuation(Sexp).
isPuncToRaise(Sexp) - Method in interface danbikel.parser.Treebank
Returns true if the specified S-expression represents a preterminal and a part-of-speech tag that indicates punctuation to be raised when running Training.raisePunctuation(Sexp).
isPunctuation(Symbol) - Method in class danbikel.parser.arabic.Treebank
 
isPunctuation(Symbol) - Method in class danbikel.parser.chinese.Treebank
 
isPunctuation(Symbol) - Method in class danbikel.parser.english.BrokenTreebank
 
isPunctuation(Symbol) - Method in class danbikel.parser.english.Treebank
 
isPunctuation(Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
Returns true if the specified part of speech tag is one for which AbstractTreebank.isPuncToRaise(Sexp) would return true.
isPunctuation(Symbol) - Method in interface danbikel.parser.Treebank
Returns true if the specified part of speech tag is one for which Treebank.isPuncToRaise(Sexp) would return true.
isRightParen(Symbol) - Method in class danbikel.parser.arabic.Treebank
 
isRightParen(Symbol) - Method in class danbikel.parser.chinese.Treebank
 
isRightParen(Symbol) - Method in class danbikel.parser.english.BrokenTreebank
This method returns false under all circumstances, as though we didn't know about Mike's hack for the comma-pruning rule that says that commas that occur after left parens and before right parens (or the end of the sentence) are not considered commas for the purposes of comma pruning.
isRightParen(Symbol) - Method in class danbikel.parser.english.Treebank
 
isRightParen(Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
Returns true if the specified word is a right parenthesis.
isRightParen(Symbol) - Method in interface danbikel.parser.Treebank
Returns true if the specified word is a right parenthesis.
isSatisfiedBy(Item) - Method in class danbikel.parser.constraints.AbstractConstraint
Throws an UnsupportedOperationException.
isSatisfiedBy(Item) - Method in interface danbikel.parser.constraints.Constraint
Returns whether the specified item satisfies this constraint (optional operation).
isSatisfiedBy(Item) - Method in class danbikel.parser.constraints.PartialTreeConstraint
Returns true if this constraint is satisfied by its local information.
isSatisfiedBy(Item) - Method in class danbikel.parser.constraints.UnlexTreeConstraint
Returns true if this constraint is satisfied by its local information and either the specified item represents a preterminal or the constraints of the specified item's children are identical to the children of this constraint, and are in the same order More formally, let us define the term nuclear family of a node in a tree to refer to the node itself and its (immediately dominated) sequence of children.
isSatisfiedByPreterminal(CKYItem) - Method in class danbikel.parser.constraints.LexTreeConstraint
Returns true if this constraint is locally satisfied by the specified item and if this constraint's span matches that of the specified item.
isSatisfiedByPreterminal(CKYItem) - Method in class danbikel.parser.constraints.PartialLexTreeConstraint
Returns true if this constraint is locally satisfied by the specified item and if this constraint's span matches that of the specified item.
isSatisfiedByPreterminal(CKYItem) - Method in class danbikel.parser.constraints.PartialTreeConstraint
Returns true.
isSatisfiedByPreterminal(CKYItem) - Method in class danbikel.parser.constraints.UnlexTreeConstraint
Simply returns true and sets this constraint's satisfaction bit to be true.
isSentence(Symbol) - Method in class danbikel.parser.arabic.Treebank
Returns true is the specified nonterminal label represents a sentence in the Penn Arabic Treebank, that is, if the canonical version of label is equal to "S".
isSentence(Symbol) - Method in class danbikel.parser.chinese.Treebank
Returns true is the specified nonterminal label represents a sentence in the Penn Treebank, that is, if the canonical version of label is equal to "S".
isSentence(Symbol) - Method in class danbikel.parser.english.BrokenTreebank
Returns true is the specified nonterminal label represents a sentence in the Penn Treebank, that is, if the canonical version of label is equal to "S".
isSentence(Symbol) - Method in class danbikel.parser.english.Treebank
Returns true is the specified nonterminal label represents a sentence in the Penn Treebank, that is, if the canonical version of label is equal to "S".
isSentence(Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
Returns true is the specified nonterminal label represents a sentence in this language’s Treebank.
isSentence(Symbol) - Method in interface danbikel.parser.Treebank
Returns true is the specified nonterminal label represents a sentence in the current language's Treebank.
isSymbol() - Method in class danbikel.lisp.Sexp
Returns true if this is an instance of a Symbol, false otherwise.
isSymbol() - Method in class danbikel.lisp.SexpList
Returns false, because this class and any of its subclasses represent lists, not symbols.
isSymbol() - Method in class danbikel.lisp.Symbol
Returns true, as any instance of a subclass of this abstract base class is a symbol.
isTypeOfSentence(Symbol) - Method in class danbikel.parser.english.BrokenTraining
Unlike Mike's definition of a sentence for the purpose of relabeling subjectless sentences, which includes any label that starts with 'S', we strictly require here that the label strictly be S, or S with some augmentations.
isTypeOfSentence(Symbol) - Method in class danbikel.parser.english.Training
 
isTypeOfSentence(Symbol) - Method in class danbikel.parser.lang.AbstractTraining
A helper method used by AbstractTraining.repairBaseNPs(Sexp,int,Sexp).
isValidTree(Sexp) - Method in class danbikel.parser.arabic.Training
If the specified tree has a root label with a print name equal to "X", then this method returns false; otherwise, this method returns the value of the default implementation in the superclass with the specified tree (super.isValidTree(tree)).
isValidTree(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Returns true if tree is a preterminal (the base case) or is a list with the first element of type Symbol (the node label) and subsequent elements are valid trees (the recursive case).
isValidTree(Sexp) - Method in interface danbikel.parser.Training
Returns whether the specified tree is valid.
isVerb(Sexp) - Method in class danbikel.parser.arabic.Treebank
Returns true if preterminal represents a terminal with one of the following parts of speech: VB, VBD, VBG, VBN, VBP or VBZ.
isVerb(Sexp) - Method in class danbikel.parser.chinese.Treebank
Returns true if preterminal represents a terminal with one of the following parts of speech: VB, VBD, VBG, VBN, VBP or VBZ.
isVerb(Sexp) - Method in class danbikel.parser.english.BrokenTreebank
Returns true if preterminal represents a terminal with one of the following parts of speech: VB, VBD, VBG, VBN, VBP or VBZ.
isVerb(Sexp) - Method in class danbikel.parser.english.Treebank
Returns true if preterminal represents a terminal with one of the following parts of speech: VB, VBD, VBG, VBN, VBP or VBZ.
isVerb(Sexp) - Method in class danbikel.parser.lang.AbstractTreebank
Returns true if the specified preterminal is that of a verb.
isVerb(Sexp) - Method in interface danbikel.parser.Treebank
Returns true if the specified preterminal is that of a verb.
isVerbTag(Symbol) - Method in class danbikel.parser.arabic.Treebank
 
isVerbTag(Symbol) - Method in class danbikel.parser.chinese.Treebank
 
isVerbTag(Symbol) - Method in class danbikel.parser.english.BrokenTreebank
 
isVerbTag(Symbol) - Method in class danbikel.parser.english.Treebank
 
isVerbTag(Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
Returns true if the specified symbol is the part of speech tag of a verb.
isVerbTag(Symbol) - Method in interface danbikel.parser.Treebank
Returns true if the specified symbol is the part of speech tag of a verb.
isViolatedBy(Item) - Method in class danbikel.parser.constraints.AbstractConstraint
Throws an UnsupportedOperationException.
isViolatedBy(Item) - Method in interface danbikel.parser.constraints.Constraint
Returns whether the specified item violates this constraint (optional operation).
isViolatedBy(Item) - Method in interface danbikel.parser.constraints.ConstraintSet
Returns whether this constraint set is violated by the specified item (optional operation).
isViolatedBy(Item) - Method in class danbikel.parser.constraints.PartialTreeConstraint
Throws an UnsupportedOperationException, as this operation is not appropriate for partial tree constraints.
isViolatedBy(Item) - Method in class danbikel.parser.constraints.PartialTreeConstraintSet
Simply throws an UnsupportedOperationException, since violations do not need to be checked for this type of constraint set.
isViolatedBy(Item) - Method in class danbikel.parser.constraints.UnlexTreeConstraint
Throws an UnsupportedOperationException.
isViolatedBy(Item) - Method in class danbikel.parser.constraints.UnlexTreeConstraintSet
Simply throws an UnsupportedOperationException, since violations do not need to be checked for this type of constraint set.
isViolatedByChild(Item) - Method in class danbikel.parser.constraints.AbstractConstraint
Throws an UnsupportedOperationException.
isViolatedByChild(Item) - Method in interface danbikel.parser.constraints.Constraint
Returns whether the specified child item violates this constraint (optional operation).
isViolatedByChild(Item) - Method in class danbikel.parser.constraints.PartialTreeConstraint
Returns whether the specified child chart item violates this constraint by having a span beyond the boundaries of this constraint's span.
isViolatedByChild(Item) - Method in class danbikel.parser.constraints.UnlexTreeConstraint
Returns whether this constraint is violated by the specified child chart item.
isWHNP(Symbol) - Method in class danbikel.parser.arabic.Treebank
Returns true if the canonical version of the specified label is a WHNP in the Arabic Treebank.
isWHNP(Symbol) - Method in class danbikel.parser.chinese.Treebank
Returns true if the canonical version of the specified label is a WHNP in the Chinese Treebank.
isWHNP(Symbol) - Method in class danbikel.parser.english.BrokenTreebank
Returns true if the canonical version of the specified label is a WHNP in the English Treebank.
isWHNP(Symbol) - Method in class danbikel.parser.english.Treebank
Returns true if the canonical version of the specified label is a WHNP in the English Treebank.
isWHNP(Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
Returns true if the canonical version of the specified label is an NP that undergoes WH-movement in a particular Treebank.
isWHNP(Symbol) - Method in interface danbikel.parser.Treebank
Returns true if the canonical version of the specified label is an NP that undergoes WH-movement in a particular Treebank.
Item - Class in danbikel.parser
Skeletal class to represent items in a parsing chart.
Item() - Constructor for class danbikel.parser.Item
Constructs this item to have an initial log-probability of Constants.logOfZero.
Item(double) - Constructor for class danbikel.parser.Item
Constructs a chart item with the specified log-probability score.
itemPool - Variable in class danbikel.parser.Chart
The pool of chart items, to be used by the decoder instead of constructing new chart items while decoding.
itemToString(CKYItem, Set) - Static method in class danbikel.parser.util.DebugChart
 
itemToString(CKYItem) - Static method in class danbikel.parser.util.DebugChart
 
iterator() - Method in class danbikel.lisp.SexpList
Returns a read-only iterator for the elements of this list.
iterator() - Method in class danbikel.parser.BrokenSubcatBag
Returns an itrerator over the elements of this subcat bag, returning the canonical version of symbols for each the categories described in BrokenSubcatBag.add(Symbol); for each occurrence of a miscellaneous item present in this subcat bag, the return value of Training.stopSym() is returned.
iterator() - Method in class danbikel.parser.constraints.PartialTreeConstraintSet
Returns an iterator over the constraints in this set.
iterator() - Method in class danbikel.parser.constraints.UnlexTreeConstraintSet
Returns an iterator over the constraints in this set.
iterator() - Method in interface danbikel.parser.Subcat
Returns an iterator over the requirements contained in this subcat frame.
iterator() - Method in class danbikel.parser.SubcatBag
Returns an itrerator over the elements of this subcat bag, returning the canonical version of symbols for each the categories described in SubcatBag.add(Symbol); for each occurrence of a miscellaneous item present in this subcat bag, the return value of Training.stopSym() is returned.
iterator() - Method in class danbikel.util.SLNode
Returns an iterator to iterate over the elements of this list.

J

JarClassLoader - Class in danbikel.util
A class loader for loading a jar file from any URL.
JarClassLoader(URL) - Constructor for class danbikel.util.JarClassLoader
Creates a new JarClassLoader for the specified URL.
JarClassLoader(URL, ClassLoader) - Constructor for class danbikel.util.JarClassLoader
Creates a new JarClassLoader for the specified URL and parent class loader.
JarRunner - Class in danbikel.util
Runs a jar application from a URL.
JarRunner() - Constructor for class danbikel.util.JarRunner
 
javadocHack - Variable in class danbikel.lisp.WordTokenizer
Included as a public data member so that javadoc can resolve external links to members of the StreamTokenizer class.
javadocHack - Static variable in class danbikel.switchboard.Switchboard
Allows external links to UnicastRemoteObject and its members not to break when generating javadoc API documentation.
javadocHack - Static variable in class danbikel.util.Text
Used so that external links to elements of the Character class will work.
joinItems(CKYItem, CKYItem, boolean) - Method in class danbikel.parser.Decoder
Joins two chart items, one representing the modificand that has not yet received its stop probabilities, the other representing the modifier that has received its stop probabilities.
joinItems(EMItem, EMItem, boolean) - Method in class danbikel.parser.EMDecoder
Joins two chart items, one representing the modificand that has not yet received its stop probabilities, the other representing the modifier that has received its stop probabilities.
JointModel - Class in danbikel.parser
Provides a mechanism for grouping related Model objects in order to estimate the probability of some joint event.
JointModel(ProbabilityStructure) - Constructor for class danbikel.parser.JointModel
 
jointModel() - Method in class danbikel.parser.ms.ModNonterminalModelStructure5
 
jointModel() - Method in class danbikel.parser.ms.ModNonterminalModelStructure6
 
jointModel() - Method in class danbikel.parser.ms.ModNonterminalModelStructure7
 
jointModel() - Method in class danbikel.parser.ProbabilityStructure
Returns an array of other ProbabilityStructure objects for use in a JointModel instance, or null if this probability structure should not be composed with a JointModel instance.

K

kBest - Variable in class danbikel.parser.Decoder
The maximum number of top-scoring parses for the various parse methods to return.
kBest - Static variable in class danbikel.parser.Settings
The property to specify the maximum number of top-scoring theories to give as a parse.
keepAliveInterval - Static variable in class danbikel.parser.Settings
The property to specify how often clients and servers should ping the "keep-alive" socket connected to the switchboard.
keepAliveInterval - Static variable in interface danbikel.switchboard.SwitchboardRemote
The property to specify how often clients and servers should ping the "keep-alive" socket connected to the switchboard.
keepAliveMaxRetries - Static variable in class danbikel.parser.Settings
The property to specify at most how many times the switchboard attempts to contact clients and servers before considering them dead (after an initial failure, thus making 0 a legal value for this property).
keepAliveMaxRetries - Static variable in interface danbikel.switchboard.SwitchboardRemote
The property to specify at most how many times the switchboard attempts to contact clients and servers before considering them dead (after an initial failure, thus making 0 a legal value for this property).
keepAllWords - Variable in class danbikel.parser.Decoder
Cached value of Settings.keepAllWords, for efficiency and convenience.
keepAllWords - Variable in class danbikel.parser.Parser
Cached value of Settings.keepAllWords, for efficiency and convenience.
keepAllWords - Static variable in class danbikel.parser.Settings
The property to specify whether or not the trainer keeps all words.
keepAllWords - Variable in class danbikel.parser.Trainer
The value of the Settings.keepAllWords setting.
keepLowFreqTags - Static variable in class danbikel.parser.Settings
The property to specify whether the trainer includes low-frequency words in its part of speech map.
keepLowFreqTags - Variable in class danbikel.parser.Trainer
The value of the Settings.keepLowFreqTags setting.
KeepNodes - Class in danbikel.parser.util
Provides a utility method, as well as a KeepNodes.main(java.lang.String[]) method that invokes it, to keep only certain nodes in a tree, deleting all others, except the root node, which is never deleted.
KeepNodes() - Constructor for class danbikel.parser.util.KeepNodes
 
keepNodes(Sexp, List<Nonterminal>) - Static method in class danbikel.parser.util.KeepNodes
 
keepTrying() - Method in class danbikel.switchboard.AbstractSwitchboardUser.SBUserRetry
 
keepTrying() - Method in class danbikel.util.proxy.Retry
Returns whether to keep trying a remote method in the face of failure.
key - Variable in class danbikel.util.AbstractMapToPrimitive.Entry
The key of this map entry.
keyHash - Variable in class danbikel.util.HashMapPrimitive.Entry
The hash value of the key of this entry, cached here for efficiency.
klDistFromLogProbs(double[], double[]) - Static method in class danbikel.parser.AnalyzeDisns
Returns D(disnP || disnQ), where D is the Kullback-Leibler divergence (relative entropy), and where each of the specified arguments is a distribution of log-probabilities.
kleeneStarSym - Static variable in class danbikel.parser.Constants
A symbol constant to represent Kleene star.

L

label - Variable in class danbikel.parser.CKYItem
The label of this chart item.
label() - Method in class danbikel.parser.CKYItem
Returns the symbol that is the label of this chart item.
label - Variable in class danbikel.parser.constraints.PartialTreeConstraint
The nonterminal label associated with this constraint.
label() - Method in class danbikel.parser.constraints.PartialTreeConstraint
Returns the nonterminal label associated with this constraint.
label - Variable in class danbikel.parser.constraints.UnlexTreeConstraint
The nonterminal label associated with this constraint.
label() - Method in class danbikel.parser.constraints.UnlexTreeConstraint
Returns the nonterminal label associated with this constraint.
label() - Method in class danbikel.parser.HeadTreeNode
Gets the nonterminal label for this node.
label() - Method in class danbikel.parser.Item
Returns the label of this chart item.
label() - Method in class danbikel.parser.PriorEvent
Returns the nonterminal label of this event.
labelMatches(Item) - Method in class danbikel.parser.constraints.PartialTreeConstraint
Returns whether this constraint's label subsumes the label of the specified item.
lambdaFudge - Variable in class danbikel.parser.Model
A cached copy of the smoothing factors of the ProbabilityStructure used by this model.
lambdaFudge(int) - Method in class danbikel.parser.ms.BrokenLeftSubcatModelStructure
Returns 5.0 regardless of the value of the argument.
lambdaFudge(int) - Method in class danbikel.parser.ms.BrokenRightSubcatModelStructure
Returns 5.0 regardless of the value of the argument.
lambdaFudge(int) - Method in class danbikel.parser.ms.LexPriorModelStructure1
 
lambdaFudge(int) - Method in class danbikel.parser.ms.SubcatModelStructure1
Returns 0.0 regardlesss of back-off level.
lambdaFudge(int) - Method in class danbikel.parser.ms.SubcatModelStructure2
 
lambdaFudge(int) - Method in class danbikel.parser.ProbabilityStructure
Returns the "fudge factor" for the lambda computation for backOffLevel.
lambdaFudgeTerm - Variable in class danbikel.parser.Model
A cached copy of the smoothing terms of the ProbabilityStructure used by this model.
lambdaFudgeTerm(int) - Method in class danbikel.parser.ms.BrokenLeftSubcatModelStructure
Returns 0.0 regardless of the value of the argument.
lambdaFudgeTerm(int) - Method in class danbikel.parser.ms.BrokenRightSubcatModelStructure
Returns 0.0 regardless of the value of the argument.
lambdaFudgeTerm(int) - Method in class danbikel.parser.ms.LexPriorModelStructure1
 
lambdaFudgeTerm(int) - Method in class danbikel.parser.ms.SubcatModelStructure1
Returns 5.0 regardlesss of back-off level.
lambdaFudgeTerm(int) - Method in class danbikel.parser.ms.SubcatModelStructure2
 
lambdaFudgeTerm(int) - Method in class danbikel.parser.ProbabilityStructure
Returns the "fudge term" for the lambda computation for backOffLevel.
lambdaPenalty - Variable in class danbikel.parser.Model
A cached copy of the smoothing penalty factors contained in the ProbabilityStructure used by this model.
lambdaPenalty(int) - Method in class danbikel.parser.ProbabilityStructure
Returns the smoothing value to be used with back-off levels whose histories never occurred in training, meaning that 1 minus this value will be the total probability mass for the smoothed estimate at the specified back-off level (resulting in a degenerate model unless this value is zero).
lambdas - Variable in class danbikel.parser.ProbabilityStructure
An array used only during the computation of top-level probabilities, used to store the lambdas calculated at all the levels of back-off.
Language - Class in danbikel.parser
Provides objects that perform functions specific to a particular language and/or Treebank.
language - Static variable in class danbikel.parser.Settings
The property to specify the language to be parsed.
languagePackage - Static variable in class danbikel.parser.Settings
The property to specify the language package to be used.
last() - Method in class danbikel.lisp.SexpList
Returns the last element of this list (identical to calling get(size() - 1)).
lastSym - Static variable in class danbikel.parser.Constants
The symbol constant indicating to match the last child node in the reverse of the natural walk of a parent's children in a syntax tree (right-to-left, in English).
leaves() - Method in interface danbikel.parser.constraints.ConstraintSet
Returns a list containing the leaves of a tree-structured set of constraints (optional operation).
leaves - Variable in class danbikel.parser.constraints.PartialTreeConstraintSet
The leaves of this tree of constraints in their correct order as they correspond to single words (technically, preterminals) of a sentence.
leaves() - Method in class danbikel.parser.constraints.PartialTreeConstraintSet
Returns a list of the leaves in this tree of constraints.
leaves - Variable in class danbikel.parser.constraints.UnlexTreeConstraintSet
The leaves of this tree of constraints in their correct order as they correspond to single words (technically, preterminals) of a sentence.
leaves() - Method in class danbikel.parser.constraints.UnlexTreeConstraintSet
Returns the leaves of the constraint tree contained by this object.
LEFT - Static variable in class danbikel.parser.Constants
The constant representing the left side or the left-to-right direction.
LEFT - Static variable in class danbikel.parser.Decoder
The value of Constants.LEFT cached for better readability.
LEFT - Static variable in class danbikel.parser.lang.AbstractHeadFinder
Constant to indicate a left-to-right scan (makes for more readable code for this class and its subclasses).
leftChildren - Variable in class danbikel.parser.CKYItem
A list of CKYItem objects that are the children to the left of the head child, with the head-adjacent child being last.
leftChildren() - Method in class danbikel.parser.CKYItem
Returns the left modifier item list of this item, or null if there are no left modifier items.
leftIdx() - Method in class danbikel.parser.HeadTreeNode
Gets the index of the leftmost word in this subtree.
leftPrevModIsStart() - Method in class danbikel.parser.CKYItem.PrevModIsStart
Returns whether the previous modifier on the left side is the start symbol.
leftPrevMods - Variable in class danbikel.parser.CKYItem
The previous modifiers generated on the left of the head child.
leftPrevMods() - Method in class danbikel.parser.CKYItem
Returns a list of previously-generated unlexicalized modifiers on the left side of the head child in this item's set of derivations.
leftSubcat - Variable in class danbikel.parser.CKYItem
The subcat frame representing the unmet requirements on the left side of the head as of the production of this chart item.
leftSubcat() - Method in class danbikel.parser.CKYItem
Returns the left subcat of this chart item.
leftSubcat() - Method in class danbikel.parser.HeadEvent
Returns the left subcategorization frame of this head event.
leftSubcatMap() - Method in class danbikel.parser.CachingDecoderServer
 
leftSubcatMap - Variable in class danbikel.parser.Decoder
A map from contexts of the last back-off level of the left subcat generation model to possible subcats.
leftSubcatMap() - Method in class danbikel.parser.DecoderServer
Returns a map of Event objects to Set objects, where each Event object is the last level of back-off of the probability structure for left-side subcat generation and the set contains all possible Subcat objects for that most-general context.
leftSubcatMap() - Method in interface danbikel.parser.DecoderServerRemote
A mapping from left subcat-prediction conditioning contexts (typically parent and head nonterminal labels) to all possible left subcat frames.
leftSubcatMap - Variable in class danbikel.parser.ModelCollection
A mapping from left subcat-prediction conditioning contexts (typically parent and head nonterminal labels) to all possible subcat frames.
leftSubcatMap() - Method in class danbikel.parser.ModelCollection
Returns a mapping from left subcat-prediction conditioning contexts (typically parent and head nonterminal labels) to all possible subcat frames.
leftSubcatMap - Variable in class danbikel.parser.Trainer
A map of events from the last back-off level of the left subcat–generation submodel to the set of possible left subcats.
leftSubcatModel - Variable in class danbikel.parser.ModelCollection
The model for generating subcats on the left side of the head child.
leftSubcatModel() - Method in class danbikel.parser.ModelCollection
Returns the left subcat-generation model.
leftSubcatModel - Variable in class danbikel.parser.Trainer
The model for generating subcats that fall on the left side of head children.
LeftSubcatModelStructure1 - Class in danbikel.parser.ms
Representation of the complete back-off structure of the subcat-generation model for the left side of the head child.
LeftSubcatModelStructure1() - Constructor for class danbikel.parser.ms.LeftSubcatModelStructure1
 
LeftSubcatModelStructure2 - Class in danbikel.parser.ms
Representation of the complete back-off structure of the subcat-generation model for the left side of the head child.
LeftSubcatModelStructure2() - Constructor for class danbikel.parser.ms.LeftSubcatModelStructure2
 
leftSubcatModelStructureClass - 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 left subcat-generation submodel.
leftSubcatModelStructureNumber - Static variable in class danbikel.parser.Settings
The property to specify the model structure number to use when creating the ProbabilityStructure object for the left-subcat-generation submodel.
leftSubcatProbStructure() - Method in class danbikel.parser.CachingDecoderServer
 
leftSubcatProbStructure() - Method in class danbikel.parser.DecoderServer
The probability structure for the submodel that generates subcats on the left-hand side of head constituents.
leftSubcatProbStructure() - Method in interface danbikel.parser.DecoderServerRemote
The probability structure for the submodel that generates subcats on the left-hand side of head constituents.
leftSubcatPS - Variable in class danbikel.parser.Decoder
The left subcat generation model structure.
leftSubcatPSLastLevel - Variable in class danbikel.parser.Decoder
The last level of back-off in the left subcat generation model structure.
leftSym - Static variable in class danbikel.parser.Constants
The symbol constant representing the left side or the left-to-right direction.
leftSym - Static variable in class danbikel.parser.lang.AbstractHeadFinder
The character from a head table's head-finding instruction that indicates a left-to-right scan.
leftVerb - Variable in class danbikel.parser.CKYItem
The boolean indicating whether a verb intervenes between the head child and the currently-generated left-modifying child.
leftVerb() - Method in class danbikel.parser.CKYItem
Returns whether a verb has been generated anywhere in the surface strings of the left modifiers of the head child.
length() - Method in class danbikel.lisp.SexpList
Returns the number of elements in this list.
length() - Method in class danbikel.util.SLNode
Returns the length of this list.
level - Static variable in class danbikel.util.Debug
The current debugging level (default is 0).
lexPriorModel - Variable in class danbikel.parser.ModelCollection
The model for lexical priors.
lexPriorModel() - Method in class danbikel.parser.ModelCollection
Returns the model for marginal probabilities of lexical elements (for the estimation of the joint event that is a fully lexicalized nonterminal)
lexPriorModel - Variable in class danbikel.parser.Trainer
The model for marginal probabilities of lexical elements (for the estimation of the joint event that is a fully lexicalized nonterminal).
LexPriorModelStructure1 - Class in danbikel.parser.ms
 
LexPriorModelStructure1() - Constructor for class danbikel.parser.ms.LexPriorModelStructure1
 
lexPriorModelStructureClass - 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 lexical prior submodel.
lexPriorModelStructureNumber - Static variable in class danbikel.parser.Settings
The properth to specify the model structure to use when creating the ProbabilityStructure object for the lexical prior submodel.
LexTreeConstraint - Class in danbikel.parser.constraints
Specifies a node in a tree of constraints, to allow the decoder only to pursue theories that are consistent with a particular head-lexicalized tree.
LexTreeConstraint(Sexp) - Constructor for class danbikel.parser.constraints.LexTreeConstraint
Constructs a tree of constraints that is isomorphic to the specified parse tree.
LexTreeConstraint(LexTreeConstraint, Sexp, IntCounter, HeadFinder) - Constructor for class danbikel.parser.constraints.LexTreeConstraint
Constructs a tree of constraints that is isomorphic to the specified parse tree.
LexTreeConstraintSet - Class in danbikel.parser.constraints
Represents a set of constraints that correspond to a specific lexicalized parse tree, for use when the bottom-up parsing algorithm needs to generate only the analyses that are consistent with a particular lexicalized tree.
LexTreeConstraintSet() - Constructor for class danbikel.parser.constraints.LexTreeConstraintSet
Constructs a new, empty set of constraints.
LexTreeConstraintSet(Sexp) - Constructor for class danbikel.parser.constraints.LexTreeConstraintSet
Constructs a new set of constraints according to a lexicalized version of the specified unlexicalized tree.
LexTreeConstraintSetFactory - Class in danbikel.parser.constraints
Factory to produce LexTreeConstraintSet objects.
LexTreeConstraintSetFactory() - Constructor for class danbikel.parser.constraints.LexTreeConstraintSetFactory
Constructs a factory for LexTreeConstraintSet instances.
lineno() - Method in class danbikel.lisp.WordTokenizer
Returns the line number of the underlying character stream.
LispHead - Class in danbikel.parser.util
Equivalent of Unix head command but for input streams/files containing S-expressions.
list() - Method in class danbikel.lisp.Sexp
Returns this object cast to a SexpList.
list - Variable in class danbikel.parser.constraints.PartialTreeConstraintSet
A list of all the constraints in this set, for making iteration easy.
list - Variable in class danbikel.parser.constraints.UnlexTreeConstraintSet
A list of all the constraints in this set, for making iteration easy.
listAt(int) - Method in class danbikel.lisp.SexpList
Returns the list at the specified index.
load(String) - Static method in class danbikel.parser.Settings
Loads the properties from the file of the specified filename, using Settings.load(File).
load(File) - Static method in class danbikel.parser.Settings
Loads the properties from the specified file, using Settings.load(InputStream).
load(InputStream) - Static method in class danbikel.parser.Settings
Loads the properties from the specified input stream, using Properties.load(InputStream).
loadModelCollection(String) - Static method in class danbikel.parser.Trainer
Loads the ModelCollection from the specified file.
loadModelCollection(ObjectInputStream) - Static method in class danbikel.parser.Trainer
Loads the ModelCollection from the specified file.
localServer - Variable in class danbikel.parser.Parser
Indicates whether the DecoderServerRemote instance is local or remote (an RMI stub).
logFilenameSuffix - Static variable in class danbikel.switchboard.Switchboard
The default suffix to add to input file names to form a log file name when none is explicitly specified.
logOfZero - Static variable in class danbikel.parser.Constants
A constant to represent the logarithm of zero, equal to Double#NEGATIVE_INFINITY.
logOfZero - Static variable in class danbikel.parser.Decoder
The value of Constants.logOfZero cached for readability.
logOneMinusLambdaPenalty - Variable in class danbikel.parser.Model
The values of Model.lambdaPenalty but modified such that
logOneMinusLambdaPenalty[i] = Math.log(1 - lambdaPenalty[i])
for all i: 0 ≤ i < lambdaPenalty.size.
logPrior(int, TrainerEvent) - Method in class danbikel.parser.CachingDecoderServer
Returns the prior probability of generating the nonterminal contained in the specified HeadEvent.
logPrior - Variable in class danbikel.parser.CKYItem
The log of the probability of the lexicalized root nonterminal label of the tree represented by this item.
logPrior() - Method in class danbikel.parser.CKYItem
Returns the marginal probability of generating the lexicalized root label of this item's set of derivations (strictly speaking, this is not a “prior” as the name of this method would suggest).
logPrior(int, TrainerEvent) - Method in class danbikel.parser.DecoderServer
Returns the prior probability for the lexicalized nonteminal encoded in the specified TrainerEvent, which should be an instance of HeadEvent.
logPrior(int, TrainerEvent) - Method in interface danbikel.parser.DecoderServerRemote
Returns the prior probability of generating the nonterminal contained in the specified HeadEvent.
logPrior() - Method in class danbikel.parser.EMItem
Throws an UnsupportedOperationException.
logProb() - Method in class danbikel.parser.CKYItem
Returns the log probability, or score, of this chart item.
logProb() - Method in class danbikel.parser.EMItem
Throws an UnsupportedOperationException.
logProb - Variable in class danbikel.parser.Item
The log-probability of this chart item.
logProb() - Method in class danbikel.parser.Item
Gets the log probability of this chart item.
logProbCertain - Static variable in class danbikel.parser.Constants
A constant to represent the logarithm of a probability of 1.0 (equal to 0.0).
logProbCertain - Static variable in class danbikel.parser.Decoder
The value of Constants.logProbCertain cached for readability.
logProbGap(int, TrainerEvent) - Method in class danbikel.parser.CachingDecoderServer
Returns the log of the probability of generating a gap.
logProbGap(int, TrainerEvent) - Method in class danbikel.parser.DecoderServer
 
logProbGap(int, TrainerEvent) - Method in interface danbikel.parser.DecoderServerRemote
Returns the log of the probability of generating a gap.
logProbHead(int, TrainerEvent) - Method in class danbikel.parser.CachingDecoderServer
 
logProbHead(int, TrainerEvent) - Method in class danbikel.parser.DecoderServer
 
logProbHead(int, TrainerEvent) - Method in interface danbikel.parser.DecoderServerRemote
Returns the log of the probability of generating a head child in the context of a particular parent (both the head to be generated and the parent are contained in the specified TrainerEvent object).
logProbHeadWithSubcats(int, TrainerEvent) - Method in class danbikel.parser.CachingDecoderServer
Returns the log of the probability of generating a new head and its left and right subcat frames.
logProbHeadWithSubcats(int, TrainerEvent) - Method in class danbikel.parser.DecoderServer
 
logProbHeadWithSubcats(int, TrainerEvent) - Method in interface danbikel.parser.DecoderServerRemote
Returns the log of the probability of generating a new head and its left and right subcat frames.
logProbLeftSubcat(int, TrainerEvent) - Method in class danbikel.parser.CachingDecoderServer
 
logProbLeftSubcat(int, TrainerEvent) - Method in class danbikel.parser.DecoderServer
 
logProbLeftSubcat(int, TrainerEvent) - Method in interface danbikel.parser.DecoderServerRemote
Returns the log of the probability of generating a left subcat in the context of a particular parent and head (the subcat to be generated, the head and parent are all contained in the specified TrainerEvent object).
logProbMod(int, TrainerEvent) - Method in class danbikel.parser.CachingDecoderServer
 
logProbMod(int, TrainerEvent) - Method in class danbikel.parser.DecoderServer
 
logProbMod(int, TrainerEvent) - Method in interface danbikel.parser.DecoderServerRemote
Returns the log of the probability of generating a fully-lexicalized modifying nonterminal given a particular parent, head and other components of the syntactic context.
logProbModNT(int, TrainerEvent) - Method in class danbikel.parser.CachingDecoderServer
 
logProbModNT(int, TrainerEvent) - Method in class danbikel.parser.DecoderServer
 
logProbModNT(int, TrainerEvent) - Method in interface danbikel.parser.DecoderServerRemote
Returns the log of the probability of generating a partially-lexicalized modifying nonterminal given a particular parent, head and other components of the syntactic context.
logProbRightSubcat(int, TrainerEvent) - Method in class danbikel.parser.CachingDecoderServer
 
logProbRightSubcat(int, TrainerEvent) - Method in class danbikel.parser.DecoderServer
 
logProbRightSubcat(int, TrainerEvent) - Method in interface danbikel.parser.DecoderServerRemote
Returns the log of the probability of generating a right subcat in the context of a particular parent and head (the subcat to be generated, the head and parent are all contained in the specified TrainerEvent object).
logProbSmall - Static variable in class danbikel.parser.Constants
The constant to represent the logarithm of 10E-19, which is a very small probability.
logProbSubcat(int, TrainerEvent, boolean) - Method in class danbikel.parser.CachingDecoderServer
 
logProbSubcat(int, TrainerEvent, boolean) - Method in class danbikel.parser.DecoderServer
 
logProbSubcat(int, TrainerEvent, boolean) - Method in interface danbikel.parser.DecoderServerRemote
Invokes DecoderServerRemote.logProbLeftSubcat(int, TrainerEvent) or DecoderServerRemote.logProbRightSubcat(int, TrainerEvent) depending on the value of side.
logProbTop(int, TrainerEvent) - Method in class danbikel.parser.CachingDecoderServer
Returns the log of the probability of generating the head nonterminal of an entire sentence.
logProbTop(int, TrainerEvent) - Method in class danbikel.parser.DecoderServer
 
logProbTop(int, TrainerEvent) - Method in interface danbikel.parser.DecoderServerRemote
Returns the log of the probability of generating the head nonterminal of an entire sentence.
logTreeProb - Variable in class danbikel.parser.CKYItem
The log of the probability of the tree represented by this item.
logTreeProb() - Method in class danbikel.parser.CKYItem
Returns the probability of generating all the children of this chart item (head child and left and right modifier children).
logTreeProb() - Method in class danbikel.parser.EMItem
Throws an UnsupportedOperationException.
lookupHeadEvent - Variable in class danbikel.parser.Decoder
A reusable HeadEvent object for look-ups in tables.
lookupLeftStopEvent - Variable in class danbikel.parser.Decoder
A reusable ModifierEvent object for look-ups in tables.
lookupModEvent - Variable in class danbikel.parser.Decoder
A reusable ModifierEvent object for look-ups in tables.
lookupPriorEvent - Variable in class danbikel.parser.Decoder
A reusable PriorEvent object for look-ups in tables.
lookupRightStopEvent - Variable in class danbikel.parser.Decoder
A reusable ModifierEvent object for look-ups in tables.
lookupSubcat - Variable in class danbikel.parser.Decoder
A (currently unused) reusable lookup object.
lookupWord - Variable in class danbikel.parser.Decoder
A lookup Word object, for obtaining a canonical version.

M

main(String[]) - Static method in class danbikel.lisp.Sexp
A (very simple) test driver for this class.
main(String[]) - Static method in class danbikel.parser.AnalyzeDisns
Analyzes and saves information about every distribution in every Model contained in a ModelCollection.
main(String[]) - Static method in class danbikel.parser.arabic.HeadFinder
A test driver for this class.
main(String[]) - Static method in class danbikel.parser.arabic.Training
Test driver for this class.
main(String[]) - Static method in class danbikel.parser.chinese.HeadFinder
A test driver for this class.
main(String[]) - Static method in class danbikel.parser.chinese.NoNPBTraining
Test driver for this class.
main(String[]) - Static method in class danbikel.parser.chinese.NPArgThreadTraining
Test driver for this class.
main(String[]) - Static method in class danbikel.parser.chinese.Training
Test driver for this class.
main(String[]) - Static method in class danbikel.parser.constraints.LexTreeConstraintSet
Test driver for this class.
main(String[]) - Static method in class danbikel.parser.constraints.PartialLexTreeConstraintSet
Test driver for this class.
main(String[]) - Static method in class danbikel.parser.constraints.PartialTreeConstraintSet
Test driver for this class.
main(String[]) - Static method in class danbikel.parser.constraints.UnlexTreeConstraintSet
Test driver for this class.
main(String[]) - Static method in class danbikel.parser.DecoderServer
Starts a decoder server and registers it with the switchboard.
main(String[]) - Static method in class danbikel.parser.EMParser
Contacts the switchboard, registers this parsing client and gets sentences from the switchboard, parses them and returns them, until the switchboard indicates there are no more sentences to process.
main(String[]) - Static method in class danbikel.parser.english.BrokenHeadFinder
A test driver for this class.
main(String[]) - Static method in class danbikel.parser.english.BrokenTraining
Test driver for this class.
main(String[]) - Static method in class danbikel.parser.english.HeadFinder
A test driver for this class.
main(String[]) - Static method in class danbikel.parser.english.NPArgThreadTraining
Test driver for this class.
main(String[]) - Static method in class danbikel.parser.english.Training
Test driver for this class.
main(String[]) - Static method in class danbikel.parser.HeadTreeNode
 
main(String[]) - Static method in class danbikel.parser.lang.AbstractTraining
Test driver for this class.
main(String[]) - Static method in class danbikel.parser.Parser
Contacts the switchboard, registers this parsing client and gets sentences from the switchboard, parses them and returns them, until the switchboard indicates there are no more sentences to process.
main(String[]) - Static method in class danbikel.parser.PrintDisn
Prints an event's log-probability distribution to an output file.
main(String[]) - Static method in class danbikel.parser.Settings
Prints the default settings contained in the resource supplied with this parsing software.
main(String[]) - Static method in class danbikel.parser.StartEMSwitchboard
Kick-starts a Switchboard instance, using Sexp object reader factories.
main(String[]) - Static method in class danbikel.parser.StartSwitchboard
Kick-starts a Switchboard instance, using Sexp object reader factories.
main(String[]) - Static method in class danbikel.parser.Trainer
Takes arguments according to the usage as specified in Trainer.usageMsg.
main(String[]) - Static method in class danbikel.parser.util.AddFakePos
Reads in parse trees either from a specified file or from standard input and adds fake parts of speech to raw (un-parsed) sentences.
main(String[]) - Static method in class danbikel.parser.util.KeepNodes
 
main(String[]) - Static method in class danbikel.parser.util.LispHead
Prints out the first n S-expressions from a file or standard input.
main(String[]) - Static method in class danbikel.parser.util.ParseToSentence
Reads parse trees either from standard input or a specified file, converting them to sentences and printing those sentences on standard output.
main(String[]) - Static method in class danbikel.parser.util.PrettyPrint
Reads in parse trees either from a specified file or from standard input and pretty prints those trees to standard output.
main(String[]) - Static method in class danbikel.parser.util.PrintCFG
Reads in parse trees either from a specified file or from standard input, collects all CFG expansions and prints them, one per line, in the form LHS -> RHS, to standard output.
main(String[]) - Static method in class danbikel.parser.util.PrintNTs
Reads in parse trees either from a specified file or from standard input, collects all nonterminals and then prints them, one nonterminal per line, to standard output.
main(String[]) - Static method in class danbikel.parser.util.PrintTags
Reads in parse trees either from a specified file or from standard input, collects all nonterminals and then prints them, one nonterminal per line, to standard output.
main(String[]) - Static method in class danbikel.util.HashMap
 
main(String[]) - Static method in class danbikel.util.JarRunner
 
makeWord(Sexp) - Method in class danbikel.parser.lang.AbstractTreebank
Constructs a Word object from the specified preterminal subtree.
makeWord(Sexp) - Method in interface danbikel.parser.Treebank
Constructs a Word object from the specified preterminal subtree.
map(Symbol) - Method in class danbikel.parser.Collins
Maps the specified nonterminal to one of four equivalence classes.
map(Symbol) - Method in class danbikel.parser.IdentityNTMapper
Returns the specified label unchanged (the identity mapping function).
map(Symbol) - Method in interface danbikel.parser.NonterminalMapper
Maps the specified nonterminal label to some other symbol (typically an equivalence class).
map(Symbol) - Static method in class danbikel.parser.NTMapper
Maps the specified nonterminal to another symbol, via an internal instance of NonterminalMapper whose concrete type is determined by the value of the Settings.prevModMapperClass setting.
mappedPrevModsEqual(CKYItem) - Method in class danbikel.parser.CKYItem.MappedPrevModBaseNPAware
Returns true if the most recvent previous modifiers on both the left and right sides of the head child are equivalent to the respective left and right previous modifiers of the specified chart item.
mapPrevMod(Symbol) - Static method in class danbikel.parser.Collins
Deprecated. Classes should now use NTMapper.map(Symbol), since the NTMapper class provides the flexibility of using an internal NonterminalMapper instance created at run-time according to the Settings.prevModMapperClass setting.
MapToPrimitive<K> - Interface in danbikel.util
Specifies methods that allow mappings from arbitrary objects to primitive types that are bundled in the map entries for efficiency.
MapToPrimitive.Entry<K> - Interface in danbikel.util
Interface that provides methods for all the possible primitive types that could be associated with keys in a MapToPrimitive map.
markers - Static variable in class danbikel.parser.arabic.Training
An array of the various markers arrays.
MAX_UNARY_PRODUCTIONS - Static variable in class danbikel.parser.EMDecoder
A hack to limit the number of unary productions, instead of doing The Right Thing and computing infinite sums for looping derivations, as described by Stolcke (1995) and Goodman (1999).
maxCapacity - Static variable in class danbikel.util.HashMap
 
maxCapacity - Static variable in class danbikel.util.HashMapPrimitive
The maximum capacity (number of buckets) of this hash map, Integer.MAX_VALUE.
maxClients() - Method in class danbikel.parser.CachingDecoderServer
 
maxClients - Variable in class danbikel.switchboard.AbstractServer
The maximum number of clients this server is willing to accept.
maxClients() - Method in class danbikel.switchboard.AbstractServer
Returns the maximum number of clients this server is willing to accept.
maxClients() - Method in interface danbikel.switchboard.Server
The maximum number of clients this server is willing to accept, or Server.acceptUnlimitedClients if this server is willing to accept a virtually unlimited number of clients (a large maximum value may be used by the switchboard).
maxEventChunkSize - Static variable in class danbikel.parser.Settings
The property to specify how many events the trainer should read from an observations file before deriving counts (for use only when using a trainer output file; see Trainer.main(String[])).
maxEventComponents() - Method in class danbikel.parser.ms.BrokenLexPriorModelStructure
Returns 2.
maxEventComponents() - Method in class danbikel.parser.ms.BrokenModWordModelStructure
Returns 10.
maxEventComponents() - Method in class danbikel.parser.ms.BrokenTopLexModelStructure
 
maxEventComponents() - Method in class danbikel.parser.ms.GapModelStructure1
 
maxEventComponents() - Method in class danbikel.parser.ms.HeadModelStructure1
 
maxEventComponents() - Method in class danbikel.parser.ms.LexPriorModelStructure1
 
maxEventComponents() - Method in class danbikel.parser.ms.ModNonterminalModelStructure1
 
maxEventComponents() - Method in class danbikel.parser.ms.ModNonterminalModelStructure2
 
maxEventComponents() - Method in class danbikel.parser.ms.ModNonterminalModelStructure3
 
maxEventComponents() - Method in class danbikel.parser.ms.ModNonterminalModelStructure4
 
maxEventComponents() - Method in class danbikel.parser.ms.ModNonterminalModelStructure6
 
maxEventComponents() - Method in class danbikel.parser.ms.ModNonterminalModelStructure7
 
maxEventComponents() - Method in class danbikel.parser.ms.ModNonterminalModelStructure8
 
maxEventComponents() - Method in class danbikel.parser.ms.ModNonterminalModelStructure9
 
maxEventComponents() - Method in class danbikel.parser.ms.ModWordModelStructure1
 
maxEventComponents() - Method in class danbikel.parser.ms.ModWordModelStructure2
 
maxEventComponents() - Method in class danbikel.parser.ms.ModWordModelStructure3
 
maxEventComponents() - Method in class danbikel.parser.ms.ModWordModelStructure4
 
maxEventComponents() - Method in class danbikel.parser.ms.ModWordModelStructure5
 
maxEventComponents() - Method in class danbikel.parser.ms.ModWordModelStructure6
 
maxEventComponents() - Method in class danbikel.parser.ms.ModWordModelStructure7
 
maxEventComponents() - Method in class danbikel.parser.ms.ModWordModelStructure8
 
maxEventComponents() - Method in class danbikel.parser.ms.ModWordModelStructure9
 
maxEventComponents() - Method in class danbikel.parser.ms.NonterminalPriorModelStructure1
 
maxEventComponents() - Method in class danbikel.parser.ms.SubcatModelStructure1
Returns 4.
maxEventComponents() - Method in class danbikel.parser.ms.SubcatModelStructure2
 
maxEventComponents() - Method in class danbikel.parser.ms.TagModelStructure1
 
maxEventComponents() - Method in class danbikel.parser.ms.TagModelStructure2
 
maxEventComponents() - Method in class danbikel.parser.ms.TopLexModelStructure1
 
maxEventComponents() - Method in class danbikel.parser.ms.TopNonterminalModelStructure1
 
maxEventComponents() - Method in class danbikel.parser.ProbabilityStructure
Allows subclasses to specify the maximum number of event components, so that the constructor of this class may pre-allocate space in its internal, reusable MutableEvent objects (used for efficient event construction).
maxParseTime - Variable in class danbikel.parser.Decoder
The timer (used when Settings.maxParseTime is greater than zero).
maxParseTime - Static variable in class danbikel.parser.Settings
The property to specify the maximum time, in milliseconds, that the decoder will attempt to deliver a parse on a sentence.
maxPruneFact - Variable in class danbikel.parser.Decoder
The maximum prune factor (for beam-widening).
maxSentLen - Variable in class danbikel.parser.Decoder
The maximum length of sentences to be parsed.
maxSentLen - Static variable in class danbikel.parser.Settings
The property to specify the maximum length a sentence can be; sentences greater than this length will not be parsed.
maxSwitchboardTries - Variable in class danbikel.switchboard.AbstractSwitchboardUser
The maximum number of times the AbstractSwitchboardUser.getSwitchboard(java.lang.String) method will try to get a new Switchboard when the current instance has gone down or when registering for the first time.
metadataPropertyPrefix - Static variable in class danbikel.parser.lang.AbstractTraining
The prefix of the property of the metadata resource required by the default constructor of concrete subclasses.
miscArg - Static variable in class danbikel.parser.util.TrainerEventToCollins
 
miscSym - Static variable in class danbikel.parser.Collins
The miscellaneous equivalence class.
Model - Class in danbikel.parser
This class computes the probability of generating an output element of this parser, where an output element might be, for example, a word, a part of speech tag, a nonterminal label or a subcat frame.
Model(ProbabilityStructure) - Constructor for class danbikel.parser.Model
Constructs a new object for deriving all counts using the specified probability structure.
modelArr - Variable in class danbikel.parser.ModelCollection
An array containing all Model objects contained by this model collection, set up by ModelCollection.createModelArray().
modelCollection - Variable in class danbikel.parser.DecoderServer
The model collection used by this decoder server.
ModelCollection - Class in danbikel.parser
Provides access to all Model objects and maps necessary for parsing.
ModelCollection() - Constructor for class danbikel.parser.ModelCollection
Constructs a new ModelCollection that initially contains no data.
modelCollection - Variable in class danbikel.parser.Trainer
The set of Model objects and other resources that describe an entire parsing model.
modelCollectionSet(FlexibleMap) - Method in class danbikel.parser.Trainer
Sets all the data members of the Trainer.modelCollection member of this trainer with the internal resources constructed by this trainer (such as all the Model instances).
modelCollectionSetHook() - Method in class danbikel.parser.Trainer
A method called by Trainer.deriveCounts() just after it calls ModelCollection.set(danbikel.parser.Model, danbikel.parser.Model, danbikel.parser.Model, danbikel.parser.Model, danbikel.parser.Model, danbikel.parser.Model, danbikel.parser.Model, danbikel.parser.Model, danbikel.parser.Model, danbikel.parser.Model, danbikel.parser.CountsTable, danbikel.parser.CountsTable, danbikel.parser.CountsTable, java.util.Map, java.util.Map, java.util.Map, java.util.Map, java.util.Map, java.util.Map, java.util.Set, java.util.Set, danbikel.util.FlexibleMap).
modelDoPruning - Static variable in class danbikel.parser.Settings
The property to specify whether to prune redundant parameters from every Model instance.
modelIterator() - Method in class danbikel.parser.ModelCollection
Syntactic sugar for modelList().iterator().
modelList() - Method in class danbikel.parser.ModelCollection
Returns an unmodifiable list view of the Model objects contained in this model collection.
modelPruningThreshold - Static variable in class danbikel.parser.Settings
The property to specify the pruning threshold when pruning is performed (ignored if Settings.modelDoPruning is false).
modelStructurePackage - Static variable in class danbikel.parser.Settings
The property to specify the package for model structure classes.
modEventSym - Static variable in class danbikel.parser.Trainer
The label for modifier nonterminal generation events.
modEventToCollins(ModifierEvent) - Static method in class danbikel.parser.util.TrainerEventToCollins
 
modHeadWord() - Method in class danbikel.parser.GapEvent
Returns null, as gap events do not deal with modifier words.
modHeadWord() - Method in class danbikel.parser.HeadEvent
Returns null, as head events do not deal with modifier words.
modHeadWord() - Method in class danbikel.parser.ModifierEvent
Returns the head word of the modifier of this modifier event.
modHeadWord() - Method in class danbikel.parser.PriorEvent
Returns null.
modHeadWord() - Method in interface danbikel.parser.TrainerEvent
Returns the modifier head word object associated with an event, or null if this TrainerEvent has no such object.
modifier() - Method in class danbikel.parser.ModifierEvent
Returns the nonterminal label of this modifier event.
ModifierEvent - Class in danbikel.parser
A class to represent the modifier generation event implicit in the models supported by this parsing package.
ModifierEvent(Sexp) - Constructor for class danbikel.parser.ModifierEvent
Constructs a new object from the specified S-expression.
ModifierEvent(Word, Word, Symbol, SexpList, WordList, Symbol, Symbol, SexpList, boolean, boolean) - Constructor for class danbikel.parser.ModifierEvent
Constructs a new ModifierEvent object, settings its data members to the values specified.
ModifierEvent(Word, Word, Symbol, SexpList, WordList, Symbol, Symbol, Subcat, boolean, boolean) - Constructor for class danbikel.parser.ModifierEvent
Constructs a new ModifierEvent object, settings its data members to the values specified.
ModifierEvent(Word, Word, Symbol, SexpList, WordList, Symbol, Symbol, Subcat, Word, Word, boolean, boolean, boolean, boolean) - Constructor for class danbikel.parser.ModifierEvent
Constructs a new ModifierEvent object for use when outputting training events in the format of Mike Collins’ parser, settings its data members to the values specified.
modifierEvents - Variable in class danbikel.parser.Trainer
A table for storing counts of modifier-generation events.
modNonterminalMap() - Method in class danbikel.parser.CachingDecoderServer
 
modNonterminalMap - Variable in class danbikel.parser.Decoder
A map from contexts of the last back-off level of the modifying nonterminal generation model to possible modifying nonterminal labels.
modNonterminalMap() - Method in class danbikel.parser.DecoderServer
 
modNonterminalMap() - Method in interface danbikel.parser.DecoderServerRemote
A map of events from the last back-off level of the modifier nonterminal–generation submodel to the set of possible futures (typically, a future is a modifier label and its head word's part-of-speech tag).
modNonterminalMap - Variable in class danbikel.parser.ModelCollection
A mapping from the last level of back-off of modifying nonterminal conditioning contexts to all possible modifying nonterminals.
modNonterminalMap() - Method in class danbikel.parser.ModelCollection
Returns a mapping from the last level of back-off of modifying nonterminal conditioning contexts to all possible modifying nonterminals.
modNonterminalMap - Variable in class danbikel.parser.Trainer
A map of events from the last back-off level of the modifier nonterminal–generation submodel to the set of possible futures (typically, a future is a modifier label and its head word's part-of-speech tag).
modNonterminalModel - Variable in class danbikel.parser.ModelCollection
The model for generating partially-lexicalized nonterminals that modify the head child.
modNonterminalModel() - Method in class danbikel.parser.ModelCollection
Returns the modifying nonterminal–generation model.
modNonterminalModel - Variable in class danbikel.parser.Trainer
The modifying nonterminal–generation model.
ModNonterminalModelStructure1 - Class in danbikel.parser.ms
Representation of the complete back-off structure of the generation model for modifying nonterminals/part-of-speech tags (the modifying nonterminals are partially lexicalized with the parts of speech of their respective head words).
ModNonterminalModelStructure1() - Constructor for class danbikel.parser.ms.ModNonterminalModelStructure1
 
ModNonterminalModelStructure2 - Class in danbikel.parser.ms
Representation of the complete back-off structure of the generation model for modifying nonterminals/part-of-speech tags (the modifying nonterminals are partially lexicalized with the parts of speech of their respective head words).
ModNonterminalModelStructure2() - Constructor for class danbikel.parser.ms.ModNonterminalModelStructure2
 
ModNonterminalModelStructure3 - Class in danbikel.parser.ms
Representation of the complete back-off structure of the generation model for modifying nonterminals/part-of-speech tags (the modifying nonterminals are partially lexicalized with the parts of speech of their respective head words).
ModNonterminalModelStructure3() - Constructor for class danbikel.parser.ms.ModNonterminalModelStructure3
 
ModNonterminalModelStructure4 - Class in danbikel.parser.ms
Representation of the complete back-off structure of the generation model for modifying nonterminals/part-of-speech tags (the modifying nonterminals are partially lexicalized with the parts of speech of their respective head words).
ModNonterminalModelStructure4() - Constructor for class danbikel.parser.ms.ModNonterminalModelStructure4
 
ModNonterminalModelStructure5 - Class in danbikel.parser.ms
This class provides a probability structure identical to its superclass, except that ModNonterminalModelStructure5.getFuture(TrainerEvent,int) has been overridden so that the future only consists of an unlexicalized modifying nonterminal label.
ModNonterminalModelStructure5() - Constructor for class danbikel.parser.ms.ModNonterminalModelStructure5
 
ModNonterminalModelStructure6 - Class in danbikel.parser.ms
 
ModNonterminalModelStructure6() - Constructor for class danbikel.parser.ms.ModNonterminalModelStructure6
 
ModNonterminalModelStructure7 - Class in danbikel.parser.ms
 
ModNonterminalModelStructure7() - Constructor for class danbikel.parser.ms.ModNonterminalModelStructure7
 
ModNonterminalModelStructure8 - Class in danbikel.parser.ms
Representation of the complete back-off structure of the generation model for modifying nonterminals/part-of-speech tags (the modifying nonterminals are partially lexicalized with the parts of speech of their respective head words).
ModNonterminalModelStructure8() - Constructor for class danbikel.parser.ms.ModNonterminalModelStructure8
 
ModNonterminalModelStructure9 - Class in danbikel.parser.ms
Representation of the complete back-off structure of the generation model for modifying nonterminals/part-of-speech tags (the modifying nonterminals are partially lexicalized with the parts of speech of their respective head words).
ModNonterminalModelStructure9() - Constructor for class danbikel.parser.ms.ModNonterminalModelStructure9
 
modNonterminalModelStructureClass - 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 modifying nonterminal-generation submodel.
modNonterminalModelStructureNumber - Static variable in class danbikel.parser.Settings
The property to specify the model structure number to use when creating the ProbabilityStructure object for the modifying nonterminal-generation submodel.
modNonterminalProbStructure() - Method in class danbikel.parser.CachingDecoderServer
 
modNonterminalProbStructure() - Method in class danbikel.parser.DecoderServer
The probability structure for the submodel that generates modifiers of head constituents.
modNonterminalProbStructure() - Method in interface danbikel.parser.DecoderServerRemote
The probability structure for the submodel that generates modifiers of head constituents.
modNonterminalPS - Variable in class danbikel.parser.Decoder
The modifying nonterminal generation model structure.
modNonterminalPSLastLevel - Variable in class danbikel.parser.Decoder
The last level of back-off in the modifying nonterminal generation model structure.
modWordModel - Variable in class danbikel.parser.ModelCollection
The model for generating head words of lexicalized nonterminals that modify the head child.
modWordModel() - Method in class danbikel.parser.ModelCollection
Returns the model that generates head words of modifying nonterminals.
modWordModel - Variable in class danbikel.parser.Trainer
The model that generates head words of modifying nonterminals.
ModWordModelStructure1 - Class in danbikel.parser.ms
 
ModWordModelStructure1() - Constructor for class danbikel.parser.ms.ModWordModelStructure1
 
ModWordModelStructure2 - Class in danbikel.parser.ms
 
ModWordModelStructure2() - Constructor for class danbikel.parser.ms.ModWordModelStructure2
 
ModWordModelStructure3 - Class in danbikel.parser.ms
 
ModWordModelStructure3() - Constructor for class danbikel.parser.ms.ModWordModelStructure3
 
ModWordModelStructure4 - Class in danbikel.parser.ms
 
ModWordModelStructure4() - Constructor for class danbikel.parser.ms.ModWordModelStructure4
 
ModWordModelStructure5 - Class in danbikel.parser.ms
 
ModWordModelStructure5() - Constructor for class danbikel.parser.ms.ModWordModelStructure5
 
ModWordModelStructure6 - Class in danbikel.parser.ms
 
ModWordModelStructure6() - Constructor for class danbikel.parser.ms.ModWordModelStructure6
 
ModWordModelStructure7 - Class in danbikel.parser.ms
 
ModWordModelStructure7() - Constructor for class danbikel.parser.ms.ModWordModelStructure7
 
ModWordModelStructure8 - Class in danbikel.parser.ms
 
ModWordModelStructure8() - Constructor for class danbikel.parser.ms.ModWordModelStructure8
 
ModWordModelStructure9 - Class in danbikel.parser.ms
 
ModWordModelStructure9() - Constructor for class danbikel.parser.ms.ModWordModelStructure9
 
modWordModelStructureClass - 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 modifying word-generation submodel.
modWordModelStructureNumber - Static variable in class danbikel.parser.Settings
The property to specify the model structure number to use when creating the ProbabilityStructure object for the modifying word-generation submodel.
moodMarkers - Static variable in class danbikel.parser.arabic.Training
An array of verb mood markers in Arabic Treebank part-of-speech tags.
MutableEvent - Interface in danbikel.parser
Provides additional methods to those of Event that permit modification of the event object.

N

name - Variable in class danbikel.util.proxy.Reconnect
 
needToAddNormalNPLevel(Sexp, int, Sexp) - Method in class danbikel.parser.english.BrokenTraining
The following method has been overridden so that the two unpublished conditions under which one needs to add a normal NP level are overlooked.
needToAddNormalNPLevel(Sexp, int, Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Returns true if a unary NP needs to be added above the specified base NP.
newDecoderTypeArr - Static variable in class danbikel.parser.Parser
An array of types used for fetching the constructor of Decoder that takes two arguments of type int and of type DecoderServerRemote.
newEntropyCountsTables(Model) - Static method in class danbikel.parser.AnalyzeDisns
Returns an array of CountsTable instances in which to store the entropy of every history at every back-off level.
newFile(String, String) - Method in class danbikel.parser.EventCountsConsumer
 
newFile(String, String) - Method in interface danbikel.switchboard.Consumer
Indicates that the consumer is about to be consuming objects from the specified input file.
newJSCountsTables(Model) - Static method in class danbikel.parser.AnalyzeDisns
Returns an array of BiCountsTable instances in which to store the JS divergence of every history at every back-off level, both to the previous back-off level and to the zeroeth back-off level.
newList(int) - Static method in class danbikel.parser.WordListFactory
Returns a new WordList object of the specified size.
newList(SexpList) - Static method in class danbikel.parser.WordListFactory
Returns a new WordList object containing Word objects constructed from the elements of the specified list, using the Word.Word(Sexp) constructor.
newList(Collection) - Static method in class danbikel.parser.WordListFactory
Returns a new WordList object containing the words of the specified collection.
newList(int) - Static method in class danbikel.util.FixedSizeListFactory
Returns a new FixedSizeList instance.
newList(Collection) - Static method in class danbikel.util.FixedSizeListFactory
Returns a new FixedSizeList instance whose elements will be that of the specified collection.
newModel() - Method in class danbikel.parser.ms.ModNonterminalModelStructure5
 
newModel() - Method in class danbikel.parser.ms.ModNonterminalModelStructure6
 
newModel() - Method in class danbikel.parser.ms.ModNonterminalModelStructure7
 
newModel() - Method in class danbikel.parser.ProbabilityStructure
Returns a newly-constructed Model object for this probability structure.
newModelCollection() - Method in class danbikel.parser.Trainer
Returns a new instance of ModelCollection.
newStartList() - Static method in class danbikel.parser.Trainer
Creates and returns a new start list.
newStartWordList() - Static method in class danbikel.parser.Trainer
 
next - Variable in class danbikel.util.HashMapPrimitive.Entry
The next pointer of this entry’s singly-linked list.
next() - Method in class danbikel.util.SLNode
Returns the next node of this list.
nextObject(int) - Method in class danbikel.switchboard.Switchboard
 
nextObject(int) - Method in interface danbikel.switchboard.SwitchboardRemote
Gets the next object for the specified client; returns null if there is not currently an object to be processed.
nextObjectInterval - Variable in class danbikel.switchboard.AbstractClient
The interval at which clients should keep pinging the switchboard for more objects after receving null from the SwitchboardRemote.nextObject(int) method.
nextToken() - Method in class danbikel.lisp.WordTokenizer
Reads the next token from the underlying character stream and returns its type, which is also stored in WordTokenizer.ttype.
nodesToPrune - Variable in class danbikel.parser.lang.AbstractTraining
Data member to store the set of nodes to prune for the default implementation of AbstractTraining.prune(Sexp).
nodesToPruneSym - Static variable in class danbikel.parser.lang.AbstractTraining
The symbol to indicate the list of nodes to prune.
NoNPBTraining - Class in danbikel.parser.chinese
This class is identical to its superclass Training, except that it overrides AbstractTraining.addBaseNPs(Sexp) to do nothing.
NoNPBTraining() - Constructor for class danbikel.parser.chinese.NoNPBTraining
The default constructor, to be invoked by Language.
nonPreterm - Variable in class danbikel.parser.Trainer
A filter that only allows TrainerEvent instances that do not represent preterminals (where the parent is identical to the part-of-speech tag of the head word).
nonStop - Variable in class danbikel.parser.Trainer
A filter that disallows ModifierEvent instances where the modifier is Training.stopSym(), but allows all other objects.
nonStopAndNonTop - Variable in class danbikel.parser.Trainer
A filter that disallows ModifierEvent instances where the modifier is neither Training.stopSym() nor Training.topSym(), but allows all other objects.
Nonterminal - Class in danbikel.parser
Representation of all possible data present in a complex nonterminal annotation: the base label, any augmentations and any index.
Nonterminal() - Constructor for class danbikel.parser.Nonterminal
Default constructor sets the base data member to be null, the augmentations data member to be a list with no elements and the index data member to be -1.
Nonterminal(Symbol, SexpList, int) - Constructor for class danbikel.parser.Nonterminal
Sets the data members of this new object to the specified values
nonterminalArr - Variable in class danbikel.parser.ModelCollection
An array of all nonterminal labels, providing a mapping of unique integers (indices into this array) to nonterminal labels.
nonterminalEventSym - Static variable in class danbikel.parser.Trainer
The label for nonterminal generation events.
nonterminalExceptionSet - Variable in class danbikel.parser.lang.AbstractTreebank
A set of nonterminal labels (Symbol objects) that AbstractTreebank.defaultParseNonterminal(Symbol,Nonterminal) should use when determining the base nonterminal label.
nonterminalMap - Variable in class danbikel.parser.ModelCollection
A map from nonterminal labels (Symbol objects) to unique integers that are indices in the nonterminal array.
NonterminalMapper - Interface in danbikel.parser
Specifies a single method to map a symbol representing a nonterminal to another symbol, typically an equivalence class.
nonterminalPriorModel - Variable in class danbikel.parser.ModelCollection
The model for nonoterminal priors.
nonterminalPriorModel() - Method in class danbikel.parser.ModelCollection
Returns the model for conditional probabilities of nonterminals given the lexical components (for the estimation of the joint event that is a fully lexicalized nonterminal)
nonterminalPriorModel - Variable in class danbikel.parser.Trainer
The model for conditional probabilities of nonterminals given the lexical components (for the estimation of the joint event that is a fully lexicalized nonterminal).
NonterminalPriorModelStructure1 - Class in danbikel.parser.ms
 
NonterminalPriorModelStructure1() - Constructor for class danbikel.parser.ms.NonterminalPriorModelStructure1
 
nonterminalPriorModelStructureClass - 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 nonterminal prior submodel.
nonterminalPriorModelStructureNumber - Static variable in class danbikel.parser.Settings
The properth to specify the model structure to use when creating the ProbabilityStructure object for the nonterminal prior submodel.
nonterminals() - Method in class danbikel.parser.CachingDecoderServer
 
nonterminals - Variable in class danbikel.parser.Decoder
An array of all nonterminals observed in training, that is initialized and filled in at construction time.
nonterminals() - Method in class danbikel.parser.DecoderServer
Returns the nonterminals CountsTable of the internal ModelCollection object.
nonterminals() - Method in interface danbikel.parser.DecoderServerRemote
A counts table of unlexicalized nonterminals, i.e., a map of unlexicalized nonterminals to their respective frequencies in the training data.
nonterminals - Variable in class danbikel.parser.ModelCollection
A table that maps unlexicalized nonterminals to their counts in the training corpus.
nonterminals() - Method in class danbikel.parser.ModelCollection
Returns a mapping of (unlexicalized) nonterminals to their counts in the training data.
nonterminals - Variable in class danbikel.parser.Trainer
A table for storing counts of (unlexicalized) nonterminals.
nonTop - Variable in class danbikel.parser.Trainer
A filter that only allows TrainerEvent instances where the parent nonterminal is not Training.topSym().
nonTopNonPreterm - Variable in class danbikel.parser.Trainer
A filter that is functionally equivalent to piping objects through both Trainer.nonTop and Trainer.nonPreterm.
nonTreebankDelimiter - Static variable in class danbikel.parser.CKYItem
The value of Treebank.nonTreebankDelimiter().
nonTreebankDelimiter() - Method in class danbikel.parser.lang.AbstractTreebank
 
nonTreebankDelimiter() - Method in interface danbikel.parser.Treebank
Returns a delimiter not already in use by the current treebank, for use when constructing lexicalized nonterminals when the Settings.decoderOutputHeadLexicalizedLabels is true.
nonTreebankLeftBracket - Static variable in class danbikel.parser.CKYItem
The value of Treebank.nonTreebankLeftBracket().
nonTreebankLeftBracket() - Method in class danbikel.parser.lang.AbstractTreebank
Returns a left-bracket character that is not an existing metacharacter in the current treebank, for use when the Settings.decoderOutputHeadLexicalizedLabels is true.
nonTreebankLeftBracket() - Method in interface danbikel.parser.Treebank
Returns a left-bracket character that is not an existing metacharacter in the current treebank, for use when the Settings.decoderOutputHeadLexicalizedLabels is true.
nonTreebankRightBracket - Static variable in class danbikel.parser.CKYItem
The value of Treebank.nonTreebankRightBracket().
nonTreebankRightBracket() - Method in class danbikel.parser.lang.AbstractTreebank
Returns a right-bracket character that is not an existing metacharacter in the current treebank, for use when constructing lexicalized nonterminals when the Settings.decoderOutputHeadLexicalizedLabels is true.
nonTreebankRightBracket() - Method in interface danbikel.parser.Treebank
Returns a right-bracket character that is not an existing metacharacter in the current treebank, for use when constructing lexicalized nonterminals when the Settings.decoderOutputHeadLexicalizedLabels is true.
nonZeroTimeout() - Method in class danbikel.switchboard.AbstractSwitchboardUser
Returns the value of AbstractSwitchboardUser.timeout (set at construction time), or AbstractSwitchboardUser.defaultTimeout if timeout is 0.
notSym - Static variable in class danbikel.parser.Constants
A symbol constant to represent negation.
nounSuffixMarkers - Static variable in class danbikel.parser.arabic.Training
An array of noun markers in Arabic Treebank part-of-speech tags.
NP - Variable in class danbikel.parser.lang.AbstractTraining
The value of Treebank.NPLabel(), cached for efficiency and convenience.
npArg - Static variable in class danbikel.parser.util.TrainerEventToCollins
 
NPArgThreadTraining - Class in danbikel.parser.chinese
This class is identical to Training, except that the NPArgThreadTraining.preProcess(Sexp) method invokes AbstractTraining.threadNPArgAugmentations(Sexp).
NPArgThreadTraining() - Constructor for class danbikel.parser.chinese.NPArgThreadTraining
The default constructor, to be invoked by Language.
NPArgThreadTraining - Class in danbikel.parser.english
This class is identical to Training, except that the NPArgThreadTraining.preProcess(Sexp) method invokes AbstractTraining.threadNPArgAugmentations(Sexp).
NPArgThreadTraining() - Constructor for class danbikel.parser.english.NPArgThreadTraining
The default constructor, to be invoked by Language.
NPLabel() - Method in class danbikel.parser.arabic.Treebank
Returns the symbol that AbstractTraining.addBaseNPs(Sexp) should add as a parent if a base NP is not dominated by an NP.
NPLabel() - Method in class danbikel.parser.chinese.Treebank
Returns the symbol that AbstractTraining.addBaseNPs(Sexp) should add as a parent if a base NP is not dominated by an NP.
NPLabel() - Method in class danbikel.parser.english.BrokenTreebank
Returns the symbol that AbstractTraining.addBaseNPs(Sexp) should add as a parent if a base NP is not dominated by an NP.
NPLabel() - Method in class danbikel.parser.english.Treebank
Returns the symbol that AbstractTraining.addBaseNPs(Sexp) should add as a parent if a base NP is not dominated by an NP.
NPLabel() - Method in class danbikel.parser.lang.AbstractTreebank
Returns the symbol that Training.addBaseNPs(Sexp) should add as a parent if a base NP is not dominated by an NP.
NPLabel() - Method in interface danbikel.parser.Treebank
Returns the symbol that Training.addBaseNPs(Sexp) should add as a parent if a base NP is not dominated by an NP.
nt - Variable in class danbikel.parser.constraints.PartialTreeConstraint
A Nonterminal object for use with Treebank.parseNonterminal(Symbol,Nonterminal).
NTMapper - Class in danbikel.parser
A class that provides a static method for mapping nonterminals, NTMapper.map(Symbol).
numAccesses - Variable in class danbikel.parser.CachingDecoderServer
The number of cache accesses over the lifetime of this object.
number() - Method in class danbikel.switchboard.NumberedObject
Returns the number of the underlying object.
NumberedObject - Class in danbikel.switchboard
A class to bundle an object with an integer that represents the order in which the object was discovered in its input file or stream (the object's number), as well as a flag to indicate whether the object has been processed.
NumberedObject(int, boolean, Object) - Constructor for class danbikel.switchboard.NumberedObject
Constructs a new NumberedObject object with the specified object, processed flag and object number.
numberMarkers - Static variable in class danbikel.parser.arabic.Training
An array of number markers in Arabic Treebank part-of-speech tags (Arabic has forms for singular, plural and dual).
numBytes() - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Returns 0.
numBytes() - Method in interface danbikel.util.MapToPrimitive.Entry
Returns the number of byte values associated with the key in this map entry, or 00 if the implementor does not associate bytes with its key
numChars() - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Returns 0.
numChars() - Method in interface danbikel.util.MapToPrimitive.Entry
Returns the number of char values associated with the key in this map entry, or 0 if the implementor does not associate chars with its key
numCharsRead() - Method in class danbikel.lisp.WordTokenizer
Returns the number of characters read from the underlying reader for this word tokenizer.
numClients - Static variable in class danbikel.parser.Parser
The number of parsing client to create in this JVM.
numComponents() - Method in class danbikel.parser.BrokenSubcatBag
An alias for BrokenSubcatBag.size().
numComponents(int) - Method in class danbikel.parser.BrokenSubcatBag
An alias for BrokenSubcatBag.size().
numComponents() - Method in interface danbikel.parser.Event
Gets the total number of components of this event.
numComponents(int) - Method in interface danbikel.parser.Event
Gets the number of components of this event of a particular type.
numComponents() - Method in class danbikel.parser.SexpEvent
Returns the number of components of this event: 1 if the backing Sexp is a symbol, or the length of the list otherwise.
numComponents(int) - Method in class danbikel.parser.SexpEvent
An alias for SexpEvent.numComponents(), as this Event implementation supports only one type.
numComponents() - Method in class danbikel.parser.SexpSubcatEvent
Returns the number of components of this event: the number of Sexp objects plus the number of Subcat objects.
numComponents(int) - Method in class danbikel.parser.SexpSubcatEvent
Returns the number of Sexp components or the number of Subcat components that are part of this event.
numComponents() - Method in class danbikel.parser.SubcatBag
An alias for SubcatBag.size().
numComponents(int) - Method in class danbikel.parser.SubcatBag
An alias for SubcatBag.size().
numComponents() - Method in class danbikel.parser.SubcatList
An alias for SexpList.size.
numComponents(int) - Method in class danbikel.parser.SubcatList
An alias for SexpList.size.
numDoubles() - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Returns 0.
numDoubles() - Method in class danbikel.util.HashMapDouble.Entry
Returns 1, the number of doubles associated with a key.
numDoubles() - Method in class danbikel.util.HashMapTwoDoubles.Entry
Returns 2, the number of doubles associated with a key.
numDoubles() - Method in interface danbikel.util.MapToPrimitive.Entry
Returns the number of double values associated with the key in this map entry, or 0 if the implementor does not associate doubles with its key
numFloats() - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Returns 0.
numFloats() - Method in interface danbikel.util.MapToPrimitive.Entry
Returns the number of float values associated with the key in this map entry, or 0 if the implementor does not associate floats with its key
numHits - Variable in class danbikel.parser.CachingDecoderServer
The number of cache hits over the lifetime of this object.
numInts() - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Returns 0.
numInts() - Method in class danbikel.util.HashMapInt.Entry
Returns 1, the number of ints associated with a key.
numInts() - Method in class danbikel.util.HashMapTwoInts.Entry
Returns 2, the number of ints associated with a key.
numInts() - Method in interface danbikel.util.MapToPrimitive.Entry
Returns the number of int values associated with the key in this map entry, or 0 if the implementor does not associate ints with its key
numInUse() - Method in class danbikel.util.ObjectBank
 
numItems(int, int) - Method in class danbikel.parser.Chart
Returns the number of chart items covering the specified span.
numLeftChildren() - Method in class danbikel.parser.CKYItem
Returns the number of children in the left modifier item list.
numLevels - Variable in class danbikel.parser.Model
A cached copy of the number of back-off levels in the ProbabilityStructure used by this model.
numLevels() - Method in class danbikel.parser.ms.BrokenLexPriorModelStructure
As this model simulates unconditional probabilities using relative-frequency estimation, it has only one back-off level that returns a dummy object.
numLevels() - Method in class danbikel.parser.ms.BrokenModWordModelStructure
Returns 3.
numLevels() - Method in class danbikel.parser.ms.BrokenTopLexModelStructure
 
numLevels() - Method in class danbikel.parser.ms.GapModelStructure1
 
numLevels() - Method in class danbikel.parser.ms.HeadModelStructure1
 
numLevels() - Method in class danbikel.parser.ms.LexPriorModelStructure1
 
numLevels() - Method in class danbikel.parser.ms.ModNonterminalModelStructure1
 
numLevels() - Method in class danbikel.parser.ms.ModNonterminalModelStructure2
 
numLevels() - Method in class danbikel.parser.ms.ModNonterminalModelStructure3
 
numLevels() - Method in class danbikel.parser.ms.ModNonterminalModelStructure4
 
numLevels() - Method in class danbikel.parser.ms.ModNonterminalModelStructure6
 
numLevels() - Method in class danbikel.parser.ms.ModNonterminalModelStructure7
 
numLevels() - Method in class danbikel.parser.ms.ModNonterminalModelStructure8
 
numLevels() - Method in class danbikel.parser.ms.ModNonterminalModelStructure9
 
numLevels() - Method in class danbikel.parser.ms.ModWordModelStructure1
 
numLevels() - Method in class danbikel.parser.ms.ModWordModelStructure2
 
numLevels() - Method in class danbikel.parser.ms.ModWordModelStructure3
 
numLevels() - Method in class danbikel.parser.ms.ModWordModelStructure4
 
numLevels() - Method in class danbikel.parser.ms.ModWordModelStructure5
 
numLevels() - Method in class danbikel.parser.ms.ModWordModelStructure6
 
numLevels() - Method in class danbikel.parser.ms.ModWordModelStructure7
 
numLevels() - Method in class danbikel.parser.ms.ModWordModelStructure8
 
numLevels() - Method in class danbikel.parser.ms.ModWordModelStructure9
 
numLevels() - Method in class danbikel.parser.ms.NonterminalPriorModelStructure1
 
numLevels() - Method in class danbikel.parser.ms.SubcatModelStructure1
Returns 3.
numLevels() - Method in class danbikel.parser.ms.SubcatModelStructure2
 
numLevels() - Method in class danbikel.parser.ms.TagModelStructure1
 
numLevels() - Method in class danbikel.parser.ms.TagModelStructure2
 
numLevels() - Method in class danbikel.parser.ms.TopLexModelStructure1
 
numLevels() - Method in class danbikel.parser.ms.TopNonterminalModelStructure1
 
numLevels() - Method in class danbikel.parser.ProbabilityStructure
Returns the number of back-off levels.
numLongs() - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Returns 0.
numLongs() - Method in interface danbikel.util.MapToPrimitive.Entry
Returns the number of long values associated with the key in this map entry, or 0 if the implementor does not associate longs with its key
numModels() - Method in class danbikel.parser.JointModel
Returns the number of models used to produce a joint probability estimate, including this Model instance.
numModels() - Method in class danbikel.parser.Model
Returns 1, as this object does not contain any other, internal Model instances.
numNonterminals() - Method in class danbikel.parser.ModelCollection
Returns the number of unique (unlexicalized) nonterminals observed in the training data.
numOtherModels - Variable in class danbikel.parser.JointModel
 
numParses - Variable in class danbikel.parser.CKYItem
The total number of possible parses represented by this chart item.
numParses() - Method in class danbikel.parser.CKYItem
The total number of possible parses represented by this chart item.
numPrePruned - Variable in class danbikel.parser.Chart
The total number of items pre-pruned for a particular sentence, via calls to the Chart.toPrune(int,int,Item) method.
numPrevMods - Static variable in class danbikel.parser.CKYItem
The value of the property Settings.numPrevMods, cached here for efficiency and convenience.
numPrevMods - Variable in class danbikel.parser.Decoder
The value of the setting Settings.numPrevMods.
numPrevMods - Static variable in class danbikel.parser.Settings
The property to specify how many previous modifiers the trainer outputs for its top-level count files.
numPrevMods - Variable in class danbikel.parser.Trainer
The value of the Settings.numPrevMods setting.
numPrevWords - Static variable in class danbikel.parser.CKYItem
The value of the property Settings.numPrevWords, cached here for efficiency and convenience.
numPrevWords - Variable in class danbikel.parser.Decoder
The value of the setting Settings.numPrevWords.
numPrevWords - Static variable in class danbikel.parser.Settings
The property to specify how many head words of previous modifiers the trainer outputs for its top-level count files.
numPrevWords - Variable in class danbikel.parser.Trainer
The value of the Settings.numPrevWords setting.
numPruned - Variable in class danbikel.parser.Chart
The total number of items pruned during the parse of a particular sentence.
numRightChildren() - Method in class danbikel.parser.CKYItem
Returns the number of children in the right modifier item list.
numShorts() - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Returns 0.
numShorts() - Method in interface danbikel.util.MapToPrimitive.Entry
Returns the number of short values associated with the key in this map entry, or 0 if the implementor does not associate shorts with its key
numTypes() - Method in class danbikel.parser.BrokenSubcatBag
Returns 1 (Subcat objects only support Symbol objects).
numTypes() - Method in interface danbikel.parser.Event
Returns the number of component types capable of being collected by this Event implementation.
numTypes() - Method in class danbikel.parser.SexpEvent
Returns 1, as this Event implementation supports only one type.
numTypes() - Method in class danbikel.parser.SexpSubcatEvent
Returns 2, as this Event implementation supports only two types.
numTypes() - Method in class danbikel.parser.SubcatBag
Returns 1 (Subcat objects only support Symbol objects).
numTypes() - Method in class danbikel.parser.SubcatList
Returns 1 (Subcat objects only support Symbol objects).
numUnaryLevels(int, int) - Method in class danbikel.parser.EMChart
Returns the number of unary levels for the chart entry at the specified span.

O

obj - Variable in class danbikel.util.FixedSizeSingletonList
 
ObjectBank - Class in danbikel.util
A generic object bank: the bank monotonically grows until all of its objects are reclaimed.
ObjectBank(Class) - Constructor for class danbikel.util.ObjectBank
 
ObjectBank(Class, int) - Constructor for class danbikel.util.ObjectBank
 
ObjectPool - Class in danbikel.util
A generic object pool.
ObjectPool(Class) - Constructor for class danbikel.util.ObjectPool
 
ObjectPool(Class, int) - Constructor for class danbikel.util.ObjectPool
 
ObjectReader - Interface in danbikel.switchboard
Specifies methods for reading objects from an underlying Reader or InputStream object.
ObjectReaderFactory - Interface in danbikel.switchboard
A specification for constructing ObjectReader instances.
ObjectWriter - Interface in danbikel.switchboard
Specifies methods for writing objects to an unerlying Writer or OutputStream object.
ObjectWriterFactory - Interface in danbikel.switchboard
A specification for constructing ObjectWriter instances.
onlyStopped - Static variable in class danbikel.parser.util.DebugChart
 
optimalDiscountEstimate - Variable in class danbikel.parser.InterpolatedKnesserNeyModel
 
ordinaryChar(char) - Method in class danbikel.lisp.WordTokenizer
Specifies a character to treated as a token delimiter, to be contained in WordTokenizer.ttype after it is read.
ordinaryChars(int, int) - Method in class danbikel.lisp.WordTokenizer
Specifies a range of characters to treated as a token delimiter, to be contained in WordTokenizer.ttype after it is read.
originalHeadWord() - Method in class danbikel.parser.HeadTreeNode
Gets the original version of the head word.
originalSentence - Variable in class danbikel.parser.Decoder
The original sentence, before preprocessing.
originalTags - Variable in class danbikel.parser.Decoder
The original tag list, before preprocessing.
originalWords - Variable in class danbikel.parser.Decoder
The original sentence, but with word removed to match pre-processing.
otherModels - Variable in class danbikel.parser.JointModel
 
otherNT - Variable in class danbikel.parser.constraints.PartialTreeConstraint
A Nonterminal object for use with Treebank.parseNonterminal(Symbol,Nonterminal).
outFilenameSuffix - Static variable in class danbikel.switchboard.Switchboard
The default suffix to add to input file names to form an output file when none is explicitly specified.
output(String, Writer) - Method in class danbikel.parser.BiCountsTable
Outputs all the mappings of this map in as S-expressions of the form (name key count0 count1) where count0 is the integer at index 0 and count1 is the integer at index 1 for the key.
output(String, Writer) - Method in interface danbikel.parser.CountsTable
Outputs all the mappings of this map in as S-expressions of the form (name key value)
output(String, Writer) - Method in class danbikel.parser.CountsTableImpl
Outputs all the mappings of this map in as S-expressions of the form (name key value)
output(String, Writer) - Method in class danbikel.parser.FileBackedTrainerEventMap
Throws an UnsupportedOperationException, because isn't it silly to try to copy an already file-backed map to a file?
outputCollins - Static variable in class danbikel.parser.Settings
The property to specify whether the trainer outputs top-level events in the format output by Michael Collins' trainer to System.out when training on a Treebank input file.
outputEvents(CountsTable, Writer) - Static method in class danbikel.parser.EventCountsWriter
A helper method used both by EventCountsWriter.writeObject(Object) and by the EventCountsConsumer class to write a CountsTable with TrainerEvent keys as text to a Writer.
outputFilename - Static variable in class danbikel.parser.Parser
The output filename specified on the command line.
outputFilenameSuffix - Static variable in class danbikel.parser.Parser
The suffix to attach to input files by default when creating their associated output files.
outputHeadToParentMap - Static variable in class danbikel.parser.Settings
The property to specify whether the trainer should output the head-to-parent nonterminal map that it derives from its top-level observations.
outputHeadToParentMap() - Method in class danbikel.parser.Trainer
Outputs the head map internal to this Trainer object to System.err.
outputHistories(Model) - Static method in class danbikel.parser.AnalyzeDisns
A debugging method that outputs all histories of the specified model to System.out.
outputInsideProbs - Static variable in class danbikel.parser.CKYItem
The value of the Settings.decoderOutputInsideProbs setting.
outputLexLabels - Static variable in class danbikel.parser.CKYItem
The value of the Settings.decoderOutputHeadLexicalizedLabels setting.
outputMap(Map, String) - Static method in class danbikel.parser.Trainer
Outputs the specified map to System.err
outputMap(Map, String, Writer) - Static method in class danbikel.parser.Trainer
Outputs the specified named map to the specified writer.
outputMaps(Map, String, Map, String) - Static method in class danbikel.parser.Trainer
Outputs both the specified maps to System.err.
outputMaps(Map, String, Map, String, Writer) - Static method in class danbikel.parser.Trainer
Outputs both the specified maps to the specified writer.
outputModNonterminalMap - Static variable in class danbikel.parser.Settings
The property to specify whether the trainer should output the modifying nonterminal map that it derives from its top-level observations.
outputModNonterminalMap() - Method in class danbikel.parser.Trainer
Outputs the modifier map internal to this Trainer object to System.err.
outputSubcatMaps - Static variable in class danbikel.parser.Settings
The property to specify whether the trainer should output the subcat maps that it derives from its top-level observations.
outputSubcatMaps() - Method in class danbikel.parser.Trainer
Outputs the subcat maps internal to this Trainer object to System.err.
outsideBeam(Item, double) - Method in class danbikel.parser.Chart
Returns whether the specified chart item is outside the beam given the specified top log prob.
outsideBeam(Item, double) - Method in class danbikel.parser.CKYChart
 
outsideBeam(Item, double) - Method in class danbikel.parser.EMChart
 
outsideProb() - Method in class danbikel.parser.EMItem
Gets the outside probability of this item.

P

Pair - Class in danbikel.util
Provides a mechanism to group any two objects.
Pair() - Constructor for class danbikel.util.Pair
Constructs a new Pair object with both data members set to null.
Pair(Object, Object) - Constructor for class danbikel.util.Pair
Constructs a new Pair object with the specified two objects.
parent - Variable in class danbikel.parser.constraints.PartialTreeConstraint
The parent constraint of this constraint.
parent - Variable in class danbikel.parser.constraints.UnlexTreeConstraint
The parent of this constraint.
parent() - Method in class danbikel.parser.GapEvent
Returns the parent nonterminal label.
parent() - Method in class danbikel.parser.HeadEvent
Returns the parent nonterminal label of this head event.
parent() - Method in class danbikel.parser.ModifierEvent
Returns the parent nonterminal label.
parent() - Method in class danbikel.parser.PriorEvent
Returns null.
parent() - Method in interface danbikel.parser.TrainerEvent
Returns the parent symbol of this event, or null if this event has no such object.
parentHeadSideLookupList - Variable in class danbikel.parser.Decoder
A reusable object used for constructing parent-head-side triples when employing the simpler of two methods for determining whether a particular modifier is possible in the context of a particular parent-head-side combination.
parse(SexpList) - Method in class danbikel.parser.Decoder
Parses the specified sentence.
parse(SexpList, SexpList) - Method in class danbikel.parser.Decoder
Parses the specified sentence using the supplied list of part-of-speech tags.
parse(SexpList, SexpList, ConstraintSet) - Method in class danbikel.parser.Decoder
Parses the specified sentence using the supplied list of part-of-speech tags and the supplied set of parsing constraints.
parse(SexpList) - Method in class danbikel.parser.Parser
Parses the specified sentence, which can be in one of three formats.
parseAndCollectEventCounts(SexpList) - Method in class danbikel.parser.EMDecoder
Constrain-parses the specified sentence and computes expected top-level (maximal context) event counts.
parseAndCollectEventCounts(SexpList, SexpList) - Method in class danbikel.parser.EMDecoder
Constrain-parses the specified sentence and computes expected top-level (maximal context) event counts.
parseAndCollectEventCounts(SexpList, SexpList, ConstraintSet) - Method in class danbikel.parser.EMDecoder
Constrain-parses the specified sentence and computes expected top-level (maximal context) event counts.
parseAndCollectEventCounts(SexpList) - Method in class danbikel.parser.EMParser
Collect expected counts for the specified partial parse tree/sentence.
parseNonterminal(Symbol, Nonterminal) - Method in class danbikel.parser.arabic.Treebank
Calls AbstractTreebank.defaultParseNonterminal(Symbol, Nonterminal) with the specified arguments.
parseNonterminal(Symbol, Nonterminal) - Method in class danbikel.parser.chinese.Treebank
Calls AbstractTreebank.defaultParseNonterminal(Symbol, Nonterminal) with the specified arguments.
parseNonterminal(Symbol, Nonterminal) - Method in class danbikel.parser.english.BrokenTreebank
Calls AbstractTreebank.defaultParseNonterminal(Symbol, Nonterminal) with the specified arguments.
parseNonterminal(Symbol, Nonterminal) - Method in class danbikel.parser.english.Treebank
Calls AbstractTreebank.defaultParseNonterminal(Symbol, Nonterminal) with the specified arguments.
parseNonterminal(Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
Returns a Nonterminal object to represent all the components of a complex nonterminal annotation: the base label, any augmentations and any index.
parseNonterminal(Symbol, Nonterminal) - Method in class danbikel.parser.lang.AbstractTreebank
Identical to AbstractTreebank.parseNonterminal(Symbol), except that instead of returning a newly-created Nonterminal object, this method merely modifies the specified Nonterminal object.
parseNonterminal(Symbol) - Method in interface danbikel.parser.Treebank
Returns a Nonterminal object to represent all the components of a complex nonterminal annotation: the base label, any augmentations and any index.
parseNonterminal(Symbol, Nonterminal) - Method in interface danbikel.parser.Treebank
Identical to Treebank.parseNonterminal(Symbol), except that instead of returning a newly-created Nonterminal object, this method merely modifies the specified Nonterminal object.
Parser - Class in danbikel.parser
A parsing client.
Parser(String) - Constructor for class danbikel.parser.Parser
Constructs a new Parser instance that will construct an internal DecoderServer for its Decoder to use when parsing.
Parser(DecoderServerRemote) - Constructor for class danbikel.parser.Parser
Constructs a new parsing client where the internal Decoder will use the specified server.
Parser(int) - Constructor for class danbikel.parser.Parser
Constructs a new parsing client with the specified timeout value for its sockets (not needed with recent RMI implementations from Sun).
Parser(int, int) - Constructor for class danbikel.parser.Parser
Constructs a new parsing client with the specified timeout value for its sockets (not needed with recent RMI implementations from Sun) and with the specified listening port for receiving remote method invocations.
Parser(int, RMIClientSocketFactory, RMIServerSocketFactory) - Constructor for class danbikel.parser.Parser
Constructs a new parsing client with the specified RMI port and client and server socket factories.
parserClass - Static variable in class danbikel.parser.Parser
The subclass of Parser to be constructed by the Parser.main(String[]) method of this class.
ParserRemote - Interface in danbikel.parser
An interface to serve as a semantic marker that this is a parsing client for a Switchboard instance.
ParseToSentence - Class in danbikel.parser.util
Reads parse trees either from standard input or a specified file, converting them to sentences and printing those sentences on standard output.
PartialLexTreeConstraint - Class in danbikel.parser.constraints
Represents a node in a parsing constraint tree, that requires an associated chart item to have the same label, head word and head tag.
PartialLexTreeConstraint(Sexp) - Constructor for class danbikel.parser.constraints.PartialLexTreeConstraint
Constructs a tree of constraints given the specified parse tree.
PartialLexTreeConstraint(PartialLexTreeConstraint, Sexp, IntCounter, HeadFinder) - Constructor for class danbikel.parser.constraints.PartialLexTreeConstraint
A helper constructor used by PartialLexTreeConstraint.PartialLexTreeConstraint(Sexp) to construct an entire tree of constraints.
PartialLexTreeConstraintSet - Class in danbikel.parser.constraints
Constructs a set of PartialLexTreeConstraints for a given tree.
PartialLexTreeConstraintSet() - Constructor for class danbikel.parser.constraints.PartialLexTreeConstraintSet
Constructs an empty constraint set.
PartialLexTreeConstraintSet(Sexp) - Constructor for class danbikel.parser.constraints.PartialLexTreeConstraintSet
Constructs a set of PartialLexTreeConstraint objects forming a tree structure from the specified syntactic tree.
PartialLexTreeConstraintSetFactory - Class in danbikel.parser.constraints
Factory to produce PartialLexTreeConstraintSet objects.
PartialLexTreeConstraintSetFactory() - Constructor for class danbikel.parser.constraints.PartialLexTreeConstraintSetFactory
Constructs a new factory for PartialLexTreeConstraintSet objects.
partiallyLexedModLookupList - Variable in class danbikel.parser.Decoder
A reusable object used for constructing a partially-lexicalized modifier nonterminal when employing the simpler of two methods for determining whether a particular modifier is possible in the context of a particular parent-head-side combination.
PartialTreeConstraint - Class in danbikel.parser.constraints
An implementation of a constraint to sit in a tree structure of constraints that represent a subgraph (certain brackets) of a tree, constraining a decoder to pursue only theories that contain the brackets of the constraint set of these objects.
PartialTreeConstraint(Sexp) - Constructor for class danbikel.parser.constraints.PartialTreeConstraint
Constructs a tree of constraints rooted at the specified syntactic tree.
PartialTreeConstraint() - Constructor for class danbikel.parser.constraints.PartialTreeConstraint
Constructs an empty constraint tree.
PartialTreeConstraint(PartialTreeConstraint, Sexp, IntCounter) - Constructor for class danbikel.parser.constraints.PartialTreeConstraint
A helper constructor for constructing a tree of constraints rooted at the specified subtree with the specified parent.
PartialTreeConstraintSet - Class in danbikel.parser.constraints
Represents a set of constraints that correspond to a specific unlexicalized parse tree, for use when the bottom-up parsing algorithm needs to generate only the analyses that are consistent with a particular unlexicalized tree.
PartialTreeConstraintSet() - Constructor for class danbikel.parser.constraints.PartialTreeConstraintSet
Returns an empty set of constraints.
PartialTreeConstraintSet(Sexp) - Constructor for class danbikel.parser.constraints.PartialTreeConstraintSet
Returns a set of partial tree constraints whose tree structure is isomorphic to the specified (possibly partial) syntactic tree.
PartialTreeConstraintSetFactory - Class in danbikel.parser.constraints
Factory to produce PartialTreeConstraintSet objects.
PartialTreeConstraintSetFactory() - Constructor for class danbikel.parser.constraints.PartialTreeConstraintSetFactory
Returns a new factory for PartialTreeConstraintSet objects.
pass(Object) - Method in class danbikel.util.AllPass
Returns true regardless of the value of the specified object (lets all objects pass through).
pass(Object) - Method in interface danbikel.util.Filter
Returns true if this filter allows the specified object to pass through.
personMarkers - Static variable in class danbikel.parser.arabic.Training
An array of person/number markers (indicating information such as “first person singular”) in Arabic Treebank part-of-speech tags.
pop() - Method in class danbikel.util.Stack
Pops the top element off the stack.
posMap() - Method in class danbikel.parser.CachingDecoderServer
 
posMap - Variable in class danbikel.parser.Decoder
The map from vocabulary items to their possible parts of speech.
posMap() - Method in class danbikel.parser.DecoderServer
Returns the map of vocabulary items to possible parts of speech, contained in the internal ModelCollection object.
posMap() - Method in interface danbikel.parser.DecoderServerRemote
Returns the map of vocabulary items to possible parts of speech, contained in the internal ModelCollection object.
posMap - Variable in class danbikel.parser.ModelCollection
A mapping from lexical items to all of their possible parts of speech.
posMap() - Method in class danbikel.parser.ModelCollection
Returns a mapping from Symbol objects representing words to SexpList objects that contain the set of their possible parts of speech (a list of Symbol).
posMap - Variable in class danbikel.parser.Trainer
A map of words to lists of their observed part-of-speech tags.
posMapSym - Static variable in class danbikel.parser.Trainer
The label for word to part-of-speech mappings.
posSet - Variable in class danbikel.parser.Decoder
The set of possible parts of speech, derived from Decoder.posMap.
postHeadSuffix - Static variable in class danbikel.parser.lang.AbstractHeadFinder
The augmentation for new post-head nodes added by AbstractHeadFinder.addHeadInformation(danbikel.lisp.Sexp).
postMods() - Method in class danbikel.parser.HeadTreeNode
Gets the list of postmodifiers of the head child of this node.
posToExampleWordMap - Variable in class danbikel.parser.Decoder
A cache derived from Decoder.posMap that is a map of (presumably closed-class) parts of speech to random example words observed with the part of speech from which they are mapped.
postParseCleanup() - Method in class danbikel.parser.Chart
Called by Decoder.parse after parsing has finished for a particular sentence.
postProcess(Sexp) - Method in class danbikel.parser.Decoder
Performs post-processing on a sentence that has been parsed.
postProcess(Sexp) - Method in class danbikel.parser.english.BrokenTraining
 
postProcess(Sexp) - Method in class danbikel.parser.english.Training
 
postProcess(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
 
postProcess(Sexp) - Method in interface danbikel.parser.Training
Post-processes a parse tree after decoding, eseentially undoing the steps performed in preprocessing.
precomputedLambdas - Variable in class danbikel.parser.Model
Precomputed lambdas for each back-off level of this model.
precomputedNPBProbCalls - Variable in class danbikel.parser.Model
Records the number of times Model.estimateLogProbUsingPrecomputed(Transition,int) is invoked requesting a probability for an event whose history context has a base NP (NPB) the parent nonterminal.
precomputedNPBProbHits - Variable in class danbikel.parser.Model
Records the number of “hits” to the caches of precomputed probability estimates at the various back-off levels when the caller requests a probability for a context that has a base NP (NPB) as the parent nonterminal.
precomputedProbCalls - Variable in class danbikel.parser.Model
Records the number of times Model.estimateLogProbUsingPrecomputed(Transition,int) is invoked.
precomputedProbHits - Variable in class danbikel.parser.Model
Records the number of “hits” to the caches of precomputed probability estimates at the various back-off levels, to determine the amount each back-off level is used while decoding.
precomputedProbs - Variable in class danbikel.parser.Model
Precomputed probabilities for each back-off level of this model.
precomputeProbs(MapToPrimitive.Entry, double[], double[], Transition[], Event[], int) - Method in class danbikel.parser.InterpolatedKnesserNeyModel
 
precomputeProbs(TrainerEvent, Transition[], Event[]) - Method in class danbikel.parser.InterpolatedKnesserNeyModel
Deprecated. This method is called by Model.precomputeProbs(CountsTable,Filter), which is also deprecated.
precomputeProbs() - Method in class danbikel.parser.JointModel
Precomputes probabilities and smoothing values for this Model and for all internal Model instances.
precomputeProbs - Static variable in class danbikel.parser.Model
The boolean value of Settings.precomputeProbs, cached here for convenience.
precomputeProbs() - Method in class danbikel.parser.Model
Precomputes all probabilities and smoothing values for events seen during all previous invocations of Model.deriveCounts(CountsTable,Filter,double,FlexibleMap,boolean).
precomputeProbs(MapToPrimitive.Entry, double[], double[], Transition[], Event[], int) - Method in class danbikel.parser.Model
Precomputes the probabilities and smoothing values for the Transition object contained as a key within the specified map entry, where the value is the count of the transition.
precomputeProbs(CountsTable, Filter) - Method in class danbikel.parser.Model
Deprecated. This method has been superseded by Model.precomputeProbs().
precomputeProbs(TrainerEvent, Transition[], Event[]) - Method in class danbikel.parser.Model
Deprecated. This method is called by Model.precomputeProbs(CountsTable,Filter), which is also deprecated.
precomputeProbs - Static variable in class danbikel.parser.Settings
The property to specify whether or not to pre-compute probabilities when training and use those pre-computed probabilities when decoding.
precomputeProbs() - Method in class danbikel.parser.Trainer
Precomputes all probabilities and smoothing parameters for all Model instances that are part of the ModelCollection of this trainer.
preHeadSuffix - Static variable in class danbikel.parser.lang.AbstractHeadFinder
The augmentation for new pre-head nodes added by AbstractHeadFinder.addHeadInformation(danbikel.lisp.Sexp).
preMods() - Method in class danbikel.parser.HeadTreeNode
Gets the list of premodifiers of the head child of this node.
preProcess(Sexp) - Method in class danbikel.parser.arabic.Training
The method to call before counting events in a training parse tree.
preProcess(Sexp) - Method in class danbikel.parser.chinese.NPArgThreadTraining
Performs all the preprocessing setps of the overridden AbstractTraining.preProcess(Sexp) method of the superclass, and then provides an additional preprocessing step by invoking AbstractTraining.threadNPArgAugmentations(Sexp).
preProcess(SexpList, SexpList) - Method in class danbikel.parser.Decoder
Performs all preprocessing to the specified coordinated lists of words and part-of-speech tags of the sentence that is about to be parsed.
preProcess(Sexp) - Method in class danbikel.parser.EMParser
Instead of simply invoking the Training.preProcess(Sexp) method, this method selectively invokes only some of the preprocessing methods of Training, so as to leave the rest of the transformations unconstrained.
preProcess(Sexp) - Method in class danbikel.parser.english.BrokenTraining
 
preProcess(Sexp) - Method in class danbikel.parser.english.NPArgThreadTraining
Identical to Training.preProcess(danbikel.lisp.Sexp), except that AbstractTraining.threadNPArgAugmentations(danbikel.lisp.Sexp) is invoked after all other preprocessing methods.
preProcess(Sexp) - Method in class danbikel.parser.english.Training
 
preProcess(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
The method to call before counting events in a training parse tree.
preProcess(Sexp) - Method in interface danbikel.parser.Training
The method to call before counting events in a training parse tree.
preProcessTest(SexpList, SexpList, SexpList) - Method in class danbikel.parser.arabic.Training
Preprocesses the specified test sentence and its coordinated list of part-of-speech tags, leaving the original sentence untouched but providing a modified version of the coordinated list of tags, where each tag has been mapped using the value of the original word and the original tag using TagMap.transformTag(Word).
preProcessTest(SexpList, SexpList, SexpList) - Method in class danbikel.parser.lang.AbstractTraining
Preprocesses the specified test sentence and its coordinated list of tags.
preProcessTest(SexpList, SexpList, SexpList) - Method in interface danbikel.parser.Training
Preprocesses the specified test sentence and its coordinated list of tags.
PrettyPrint - Class in danbikel.parser.util
Reads in a file of parse trees and outputs pretty-printed versions.
prettyPrint(Sexp) - Static method in class danbikel.parser.util.Util
Returns a string containing the pretty-printed version of the specified parse tree.
prevConj() - Method in class danbikel.parser.ModifierEvent
Returns the previously-generated conjunction if this modifier is conjoined with the head of the phrase, or null if this modifier is not conjoined.
prevHistCount - Variable in class danbikel.parser.ProbabilityStructure
A temporary value used in the computation of top-level probabilities, used in the computation of lambdas.
previousMods() - Method in class danbikel.parser.ModifierEvent
Returns a list of modifiers that have already been generated.
previousWords() - Method in class danbikel.parser.ModifierEvent
Returns a list of the head words of modifiers that have already been generated.
prevItemsAdded - Variable in class danbikel.parser.Decoder
One of a pair of lists used by Decoder.addUnariesAndStopProbs(int, int).
prevModLookupList - Variable in class danbikel.parser.Decoder
A reusable object for constructing previous modifier lists for chart items.
prevModMapperClass - Static variable in class danbikel.parser.Settings
The property to specify the concrete type of the NonterminalMapper instance used by NTMapper to map nonterminals that are previously-generated modifiers of some head child nonterminal.
prevMods(boolean) - Method in class danbikel.parser.CKYItem
Returns the previous modifiers on the specified side of this item's head child.
prevModWordLeftLookupList - Variable in class danbikel.parser.Decoder
A reusable object for constructing previous left-modifier word lists for chart items.
prevModWordRightLookupList - Variable in class danbikel.parser.Decoder
A reusable object for constructing previous right-modifier word lists for chart items.
prevPunc() - Method in class danbikel.parser.ModifierEvent
Returns the previously-generated punctuation word if this modifier follows one, or null.
prevWordsEqual(CKYItem) - Method in class danbikel.parser.CKYItem
Returns whether the previous word lists of this chart item are equal to those of the specified item.
prevWordsEqual(boolean, CKYItem) - Method in class danbikel.parser.CKYItem
Returns whether the head words of modifier children on the specified side of this item are equal to those on the specified side of the specified other item.
printBestDerivationStats(String, Chart, int, Symbol, double, CKYItem) - Static method in class danbikel.parser.util.DebugChart
 
PrintCFG - Class in danbikel.parser.util
Class to provide a main method to read Treebank trees and print out the underlying CFG grammar induced from those trees.
printDerivation(CKYItem) - Static method in class danbikel.parser.util.DebugChart
Prints the derivation rooted at the specified chart item to System.err.
printDerivation(CKYItem, Filter) - Static method in class danbikel.parser.util.DebugChart
 
PrintDisn - Class in danbikel.parser
Provides a single static method, printLogProbDisn, as well as a PrintDisn.main(String[]) method, to print a log-probability distribution for a particular event in a particular model of a model collection.
printLogProbDisn(PrintWriter, ModelCollection, Model, int, Event, Set, Transition) - Static method in class danbikel.parser.PrintDisn
Prints the log-probability distribution of the specified event at the specified back-off level of the specified model to the specified writer.
printMetadata() - Method in class danbikel.parser.lang.AbstractTraining
Debugging method to print the metadata used by this class.
PrintNTs - Class in danbikel.parser.util
A class with a main method for reading trees and printing the complete set of nonterminals used in those trees.
printPrunedEvents - Static variable in class danbikel.parser.Model
Indicates whether the method Model.pruneHistoriesAndTransitions() will output pruned events to a special pruned event log file.
PrintTags - Class in danbikel.parser.util
A class with a main method for reading trees and printing the complete set of part-of-speech tags (preterminals) used in those trees.
printUnprunedEvents - Static variable in class danbikel.parser.Model
Indicates whether the method Model.pruneHistoriesAndTransitions() will output events that were not pruned to a special pruned event log file.
PriorEvent - Class in danbikel.parser
A class to represent the marginal probabilities of lexicalized nonterminals (loosely, if incorrectly, referred to as “prior probabilities”).
PriorEvent(Word, Symbol) - Constructor for class danbikel.parser.PriorEvent
Constructs a new PriorEvent object, setting all its data members to the specified values.
priorEvents - Variable in class danbikel.parser.Trainer
A table for storing counts of lexicalized nonterminal prior events.
priorLevel() - Method in class danbikel.parser.ProbabilityStructure
Returns the level that corresponds to the prior for that which is being predicted (the future); if there is no such level, this method returns -1 (the default implementation returns -1).
ProbabilityCache<K> - Class in danbikel.parser
A cache for storing arbitrary objects with their probabilities.
ProbabilityCache(int) - Constructor for class danbikel.parser.ProbabilityCache
Constructs a ProbabilityCache with the specified maximum capacity and the default replacement strategy.
ProbabilityCache(int, int) - Constructor for class danbikel.parser.ProbabilityCache
Constructs a ProbabilityCache with the specified maximum capacity, the specified initial capacity and the default replacement strategy.
ProbabilityCache(int, int, float) - Constructor for class danbikel.parser.ProbabilityCache
Constructs a ProbabilityCache with the specified maximum capacity, the specified initial capacity, the specified load factor and the default replacement strategy.
ProbabilityStructure - Class in danbikel.parser
Abstract class to represent the probability structure—the entire set of of back-off levels, including the top level—for the estimation of a particular parameter class in the overall parsing model (using "class" in the statistical, non-Java sense of the word).
ProbabilityStructure() - Constructor for class danbikel.parser.ProbabilityStructure
Usually called implicitly, this constructor initializes the internal, reusable ProbabilityStructure.historyList to have an initial capacity of the return value of maxEventComponents.
probCertain - Static variable in class danbikel.parser.Constants
A constant to represent the probability of 1.0 (equal to 1.0).
probCertain - Static variable in class danbikel.parser.EMDecoder
The value of Constants.probCertain.
probHead(int, TrainerEvent) - Method in class danbikel.parser.CachingDecoderServer
 
probHead(int, TrainerEvent) - Method in class danbikel.parser.DecoderServer
 
probHead(int, TrainerEvent) - Method in interface danbikel.parser.DecoderServerRemote
Returns the probability of generating a head child in the context of a particular parent (both the head to be generated and the parent are contained in the specified TrainerEvent object).
probImpossible - Static variable in class danbikel.parser.Constants
A constant to represent the probability of an impossible event (equal to 0.0).
probImpossible - Static variable in class danbikel.parser.EMDecoder
The value of Constants.probImpossible.
probLeftSubcat(int, TrainerEvent) - Method in class danbikel.parser.CachingDecoderServer
 
probLeftSubcat(int, TrainerEvent) - Method in class danbikel.parser.DecoderServer
 
probLeftSubcat(int, TrainerEvent) - Method in interface danbikel.parser.DecoderServerRemote
Returns the probability of generating a left subcat in the context of a particular parent and head (the subcat to be generated, the head and parent are all contained in the specified TrainerEvent object).
probMod(int, TrainerEvent) - Method in class danbikel.parser.CachingDecoderServer
 
probMod(int, TrainerEvent) - Method in class danbikel.parser.DecoderServer
 
probMod(int, TrainerEvent) - Method in interface danbikel.parser.DecoderServerRemote
Returns the probability of generating a fully-lexicalized modifying nonterminal given a particular parent, head and other components of the syntactic context.
probRandom - Variable in class danbikel.parser.lang.AbstractHeadFinder
The probability that the head child of a production will be chosen at random.
probRightSubcat(int, TrainerEvent) - Method in class danbikel.parser.CachingDecoderServer
 
probRightSubcat(int, TrainerEvent) - Method in class danbikel.parser.DecoderServer
 
probRightSubcat(int, TrainerEvent) - Method in interface danbikel.parser.DecoderServerRemote
Returns the probability of generating a right subcat in the context of a particular parent and head (the subcat to be generated, the head and parent are all contained in the specified TrainerEvent object).
probTop(int, TrainerEvent) - Method in class danbikel.parser.CachingDecoderServer
 
probTop(int, TrainerEvent) - Method in class danbikel.parser.DecoderServer
 
probTop(int, TrainerEvent) - Method in interface danbikel.parser.DecoderServerRemote
Returns the probability of generating the head nonterminal of an entire sentence.
process(Object) - Method in class danbikel.parser.EMParser
Collect expected counts for the specified partial parse tree/sentence.
process(Object) - Method in class danbikel.parser.Parser
Parses the specified object, which must be a SexpList.
process(Object) - Method in class danbikel.switchboard.AbstractClient
This is the only purely abstract method of this class, allowing subclasses to focus purely on their job, which is object-processing.
processed() - Method in class danbikel.switchboard.NumberedObject
Returns whether the underlying object has been processed.
processFile(String) - Method in class danbikel.switchboard.Switchboard
Processes the specified input file and creates an output file with the specified name; a log file will be used to keep track of incremental work.
processFile(String, String) - Method in class danbikel.switchboard.Switchboard
Processes the specified input file and creates an output file with the specified name; a log file will be used to keep track of incremental work.
processFile(String, String, String) - Method in class danbikel.switchboard.Switchboard
Processes the specified input file and creates an output file with the specified name; a log file with the specified name will be used to keep track of incremental work.
processFile(String, String, String, boolean) - Method in class danbikel.switchboard.Switchboard
Processes the specified input file and creates an output file with the specified name; a log file with the specified name will be used to keep track of incremental work.
processingComplete(String, String) - Method in class danbikel.parser.EventCountsConsumer
Indicates that there are no more sentences whose event counts are to be consumed.
processingComplete(String, String) - Method in interface danbikel.switchboard.Consumer
Indicates that processing is complete for the specified input/output file pair.
processInputFile(String, String) - Method in class danbikel.parser.Parser
Parses the sentences contained in the specified input file, outputting the results to the specified output file.
processObjects() - Method in class danbikel.switchboard.AbstractClient
Gets objects from the switchboard until there are no more to get, processes them by invoking the AbstractClient.process(Object) method and puts the processed objects back to the switchboard, handling any RMI-related errors along the way.
processObjectsThenDie() - Method in class danbikel.switchboard.AbstractClient
A convenience method that simply calls AbstractClient.processObjects() and then AbstractSwitchboardUser.unexportWhenDead().
progName - Static variable in class danbikel.parser.Settings
The official name of this program.
pronounMarkers - Static variable in class danbikel.parser.arabic.Training
An array of pronoun markers in Arabic Treebank part-of-speech tags.
proxyFor(Object, AbstractSwitchboardUser, int, long) - Static method in class danbikel.switchboard.AbstractSwitchboardUser.SBUserRetry
 
proxyFor(Object, Client, SwitchboardRemote) - Static method in class danbikel.switchboard.Failover
 
proxyFor(Object, String) - Static method in class danbikel.util.proxy.Reconnect
 
proxyFor(Object, int, long) - Static method in class danbikel.util.proxy.Retry
 
prune(int, int) - Method in class danbikel.parser.Chart
Prunes away items in the specified span that are either below the probability threshold of the top-ranked item for that span, or are outside the cell limit, if one has been specified.
prune(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Prunes away subtrees that have a root that is an element of nodesToPrune.
prune(Sexp) - Method in interface danbikel.parser.Training
Prunes away subtrees that have a root that is an element of nodesToPrune.
prunedPreterms() - Method in class danbikel.parser.CachingDecoderServer
 
prunedPreterms() - Method in class danbikel.parser.DecoderServer
 
prunedPreterms() - Method in interface danbikel.parser.DecoderServerRemote
A set of Sexp objects representing preterminals that were pruned during training.
prunedPreterms - Variable in class danbikel.parser.lang.AbstractTraining
The set of preterminals (Sexp objects) that have been pruned away.
prunedPreterms - Variable in class danbikel.parser.ModelCollection
The set of preterminals pruned during training.
prunedPreterms() - Method in class danbikel.parser.ModelCollection
Returns set of preterminals pruned during training.
prunedPreterms - Variable in class danbikel.parser.Trainer
A set of Sexp objects representing preterminals that were pruned during training.
prunedPretermsPosMap - Variable in class danbikel.parser.Decoder
A map of each word pruned during training to its set of part-of-speech tags observed with its pruned instances.
prunedPretermsPosSet - Variable in class danbikel.parser.Decoder
The set of part-of-speech tags of words pruned during training.
prunedPretermSym - Static variable in class danbikel.parser.Trainer
The label for the set of pruned preterminals.
prunedPuncSym - Static variable in class danbikel.parser.Trainer
The label for the set of pruned punctuation preterminals.
prunedPunctuation() - Method in class danbikel.parser.CachingDecoderServer
 
prunedPunctuation() - Method in class danbikel.parser.DecoderServer
 
prunedPunctuation() - Method in interface danbikel.parser.DecoderServerRemote
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.
prunedPunctuation - Variable in class danbikel.parser.lang.AbstractTraining
The set of preterminals (Sexp objects) that were "raised away" by AbstractTraining.raisePunctuation(Sexp) because they appeared either at the beginning or the end of a sentence.
prunedPunctuation - Variable in class danbikel.parser.ModelCollection
The set of punctuation preterminals pruned during training.
prunedPunctuation() - Method in class danbikel.parser.ModelCollection
Returns set of punctuation preterminals pruned during training.
prunedPunctuation - Variable in class danbikel.parser.Trainer
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.
prunedPunctuationPosMap - Variable in class danbikel.parser.Decoder
A map of each punctuation word that was pruned during training to the set of its parts of speech observed with the pruned instances.
pruneFact - Variable in class danbikel.parser.Chart
The natural log of the prune factor for this chart.
pruneFact - Variable in class danbikel.parser.Decoder
The prune factor for the parsing chart (stored here for debugging).
pruneFactIncrement - Variable in class danbikel.parser.Decoder
The prune factor increment used when doing beam-widening.
pruneHistoriesAndTransitions() - Method in class danbikel.parser.Model
Analyzes the distributions of this model in order to prune history and transition (i.e., conditional) events from the various counts tables.
pruneHistoriesAndTransitionsOld() - Method in class danbikel.parser.Model
Prune every history and transition with a back-off level less than the last level in which the last level history has a diversity of 1 (meaning that the probability is 1, so no need to store a history and transition).
pruning - Variable in class danbikel.parser.Chart
Indicates whether the chart is currently doing any pruning.
pruningThreshold - Static variable in class danbikel.parser.Model
Caches the double value of Settings.modelPruningThreshold.
puncSym - Static variable in class danbikel.parser.Collins
The punctuation equivalence class.
push(Object) - Method in class danbikel.util.Stack
Pushes the specified object onto the stack.
pushBack() - Method in class danbikel.lisp.WordTokenizer
Causes the most recent token read (either a word or ordinary character) to be pushed back, so that it is the next token returned by WordTokenizer.nextToken().
put(Object, Object) - Method in class danbikel.parser.ProbabilityCache
Throws an UnsupportedOperationException, as the only way to add keys to this specialized cache is through the put(Object,double) method.
put(K, double) - Method in class danbikel.parser.ProbabilityCache
Adds the specified key with the specified probability to this cache.
put(K, byte) - Method in class danbikel.util.AbstractMapToPrimitive
Associates the specified byte value (at index 0) with the specified key.
put(K, int, byte) - Method in class danbikel.util.AbstractMapToPrimitive
 
put(K, char) - Method in class danbikel.util.AbstractMapToPrimitive
 
put(K, int, char) - Method in class danbikel.util.AbstractMapToPrimitive
 
put(K, short) - Method in class danbikel.util.AbstractMapToPrimitive
 
put(K, int, short) - Method in class danbikel.util.AbstractMapToPrimitive
 
put(K, int) - Method in class danbikel.util.AbstractMapToPrimitive
 
put(K, int, int) - Method in class danbikel.util.AbstractMapToPrimitive
 
put(K, long) - Method in class danbikel.util.AbstractMapToPrimitive
 
put(K, int, long) - Method in class danbikel.util.AbstractMapToPrimitive
 
put(K, float) - Method in class danbikel.util.AbstractMapToPrimitive
 
put(K, int, float) - Method in class danbikel.util.AbstractMapToPrimitive
 
put(K, double) - Method in class danbikel.util.AbstractMapToPrimitive
 
put(K, int, double) - Method in class danbikel.util.AbstractMapToPrimitive
 
put(K, V) - Method in class danbikel.util.HashMap
 
put(K, Object) - Method in class danbikel.util.HashMapPrimitive
Throws an UnsupportedOperationException.
put(K, int, byte) - Method in class danbikel.util.HashMapPrimitive
 
put(K, int, char) - Method in class danbikel.util.HashMapPrimitive
 
put(K, int, short) - Method in class danbikel.util.HashMapPrimitive
 
put(K, int, int) - Method in class danbikel.util.HashMapPrimitive
 
put(K, int, long) - Method in class danbikel.util.HashMapPrimitive
 
put(K, int, float) - Method in class danbikel.util.HashMapPrimitive
 
put(K, int, double) - Method in class danbikel.util.HashMapPrimitive
 
put(K, byte) - Method in interface danbikel.util.MapToPrimitive
Associates the specified byte value (at index 0) with the specified key.
put(K, int, byte) - Method in interface danbikel.util.MapToPrimitive
 
put(K, char) - Method in interface danbikel.util.MapToPrimitive
 
put(K, int, char) - Method in interface danbikel.util.MapToPrimitive
 
put(K, short) - Method in interface danbikel.util.MapToPrimitive
 
put(K, int, short) - Method in interface danbikel.util.MapToPrimitive
 
put(K, int) - Method in interface danbikel.util.MapToPrimitive
 
put(K, int, int) - Method in interface danbikel.util.MapToPrimitive
 
put(K, long) - Method in interface danbikel.util.MapToPrimitive
 
put(K, int, long) - Method in interface danbikel.util.MapToPrimitive
 
put(K, float) - Method in interface danbikel.util.MapToPrimitive
 
put(K, int, float) - Method in interface danbikel.util.MapToPrimitive
 
put(K, double) - Method in interface danbikel.util.MapToPrimitive
 
put(K, int, double) - Method in interface danbikel.util.MapToPrimitive
 
putAll(CountsTable<K>) - Method in interface danbikel.parser.CountsTable
Puts the specified map of key objects to their counts into this counts table.
putAll(CountsTable<K>) - Method in class danbikel.parser.CountsTableImpl
 
putAll(CountsTable) - Method in class danbikel.parser.FileBackedTrainerEventMap
Throws an UnsupportedOperationException, as this is an unmodifiable map.
putAndRemove(K, double) - Method in class danbikel.parser.ProbabilityCache
A synonym for putAndRemove(key, key.hashCode(), probability).
putAndRemove(K, int, double) - Method in class danbikel.parser.ProbabilityCache
Puts the specified key into the cache with the specified probability, removing the least-recently used key from this key's bucket if the bucket is not currently empty.
putBack(Object) - Method in class danbikel.util.ObjectPool
 
putBackAll(Collection) - Method in class danbikel.util.ObjectPool
 
putBackPool(ObjectPool) - Method in class danbikel.util.ObjectPool
 
putInCache(TrainerEvent, double) - Method in class danbikel.parser.CachingDecoderServer
Inserts the specified TrainerEvent and its associated probability into this object's probability cache.
putObject(int, NumberedObject, long) - Method in class danbikel.switchboard.Switchboard
 
putObject(int, NumberedObject, long) - Method in interface danbikel.switchboard.SwitchboardRemote
Sends a processed object back to the switchboard object.

R

raisePunctuation(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Raises punctuation to the highest possible point in a parse tree, resulting in a tree where no punctuation is the first or last child of a non-leaf node.
raisePunctuation(Sexp) - Method in interface danbikel.parser.Training
Raises punctuation to the highest possible point in a parse tree, resulting in a tree where no punctuation is the first or last child of a non-leaf node.
rand - Variable in class danbikel.parser.lang.AbstractHeadFinder
This class’ random number generator.
rand - Variable in class danbikel.switchboard.AbstractClient
The pseudorandom number generator used by AbstractClient.sleepRandom(int), initialized at construction with a random seed based on the current time.
RANDOM - Static variable in class danbikel.parser.ProbabilityCache
Integer to indicate to delete a random element every time the size limit of this cache has been exceeded.
read(SexpTokenizer) - Static method in class danbikel.lisp.Sexp
Returns the S-expression contained in the stream held by tok.
read(SexpTokenizer, char, char) - Static method in class danbikel.lisp.Sexp
 
read(String) - Static method in class danbikel.lisp.Sexp
Returns the S-expression contained in the specified string.
readExternal(ObjectInput) - Method in class danbikel.lisp.IntSymbol
Reads this object from an ObjectInput instance.
readExternal(ObjectInput) - Method in class danbikel.lisp.Sexp
Reads this Sexp object from the specified object stream (to be implemented by all concrete subclasses).
readExternal(ObjectInput) - Method in class danbikel.lisp.SexpList.HashCache
 
readExternal(ObjectInput) - Method in class danbikel.lisp.SexpList
Reads this object from an ObjectInput instance.
readExternal(ObjectInput) - Method in class danbikel.lisp.StringSymbol
Reads this object from an ObjectInput instance.
readExternal(ObjectInput) - Method in class danbikel.parser.BrokenSubcatBag
 
readExternal(ObjectInput) - Method in class danbikel.parser.SexpEvent
Reconstructs the SexpEvent object that was serialized using SexpEvent.writeExternal(ObjectOutput).
readExternal(ObjectInput) - Method in class danbikel.parser.SexpSubcatEvent
 
readExternal(ObjectInput) - Method in class danbikel.parser.SubcatBag
Reads a serialized instance of this class from the specified stream.
readExternal(ObjectInput) - Method in class danbikel.parser.SubcatList
 
readExternal(ObjectInput) - Method in class danbikel.util.HashMapPrimitive.Entry
 
readExternal(ObjectInput) - Method in class danbikel.util.IntPair
 
readHeadTable(Sexp) - Method in class danbikel.parser.lang.AbstractHeadFinder
Reads the head table contained in the specified S-expression.
readIbmTree(SexpTokenizer) - Static method in class danbikel.parser.util.Util
Returns the S-expression for the IBM-format parse tree in the stream to be tokenized by the specified SexpTokenizer instance.
readMetadata(SexpTokenizer) - Method in class danbikel.parser.lang.AbstractTraining
Reads metadata to fill in AbstractTraining.argContexts and AbstractTraining.semTagArgStopSet.
readMetadataHook(Symbol, int, SexpList) - Method in class danbikel.parser.arabic.Training
Reads the tag map metadata if the specified data type is equal to Training.tagMapSym.
readMetadataHook(Symbol, int, SexpList) - Method in class danbikel.parser.lang.AbstractTraining
A hook for subclasses to have their own custom metadata types.
readObject() - Method in class danbikel.parser.SexpNumberedObjectReader
Returns a NumberedObject instance constructed from the next numbered S-expression in the stream or file that this reader wraps.
readObject() - Method in class danbikel.parser.SexpObjectReader
Reads the next S-expression from the underlying S-expression reader.
readObject() - Method in interface danbikel.switchboard.ObjectReader
Reads and returns the next object from the underlying Reader or stream.
readResolve() - Method in class danbikel.lisp.IntSymbol
Deals with the issue of uniqueness when we are dealing with more than one VM by adding the read symbol to the symbol map, if it is not already there.
readResolve() - Method in class danbikel.lisp.StringSymbol
Deals with the issue of uniqueness when we are dealing with more than one VM by adding the read symbol to the symbol map, if it is not already there.
readSmoothingParams() - Method in class danbikel.parser.Model
Reads all necessary smoothing parameters from Model.smoothingParamsFile instead of deriving values for smoothing parameters.
readSmoothingParams(boolean) - Method in class danbikel.parser.Model
Reads all necessary smoothing parameters from Model.smoothingParamsFile instead of deriving values for smoothing parameters.
readStats(File) - Method in class danbikel.parser.Trainer
Reads the statistics and observations from an output file in the format created by Trainer.writeStats(Writer).
readStats(SexpTokenizer) - Method in class danbikel.parser.Trainer
Reads the observations and their counts contained in the specified S-expression tokenization stream.
readStats(SexpTokenizer, int) - Method in class danbikel.parser.Trainer
Reads at most the specified number of observations and their counts contained in the specified S-expression tokenization stream.
readStatsHook(SexpList) - Method in class danbikel.parser.Trainer
A hook for subclasses to read an event of a newly-defined type (called by Trainer.readStats(SexpTokenizer)).
readValues(ObjectInput) - Method in class danbikel.util.HashMapDouble.Entry
 
readValues(ObjectInput) - Method in class danbikel.util.HashMapInt.Entry
 
readValues(ObjectInput) - Method in class danbikel.util.HashMapPrimitive.Entry
 
readValues(ObjectInput) - Method in class danbikel.util.HashMapTwoDoubles.Entry
 
readValues(ObjectInput) - Method in class danbikel.util.HashMapTwoInts.Entry
 
reclaimAll() - Method in class danbikel.util.ObjectBank
 
reclaimItem(Item) - Method in class danbikel.parser.Chart
Reclaims this chart item.
reclaimItemCollection(Collection) - Method in class danbikel.parser.Chart
A hook called by Chart.reclaimItemsInChart() to allow subclasses to reclaim each span's collection of chart items.
reclaimItemCollection(Collection) - Method in class danbikel.parser.CKYChart
 
reclaimItemsInChart() - Method in class danbikel.parser.Chart
Reclaims all items currently in the chart.
Reconnect - Class in danbikel.util.proxy
An invocation handler for which proxy instances may be constructed for RMI clients such that the RMI server will be re-gotten from the bootstrap registry in the event of method failure.
Reconnect(Object, String) - Constructor for class danbikel.util.proxy.Reconnect
Constructs a proxy invocation handler to reconnect with an RMI server in the event of a method failure.
register(Class, Settings.Change, Set<Class>) - Static method in class danbikel.parser.Settings
Registers a class to receive an update when one or more settings have changed.
register(Settings.Change) - Static method in class danbikel.parser.Settings
Registers a particular object implementing the Settings.Change interface to receive an update when one or more settings have changed.
register(String) - Method in class danbikel.switchboard.AbstractClient
Registers this client with the specified switchboard, caching the switchboard to an internal data member.
register(String) - Method in class danbikel.switchboard.AbstractServer
Registers this server with the specified switchboard.
register(Client) - Method in class danbikel.switchboard.Switchboard
 
register(Server) - Method in class danbikel.switchboard.Switchboard
 
register(Client) - Method in interface danbikel.switchboard.SwitchboardRemote
Registers a client with the switchboard.
register(Server) - Method in interface danbikel.switchboard.SwitchboardRemote
Register a server with the switchboard.
registerConsumer(Consumer) - Method in class danbikel.switchboard.Switchboard
Registers the specified consumer of processed objects with this switchboard.
registerConsumer(Consumer) - Method in interface danbikel.switchboard.SwitchboardRemote
Registers the specified consumer of processed objects with this switchboard.
registered - Variable in class danbikel.switchboard.AbstractSwitchboardUser
Flag that indicates whether this client is currently registered.
RegistrationException - Exception in danbikel.switchboard
An exception raised when a switchboard user cannot be registered properly with the switchboard.
RegistrationException() - Constructor for exception danbikel.switchboard.RegistrationException
Constructs a new RegistrationException.
RegistrationException(String) - Constructor for exception danbikel.switchboard.RegistrationException
Constructs a new RegistrationException with the specified message.
RegistrationException(String, Throwable) - Constructor for exception danbikel.switchboard.RegistrationException
Constructs a new RegistrationException with the specified message and nested exception.
regularizeVerbs - Static variable in class danbikel.parser.arabic.Training
If regularizeVerbs is true, it indicates that part of speech tags that contain any of the patterns in the Training.verbPatterns array should be transformed simply into the pattern itself.
relabelArgChildren(SexpList, int, SexpList) - Method in class danbikel.parser.lang.AbstractTraining
Relabels as arguments all immediately-dominated children in the specified subtree accoding to the specified argument-finding patterns.
relabelHeadChildrenAsArgs - Static variable in class danbikel.parser.lang.AbstractTraining
Indicates to relabel head children as arguments.
relabelSubjectlessSentences(Sexp) - Method in class danbikel.parser.chinese.Training
We override AbstractTraining.relabelSubjectlessSentences(Sexp) so that we can make the definition of a subjectless sentence slightly more restrictive: a subjectless sentence not only must have a null-element child that is marked with the subject augmentation, but also its head must be a VP (this is Mike Collins’ definition of a subjectless sentence).
relabelSubjectlessSentences(Sexp) - Method in class danbikel.parser.english.Training
We override Training.relabelSubjectlessSentences(Sexp) so that we can make the definition of a subjectless sentence slightly more restrictive: a subjectless sentence not only must have a null-element child that is marked with the subject augmentation, but also its head must be a VP (this is Mike Collins' definition of a subjectless sentence).
relabelSubjectlessSentences(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Relabels sentences that have no subjects with the nonterminal label returned by Treebank.subjectlessSentenceLabel().
relabelSubjectlessSentences(Sexp) - Method in interface danbikel.parser.Training
Relabels sentences that have no subjects with the nonterminal label returned by Treebank.subjectlessSentenceLabel().
relax - Variable in class danbikel.parser.Chart
Indicates whether to use a more relaxed form of pruning (wider beam in certain instances, to be determined by the concrete subclass).
relax() - Method in class danbikel.parser.Chart
Tells this chart to use a more relaxed form of pruning (for example, a wider beam in certain circumstances).
relaxConstraints - Variable in class danbikel.parser.Decoder
The value of Settings.decoderRelaxConstraintsAfterBeamWidening, cached here for readability and convenience.
remove(int) - Method in class danbikel.lisp.SexpList
Removes the element at index.
remove - Static variable in class danbikel.parser.arabic.Training
Indicates which of the various types of markers should be removed from Arabic Treebank part-of-speech tags during preprocessing (currently unused).
remove(Symbol) - Method in class danbikel.parser.BrokenSubcatBag
Removes the specified requirement from this subcat bag, if possible.
remove(Symbol) - Method in interface danbikel.parser.Subcat
Attempt to remove the specified symbol from the set of requirements in this subcat frame.
remove(Symbol) - Method in class danbikel.parser.SubcatBag
Removes the specified requirement from this subcat bag, if possible.
remove(Symbol) - Method in class danbikel.parser.SubcatList
Removes the specified requirement from this subcat list, if possible.
remove(int) - Method in interface danbikel.util.FixedSizeList
Implementors should simply throw an UnsupportedOperationException.
remove(Object) - Method in interface danbikel.util.FixedSizeList
Implementors should simply throw an UnsupportedOperationException.
remove(Object) - Method in class danbikel.util.HashMap
 
remove(Object) - Method in class danbikel.util.HashMapPrimitive
Removes the entry for the specified key.
removeAll(Collection) - Method in class danbikel.util.AbstractFixedSizeList
 
removeAll(Collection) - Method in interface danbikel.util.FixedSizeList
Implementors should simply throw an UnsupportedOperationException.
removeArgAugmentation(Symbol) - Method in class danbikel.parser.lang.AbstractTraining
 
removeArgAugmentation(Symbol, Nonterminal) - Method in class danbikel.parser.lang.AbstractTraining
Parses label into the specified Nonterminal object and then removes all argument augmentations.
removeArgAugmentation(Symbol) - Method in interface danbikel.parser.Training
Removes any argument augmentations from the specified nonterminal label.
removeAugmentation(Nonterminal, Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
Removes the specified augmentation from the augmentation list of the specified Nonterminal object, and the previous augmentation delimiter.
removeAugmentation(Sexp, Nonterminal, Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
 
removeAugmentation(Nonterminal, Symbol) - Method in interface danbikel.parser.Treebank
Removes the specified augmentation from the augmentation list of the specified Nonterminal object, and the previous augmentation delimiter.
removeAugmentation(Sexp, Nonterminal, Symbol) - Method in interface danbikel.parser.Treebank
Removes the specified nonterminal augmentation from the specified S-expression, using the specified Nonterminal object for temporary storage.
removeChildlessNodes(Sexp) - Static method in class danbikel.parser.util.DebugChart
Removes interior nodes of the specified tree that are not preterminals and that have no children.
removeFuture(int, Event) - Method in class danbikel.parser.ms.ModWordModelStructure2
 
removeFuture(int, Event) - Method in class danbikel.parser.ms.ModWordModelStructure4
 
removeFuture(int, Event) - Method in class danbikel.parser.ms.ModWordModelStructure6
 
removeFuture(int, Event) - Method in class danbikel.parser.ms.ModWordModelStructure7
 
removeFuture(int, Event) - Method in class danbikel.parser.ms.ModWordModelStructure8
 
removeFuture(int, Event) - Method in class danbikel.parser.ProbabilityStructure
Indicates that Model.cleanup(), which is invoked at the end of Model.deriveCounts(CountsTable,danbikel.util.Filter,double,danbikel.util.FlexibleMap), can safely remove the specified event from the Model object's internal counts tables, as the event is not applicable to any of the probabilities for which the model will produce an estimate.
removeGapAugmentation(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
If the specified S-expression is a list, this method modifies the list to contain only symbols without gap augmentations; otherwise, this method removes the gap augmentation (if one exists) in the specified symbol and returns that new symbol.
removeGapAugmentation(Sexp) - Method in interface danbikel.parser.Training
If the specified S-expression is a list, this method modifies the list to contain only symbols without gap augmentations; otherwise, this method removes the gap augmentation (if one exists) in the specified symbol and returns that new symbol.
removeHistory(int, Event) - Method in class danbikel.parser.ms.BrokenModWordModelStructure
In order to gather statistics for words that appear as the head of the entire sentence when estimating p^(w | t), the trainer “fakes” a modifier event, as though the root node of the observed tree was seen to modify the magical +TOP+ node.
removeHistory(int, Event) - Method in class danbikel.parser.ms.ModNonterminalModelStructure2
In order to gather statistics for words that appear as the head of the entire sentence when estimating p(w | t), the trainer "fakes" a modifier event, as though the root node of the observed tree was seen to modify the magical +TOP+ node.
removeHistory(int, Event) - Method in class danbikel.parser.ms.ModNonterminalModelStructure4
In order to gather statistics for words that appear as the head of the entire sentence when estimating p(w | t), the trainer "fakes" a modifier event, as though the root node of the observed tree was seen to modify the magical +TOP+ node.
removeHistory(int, Event) - Method in class danbikel.parser.ms.ModNonterminalModelStructure6
In order to gather statistics for words that appear as the head of the entire sentence when estimating p(w | t), the trainer "fakes" a modifier event, as though the root node of the observed tree was seen to modify the magical +TOP+ node.
removeHistory(int, Event) - Method in class danbikel.parser.ms.ModNonterminalModelStructure7
In order to gather statistics for words that appear as the head of the entire sentence when estimating p(w | t), the trainer "fakes" a modifier event, as though the root node of the observed tree was seen to modify the magical +TOP+ node.
removeHistory(int, Event) - Method in class danbikel.parser.ms.ModNonterminalModelStructure8
In order to gather statistics for words that appear as the head of the entire sentence when estimating p(w | t), the trainer "fakes" a modifier event, as though the root node of the observed tree was seen to modify the magical +TOP+ node.
removeHistory(int, Event) - Method in class danbikel.parser.ms.ModNonterminalModelStructure9
In order to gather statistics for words that appear as the head of the entire sentence when estimating p(w | t), the trainer "fakes" a modifier event, as though the root node of the observed tree was seen to modify the magical +TOP+ node.
removeHistory(int, Event) - Method in class danbikel.parser.ms.ModWordModelStructure2
In order to gather statistics for words that appear as the head of the entire sentence when estimating p(w | t), the trainer "fakes" a modifier event, as though the root node of the observed tree was seen to modify the magical +TOP+ node.
removeHistory(int, Event) - Method in class danbikel.parser.ms.ModWordModelStructure4
In order to gather statistics for words that appear as the head of the entire sentence when estimating p(w | t), the trainer "fakes" a modifier event, as though the root node of the observed tree was seen to modify the magical +TOP+ node.
removeHistory(int, Event) - Method in class danbikel.parser.ms.ModWordModelStructure5
In order to gather statistics for words that appear as the head of the entire sentence when estimating p(w | t), the trainer "fakes" a modifier event, as though the root node of the observed tree was seen to modify the magical +TOP+ node.
removeHistory(int, Event) - Method in class danbikel.parser.ms.ModWordModelStructure6
In order to gather statistics for words that appear as the head of the entire sentence when estimating p(w | t), the trainer "fakes" a modifier event, as though the root node of the observed tree was seen to modify the magical +TOP+ node.
removeHistory(int, Event) - Method in class danbikel.parser.ms.ModWordModelStructure7
In order to gather statistics for words that appear as the head of the entire sentence when estimating p(w | t), the trainer "fakes" a modifier event, as though the root node of the observed tree was seen to modify the magical +TOP+ node.
removeHistory(int, Event) - Method in class danbikel.parser.ms.ModWordModelStructure8
In order to gather statistics for words that appear as the head of the entire sentence when estimating p(w | t), the trainer "fakes" a modifier event, as though the root node of the observed tree was seen to modify the magical +TOP+ node.
removeHistory(int, Event) - Method in class danbikel.parser.ms.TagModelStructure1
In order to gather statistics for words that appear as the head of the entire sentence when estimating p(w | t), the trainer "fakes" a modifier event, as though the root node of the observed tree was seen to modify the magical +TOP+ node.
removeHistory(int, Event) - Method in class danbikel.parser.ms.TagModelStructure2
In order to gather statistics for words that appear as the head of the entire sentence when estimating p(w | t), the trainer "fakes" a modifier event, as though the root node of the observed tree was seen to modify the magical +TOP+ node.
removeHistory(int, Event) - Method in class danbikel.parser.ms.TopLexModelStructure1
 
removeHistory(int, Event) - Method in class danbikel.parser.ProbabilityStructure
Indicates that Model.cleanup(), which is invoked at the end of Model.deriveCounts, can safely remove the specified event from the Model object's internal counts tables, as the event is not applicable to any of the probabilities for which the model will produce an estimate.
removeItemsBelow(double, int) - Method in class danbikel.parser.BiCountsTable
Removes items in this table whose counts are less than the specified threshold.
removeItemsBelow(double) - Method in interface danbikel.parser.CountsTable
Removes items in this table whose counts are less than the specified threshold.
removeItemsBelow(double) - Method in class danbikel.parser.CountsTableImpl
Removes items in this table whose counts are less than the specified threshold.
removeItemsBelow(double) - Method in class danbikel.parser.FileBackedTrainerEventMap
Throws an UnsupportedOperationException, as this is an unmodifiable map.
removeLRU(K) - Method in class danbikel.util.HashMapPrimitive
 
removeLRU(int) - Method in class danbikel.util.HashMapPrimitive
Removes the last entry at the specified bucket index, if that bucket contains at least one entry.
removeNullElements(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Removes all null elements, that is, those nodes of tree for which Treebank.isNullElementPreterminal(Sexp) returns true.
removeNullElements(Sexp) - Method in interface danbikel.parser.Training
Removes all null elements, that is, those nodes of tree for which Treebank.isNullElementPreterminal(Sexp) returns true.
removeOnlyChildBaseNPs(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Handle case where an NP dominates a base NP and has no other children (the base NP is an "only child" of the dominating NP).
removePreterms(SexpList, Sexp, int) - Static method in class danbikel.parser.util.DebugChart
Removes preterminals from the specified tree that are not found in the specified list of words.
removeRandom(int) - Method in class danbikel.parser.FileBackedTrainerEventMap
Throws an UnsupportedOperationException because this is an unmodifiable map.
removeRandom() - Method in class danbikel.parser.ProbabilityCache
 
removeRandom() - Method in class danbikel.util.AbstractMapToPrimitive
Removes a random mapping from this map (optional operation).
removeRandom(int) - Method in class danbikel.util.AbstractMapToPrimitive
Removes a random entry from the bucket at the specified index (optional operation).
removeRandom(int) - Method in class danbikel.util.HashMapPrimitive
Removes a random entry from the bucket at the specified index (optional operation).
removeRandom() - Method in interface danbikel.util.MapToPrimitive
Removes a random mapping from this map (optional operation).
removeRandom(int) - Method in interface danbikel.util.MapToPrimitive
Removes a random from the bucket at the specified index (optional operation).
removeTransition(int, Transition) - Method in class danbikel.parser.ProbabilityStructure
Returns true if the specified transition contains either a history or future for which ProbabilityStructure.removeHistory(int,Event) or ProbabilityStructure.removeFuture(int,Event) returns true, respectively.
removeWord(SexpList, SexpList, int) - Method in class danbikel.parser.Decoder
A helper method used by Decoder.preProcess(danbikel.lisp.SexpList, danbikel.lisp.SexpList) that removes words from the specified sentence and Decoder.originalWords lists, and also from the specified tags list, if it is not null.
removeWord(Symbol, Symbol, int, SexpList, SexpList, SexpList, Set, Map) - Method in class danbikel.parser.english.Training
 
removeWord(Symbol, Symbol, int, SexpList, SexpList, SexpList, Set, Map) - Method in class danbikel.parser.lang.AbstractTraining
 
removeWord(Symbol, Symbol, int, SexpList, SexpList, SexpList, Set, Map) - Method in interface danbikel.parser.Training
Invoked by the decoder as the first step in preprocessing (prior to the invocation of Training.preProcessTest(danbikel.lisp.SexpList, danbikel.lisp.SexpList, danbikel.lisp.SexpList)).
repairBaseNPs - Static variable in class danbikel.parser.lang.AbstractTraining
Caches the boolean value of the property Settings.collinsRepairBaseNPs.
repairBaseNPs(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Changes the specified tree so that when the last child of an NPB is an S, the S gets raised to be a sibling immediately following the NPB.
repairBaseNPs(Sexp, int, Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Changes the specified tree so that when the last child of an NPB is an S, the S gets raised to be a sibling immediately following the NPB.
repairBaseNPs(Sexp) - Method in interface danbikel.parser.Training
Changes the specified tree so that when the last child of an NPB is an S, the S gets raised to be a sibling immediately following the NPB.
replaceKey(Object) - Method in class danbikel.parser.Trainer.EventEntry
Throws an UnsupportedOperationException.
replaceKey(K) - Method in class danbikel.util.HashMapPrimitive.Entry
Replaces the key of this entry with the specified key.
replaceKey(K) - Method in interface danbikel.util.MapToPrimitive.Entry
Sets the key of this map entry to be the specified key if it is equal to the current key.
replaceWords(boolean, Sexp, SexpList) - Static method in class danbikel.parser.util.DebugChart
 
reportingInterval - Variable in class danbikel.parser.Trainer
The value of the Settings.trainerReportingInterval setting.
reRegister() - Method in class danbikel.switchboard.AbstractClient
Re-registers this client with the switchboard after a switchboard failure.
reRegister() - Method in class danbikel.switchboard.AbstractServer
Re-registers this server with the switchboard.
reRegister() - Method in class danbikel.switchboard.AbstractSwitchboardUser
 
reset() - Method in class danbikel.util.Time
Resets the internal start time to be the current time.
resetTopLogProb(int, int) - Method in class danbikel.parser.Chart
Resets the highest log probability of the specified span to be Constants.logOfZero.
restoreOriginalWords(Sexp, int) - Method in class danbikel.parser.Decoder
Restores the original words in the current sentence.
restorePrunedWords - Variable in class danbikel.parser.Decoder
The value of the Settings.restorePrunedWords setting.
restorePrunedWords(Sexp) - Method in class danbikel.parser.Decoder
Restores pruned words to a parsed sentence.
restorePrunedWords - Static variable in class danbikel.parser.Settings
The property to specify that the decoder restores all pruned words.
restorePrunedWordsRecursive(Sexp, int) - Method in class danbikel.parser.Decoder
The recursive helper method for Decoder.restorePrunedWords(Sexp).
retainAll(Collection) - Method in interface danbikel.util.FixedSizeList
Implementors should simply throw an UnsupportedOperationException.
retries - 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.
Retry - Class in danbikel.util.proxy
An invocation handler for which proxy instances may be constructed for RMI clients such that if a remote method fails, the method will be re-invoked repeatedly until success.
Retry(Object, int, long) - Constructor for class danbikel.util.proxy.Retry
Constructs a proxy invocation handler to retry an RMI server in the event of a method failure.
retryIndefinitely - Static variable in class danbikel.util.proxy.Retry
Indicates to re-try the remote object indefinitely.
reverse() - Method in class danbikel.lisp.SexpList
Performs an in-place reversal of the elements in this list.
RIGHT - Static variable in class danbikel.parser.Constants
The constant representing the right side or the right-to-left direction.
RIGHT - Static variable in class danbikel.parser.Decoder
The value of Constants.RIGHT cached for better readability.
RIGHT - Static variable in class danbikel.parser.lang.AbstractHeadFinder
Constant to indicate a right-to-left scan (makes for more readable code for this class and its subclasses).
rightChildren - Variable in class danbikel.parser.CKYItem
A list of CKYItem objects that are the children to the right of the head child, with the head-adjacent child being last.
rightChildren() - Method in class danbikel.parser.CKYItem
Returns the right modifier item list of this item, or null if there are no right modifier items.
rightIdx() - Method in class danbikel.parser.HeadTreeNode
Gets the index of the rightmost word in this subtree plus 1.
rightPrevModIsStart() - Method in class danbikel.parser.CKYItem.PrevModIsStart
Returns whether the previous modifier on the right side is the start symbol.
rightPrevMods - Variable in class danbikel.parser.CKYItem
The previous modifiers generated on the right of the head child.
rightPrevMods() - Method in class danbikel.parser.CKYItem
Returns a list of previously-generated unlexicalized modifiers on the right side of the head child in this item's set of derivations.
rightSubcat - Variable in class danbikel.parser.CKYItem
The subcat frame representing the unmet requirements on the right side of the head as of the production of this chart item.
rightSubcat() - Method in class danbikel.parser.CKYItem
Returns the right subcat of this chart item.
rightSubcat() - Method in class danbikel.parser.HeadEvent
Returns the right subcategorization frame of this head event.
rightSubcatMap() - Method in class danbikel.parser.CachingDecoderServer
 
rightSubcatMap - Variable in class danbikel.parser.Decoder
A map from contexts of the last back-off level of the right subcat generation model to possible subcats.
rightSubcatMap() - Method in class danbikel.parser.DecoderServer
Returns a map of Event objects to Set objects, where each Event object is the last level of back-off of the probability structure for right-side subcat generation and the set contains all possible Subcat objects for that most-general context.
rightSubcatMap() - Method in interface danbikel.parser.DecoderServerRemote
A mapping from right subcat-prediction conditioning contexts (typically parent and head nonterminal labels) to all possible right subcat frames.
rightSubcatMap - Variable in class danbikel.parser.ModelCollection
A mapping from right subcat-prediction conditioning contexts (typically parent and head nonterminal labels) to all possible subcat frames.
rightSubcatMap() - Method in class danbikel.parser.ModelCollection
Returns a mapping from right subcat-prediction conditioning contexts (typically parent and head nonterminal labels) to all possible subcat frames.
rightSubcatMap - Variable in class danbikel.parser.Trainer
A map of events from the last back-off level of the right subcat–generation submodel to the set of possible right subcats.
rightSubcatModel - Variable in class danbikel.parser.ModelCollection
The model for generating subcats on the right side of the head child.
rightSubcatModel() - Method in class danbikel.parser.ModelCollection
Returns the right subcat-generation model.
rightSubcatModel - Variable in class danbikel.parser.Trainer
The model for generating subcats that fall on the right side of head children.
RightSubcatModelStructure1 - Class in danbikel.parser.ms
Representation of the complete back-off structure of the subcat-generation model for the right side of the head child.
RightSubcatModelStructure1() - Constructor for class danbikel.parser.ms.RightSubcatModelStructure1
 
RightSubcatModelStructure2 - Class in danbikel.parser.ms
Representation of the complete back-off structure of the subcat-generation model for the right side of the head child.
RightSubcatModelStructure2() - Constructor for class danbikel.parser.ms.RightSubcatModelStructure2
 
rightSubcatModelStructureClass - 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 right subcat-generation submodel.
rightSubcatModelStructureNumber - Static variable in class danbikel.parser.Settings
The property to specify the model structure number to use when creating the ProbabilityStructure object for the right-subcat-generation submodel.
rightSubcatProbStructure() - Method in class danbikel.parser.CachingDecoderServer
 
rightSubcatProbStructure() - Method in class danbikel.parser.DecoderServer
The probability structure for the submodel that generates subcats on the right-hand side of head constituents.
rightSubcatProbStructure() - Method in interface danbikel.parser.DecoderServerRemote
The probability structure for the submodel that generates subcats on the right-hand side of head constituents.
rightSubcatPS - Variable in class danbikel.parser.Decoder
The right subcat generation model structure.
rightSubcatPSLastLevel - Variable in class danbikel.parser.Decoder
The last level of back-off in the right subcat generation model structure.
rightSym - Static variable in class danbikel.parser.Constants
The symbol constant representing the right side or the right-to-left direction.
rightSym - Static variable in class danbikel.parser.lang.AbstractHeadFinder
The character from a head table's head-finding instruction that indicates a right-to-left scan.
rightVerb - Variable in class danbikel.parser.CKYItem
The boolean indicating whether a verb intervenes between the head child and the currently-generated right-modifying child.
rightVerb() - Method in class danbikel.parser.CKYItem
Returns whether a verb has been generated anywhere in the surface strings of the right modifiers of the head child.
root() - Method in interface danbikel.parser.constraints.ConstraintSet
Returns the root constraint in a set if the set forms a tree structure (optional operation).
root - Variable in class danbikel.parser.constraints.PartialTreeConstraintSet
The root of this tree of constraints.
root() - Method in class danbikel.parser.constraints.PartialTreeConstraintSet
Returns the root of this tree of constraints.
root - Variable in class danbikel.parser.constraints.UnlexTreeConstraintSet
The root of this tree of constraints.
root() - Method in class danbikel.parser.constraints.UnlexTreeConstraintSet
Returns the root of the constraint tree contained by this object.
run() - Method in class danbikel.parser.EventCountsConsumer
Allows this object to used as a “dumper” thread for periodically writing consumed objects to an output file.
run() - Method in class danbikel.parser.Parser
Runs this parsing client within its enclosing thread: if Parser.internalInputFilename is null, then this method invokes AbstractClient.processObjectsThenDie(); otherwise, this method processes Parser.internalInputFilename and outputs to Parser.internalOutputFilename by invoking Parser.processInputFile(String,String).
run() - Method in class danbikel.switchboard.AbstractSwitchboardUser.Alive
 

S

sArg - Static variable in class danbikel.parser.util.TrainerEventToCollins
 
satisfied - Variable in class danbikel.parser.constraints.PartialTreeConstraint
Contains whether this constraint has been partially satisfied.
satisfied - Variable in class danbikel.parser.constraints.UnlexTreeConstraint
Contains whether this constraint has been satisfied at least once during the bottom-up decoding process.
saveBackOffMap - Static variable in class danbikel.parser.Model
If true, indicates that Model.backOffMap should not be set to null after probabilities have been precomputed, which means that it will be saved with this Model instance (for debugging purposes); otherwise, Model.backOffMap is set to null just after precomputation of probabilities.
saveHistBackOffMap - Static variable in class danbikel.parser.Model
Indicates whether the Model.histBackOffMap should be created when precomputing probabilities and saved with this Model for debugging purposes.
savePrecomputeData(CountsTable, Filter) - Method in class danbikel.parser.Model
Saves the back-off chain for each event derived from each TrainerEvent in the key set of the specified counts table.
saveSmoothingParameters() - Method in class danbikel.parser.ProbabilityStructure
Indicates that this probability structure's associated Model object should save the smoothing parameters to the file named by ProbabilityStructure.smoothingParametersFile() when precomputing probabilities during training.
saveSmoothingParams - Variable in class danbikel.parser.Model
The boolean value of the Settings.saveSmoothingParams setting.
saveSmoothingParams - Static variable in class danbikel.parser.Settings
 
sbarArg - Static variable in class danbikel.parser.util.TrainerEventToCollins
 
sbSocketTimeout - Static variable in class danbikel.parser.Settings
The property to specify how long, in milliseconds, the SO_TIMEOUT value should be for the switchboard's RMI-client (caller) sockets.
sbUserSBMaxRetries - Static variable in class danbikel.parser.Settings
The property to specify at most how many times switchboard users should try to acquire the switchboard from the bootstrap registry before giving up, either when first starting up or in the event of a switchboard crash.
sbUserTimeout - Static variable in class danbikel.parser.Settings
The property to specify how long (in milliseconds) sockets stay alive on the client (switchboard) side for RMI calls to switchboard user objects (subclasses of AbstractSwitchboardUser).
scan(boolean, SexpList, Symbol[]) - Method in class danbikel.parser.lang.AbstractHeadFinder
Scans the RHS of a production in the specified direction.
scanLeftToRight(SexpList, Symbol[]) - Method in class danbikel.parser.lang.AbstractHeadFinder
Scans the RHS of a production from left to right, returning the index of the first nonterminal that is in the matchTags array.
scanModelCollectionObjectFile(String, OutputStream) - Static method in class danbikel.parser.Trainer
Scans the object file and prints out the information contained in its header objects.
scanModelCollectionObjectFile(ObjectInputStream, OutputStream) - Static method in class danbikel.parser.Trainer
Scans the object file and prints out the information contained in its header objects.
scanRightToLeft(SexpList, Symbol[]) - Method in class danbikel.parser.lang.AbstractHeadFinder
Scans the RHS of a production from right to left, returning the index of the first nonterminal that is in the matchTags array.
scanSet - Variable in class danbikel.parser.lang.AbstractHeadFinder.HeadFindInstruction
The set of symbols to scan for.
second() - Method in class danbikel.parser.SymbolPair
Returns the second symbol in this pair.
second() - Method in class danbikel.util.IntPair
Returns the second integer in this integer pair.
second - Variable in class danbikel.util.Pair
The second object in the pair.
seedChart(Symbol, int, Symbol, boolean, SexpList, boolean, Symbol, ConstraintSet) - Method in class danbikel.parser.Decoder
Adds a chart item for every possible part of speech for the specified word at the specified index in the current sentence.
seedChart(Symbol, int, Symbol, boolean, SexpList, boolean, Symbol, ConstraintSet) - Method in class danbikel.parser.EMDecoder
 
semTagArgStopListSym - Static variable in class danbikel.parser.lang.AbstractTraining
The symbol to indicate the list of node augmentations that prevent a node from being relabeled
semTagArgStopSet - Variable in class danbikel.parser.lang.AbstractTraining
Data member used to store the set required by the method AbstractTraining.identifyArguments(Sexp).
sent - Variable in class danbikel.parser.Parser
The current sentence being processed.
sentContainsWordsAndTags(SexpList) - Method in class danbikel.parser.Parser
A method to determine if the sentence to be parsed is in the format where part-of-speech tags are supplied along with the words.
sentence - Variable in class danbikel.parser.Decoder
The current sentence.
sentenceIdx - Variable in class danbikel.parser.Decoder
The current sentence index for this decoder (starts at 0).
sentenceLabel() - Method in class danbikel.parser.arabic.Treebank
 
sentenceLabel() - Method in class danbikel.parser.chinese.Treebank
 
sentenceLabel() - Method in class danbikel.parser.english.BrokenTreebank
 
sentenceLabel() - Method in class danbikel.parser.english.Treebank
 
sentenceLabel() - Method in class danbikel.parser.lang.AbstractTreebank
Returns the canonical label for a sentence, for de-transforming sentences that were transformed via Training.relabelSubjectlessSentences(Sexp).
sentenceLabel() - Method in interface danbikel.parser.Treebank
Returns the canonical label for a sentence, for de-transforming sentences that were transformed via Training.relabelSubjectlessSentences(Sexp).
sentLen - Variable in class danbikel.parser.Decoder
The length of the current sentence, cached here for convenience.
server - Variable in class danbikel.parser.Decoder
The server for this decoder.
server - Variable in class danbikel.parser.Parser
The server for the internal Decoder to use when parsing.
server - Variable in class danbikel.switchboard.AbstractClient
The server assigned to this client.
Server - Interface in danbikel.switchboard
A semantic marker for those switchboard users that are servers; also, specifies server-specific methods for the switchboard to use.
serverDeathKillClients - Static variable in class danbikel.parser.Settings
The property to specify whether the switchboard should kill all of a server's clients when it detects that the server has died.
serverDeathKillClients - Static variable in interface danbikel.switchboard.SwitchboardRemote
The property to specify whether the switchboard should kill all of a server's clients when it detects that the server has died.
serverDisableHttp - Static variable in interface danbikel.switchboard.SwitchboardRemote
 
serverDown(int) - Method in class danbikel.switchboard.AbstractClient
Currently, this method does nothing, as all server failures can be handled by making the server fault-tolerant.
serverDown(int) - Method in interface danbikel.switchboard.Client
Tells a client that its server has died.
serverFailover - Static variable in class danbikel.parser.Settings
The property to specify whether parsing clients should have server failover; that is, whether they should request a new server from the switchboard if their current server fails.
serverId - Variable in class danbikel.switchboard.AbstractClient
The ID number of the server assigned to this client, cached here for convenience.
serverMaxRetries - Static variable in class danbikel.parser.Settings
The property to specify at most how many times parsing clients should re-try their servers in the event of a method failure before giving up.
serverPolicyFile - Static variable in interface danbikel.switchboard.SwitchboardRemote
 
serverRetrySleep - Static variable in class danbikel.parser.Settings
The property to specify how many milliseconds to sleep between server re-tries.
set(int, Sexp) - Method in class danbikel.lisp.SexpList
Replaces the element at index with element.
set(Symbol, Word, Subcat, Subcat, CKYItem, SLNode, SLNode, SexpList, SexpList, int, int, boolean, boolean, boolean, double, double, double) - Method in class danbikel.parser.CKYItem
Sets all of the data members of this chart item.
set(Symbol, Word, Subcat, Subcat, CKYItem, SLNode, SLNode, SexpList, SexpList, int, int, boolean, boolean, boolean, double, double, double) - Method in class danbikel.parser.EMItem
This method simply throws an UnsupportedOperationException, as the log probabilities of the superclass are not used by this class.
set(Symbol, Word, Subcat, Subcat, CKYItem, SLNode, SLNode, SexpList, SexpList, int, int, boolean, boolean, boolean, int, double) - Method in class danbikel.parser.EMItem
Sets all the data for this EM chart item.
set(Model, Model, Model, Model, Model, Model, Model, Model, Model, Model, CountsTable, CountsTable, CountsTable, Map, Map, Map, Map, Map, Map, Set, Set, FlexibleMap) - Method in class danbikel.parser.ModelCollection
Sets all the data members of this object.
set(Word, Symbol) - Method in class danbikel.parser.PriorEvent
Sets the head word and nonterminal label (all the data members) of this event.
set(String, String) - Static method in class danbikel.parser.Settings
Sets the property name to value, using Properties.setProperty(String,String).
set(Symbol, Symbol, Symbol) - Method in class danbikel.parser.Word
Sets all three data members for this word.
set(Object) - Method in class danbikel.switchboard.NumberedObject
Sets the underlying object to be the specified object.
set(int, Object) - Method in class danbikel.util.AbstractFixedSizeList
Sets the specified object to be at the specified index in this fixed-size list.
set(int, byte) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Sets the char value for the key in this entry to be the specified character.
set(int, char) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Sets the char value for the key in this entry to be the specified character.
set(int, short) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Sets the short value for the key in this entry to be the specified character.
set(int, int) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Sets the char value for the key in this entry to be the specified character.
set(int, long) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Sets the char value for the key in this entry to be the specified character.
set(int, float) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Sets the float value for the key in this entry to be the specified character.
set(int, double) - Method in class danbikel.util.AbstractMapToPrimitive.Entry
Sets the char value for the key in this entry to be the specified character.
set(int, Object) - Method in class danbikel.util.FixedSizeArrayList
 
set(int, Object) - Method in class danbikel.util.FixedSizeSingletonList
Sets the object wrapped by this singleton list.
set(int, double) - Method in class danbikel.util.HashMapDouble.Entry
Sets the double value associated with the key in this entry.
set(int, int) - Method in class danbikel.util.HashMapInt.Entry
Sets the int value associated with the key in this entry.
set(int, double) - Method in class danbikel.util.HashMapTwoDoubles.Entry
Sets the double value at the specified index associated with the key in this entry.
set(int, int) - Method in class danbikel.util.HashMapTwoInts.Entry
Sets the int value at the specified index associated with the key in this entry.
set(int) - Method in class danbikel.util.IntCounter
 
set(int, byte) - Method in interface danbikel.util.MapToPrimitive.Entry
Sets the char value for the key in this entry to be the specified character.
set(int, char) - Method in interface danbikel.util.MapToPrimitive.Entry
Sets the char value for the key in this entry to be the specified character.
set(int, short) - Method in interface danbikel.util.MapToPrimitive.Entry
Sets the short value for the key in this entry to be the specified character.
set(int, int) - Method in interface danbikel.util.MapToPrimitive.Entry
Sets the char value for the key in this entry to be the specified character.
set(int, long) - Method in interface danbikel.util.MapToPrimitive.Entry
Sets the char value for the key in this entry to be the specified character.
set(int, float) - Method in interface danbikel.util.MapToPrimitive.Entry
Sets the float value for the key in this entry to be the specified character.
set(int, double) - Method in interface danbikel.util.MapToPrimitive.Entry
Sets the char value for the key in this entry to be the specified character.
set(Object, SLNode) - Method in class danbikel.util.SLNode
 
setAdditionalData(Object) - Method in class danbikel.parser.ProbabilityStructure
Sets the value of the ProbabilityStructure.additionalData member.
setAntecedentPairs(EMItem.AntecedentPair) - Method in class danbikel.parser.EMItem
Sets the antecedent pairs for this item.
setBufSize(int) - Method in class danbikel.switchboard.Switchboard
Sets the buffer size to be used for all streams by the switchboard (except the messages output file, which uses the value of Switchboard.defaultBufSize).
setCanonicalEvents(FlexibleMap) - Method in class danbikel.parser.JointModel
Sets the Model.canonicalEvents member of this object to be the specified FlexibleMap, as well as setting the same member of all internal Model objects.
setCanonicalEvents(FlexibleMap) - Method in class danbikel.parser.Model
Sets the Model.canonicalEvents member of this object.
setChildLabel(int, Symbol) - Method in class danbikel.lisp.SexpList
This convenience method replaces the first element of the list that is the element at index to be the symbol newLabel.
setChildren(boolean, SLNode) - Method in class danbikel.parser.CKYItem
Sets the modifier (children) list on the specified side of this chart item.
setCommaConstraintData() - Method in class danbikel.parser.Decoder
Caches the locations of commas to be used for the comma constraint in the boolean array Decoder.commaForPruning.
setConstraint(Constraint) - Method in class danbikel.parser.CKYItem
 
setConstraint(Constraint) - Method in class danbikel.parser.Item
Sets the constraint for this item.
setData(Object) - Method in class danbikel.util.SLNode
 
setDataFrom(CKYItem) - Method in class danbikel.parser.CKYItem
Assigns data members of specified CKYItem to this item, effectively performing a destructive shallow copy of the specified item into this item.
setDataFrom(CKYItem) - Method in class danbikel.parser.EMItem
Sets all the data in this item from the specified item.
setEdgeIndex(boolean, int) - Method in class danbikel.parser.CKYItem
Sets the index of the leftmost or rightmost word spanned by this chart item.
setEncoding(String) - Method in class danbikel.switchboard.Switchboard
Sets the default character encoding (applicable if any ObjectReader or ObjectWriter instances created by the switchboard's factories are character-based).
setFeatures(Symbol) - Method in class danbikel.parser.Word
Sets the features for this word.
setFuture(Event) - Method in class danbikel.parser.Transition
Sets the future event of this transition.
setGarbage(boolean) - Method in class danbikel.parser.CKYItem
Sets 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).
setGarbage(boolean) - Method in class danbikel.parser.Item
Sets the value of this item's garbage status.
setHeadWord(Word) - Method in class danbikel.parser.GapEvent
 
setHeadWord(Word) - Method in class danbikel.parser.HeadEvent
 
setHeadWord(Word) - Method in class danbikel.parser.ModifierEvent
Sets the head word of the head child and parent.
setHeadWord(Word) - Method in class danbikel.parser.PriorEvent
Sets the head word of this event.
setHeadWord(Word) - Method in interface danbikel.parser.TrainerEvent
Sets the head word of this event, or does nothing if this TrainerEvent has no such object.
setHistory(Event) - Method in class danbikel.parser.Transition
Sets the history event of this transition.
setInsideProb(double) - Method in class danbikel.parser.EMItem
Sets the total inside probability of the derivations represented by this item.
setInternalFilenames(String, String) - Method in class danbikel.parser.Parser
Sets the Parser.internalInputFilename and Parser.internalOutputFilename members of this parsing client to the specified values.
setLabel(Object) - Method in class danbikel.parser.CKYItem
Sets the label of this chart item.
setLabel(Object) - Method in class danbikel.parser.Item
Sets the label of this chart item.
setLanguage() - Static method in class danbikel.parser.Language
Sets the language and language package using the values obtained from the Settings class.
setLeftSubcat(Subcat) - Method in class danbikel.parser.CKYItem
Sets the left subcat of this chart item to the specified value.
setLevel(int) - Static method in class danbikel.util.Debug
Sets the debugging level to be the specified level.
setLogPrior(double) - Method in class danbikel.parser.CKYItem
Sets the log of the marginal probability of the lexicalized root nonterminal label of this chart item to the specified value.
setLogPrior(double) - Method in class danbikel.parser.EMItem
Throws an UnsupportedOperationException.
setLogProb(double) - Method in class danbikel.parser.CKYItem
Sets the log of the probability of this chart item (its score) to the specified value.
setLogProb(double) - Method in class danbikel.parser.EMItem
Throws an UnsupportedOperationException.
setLogProb(double) - Method in class danbikel.parser.Item
Sets the log probability of this chart item.
setLogTreeProb(double) - Method in class danbikel.parser.CKYItem
Sets the log of the probability of generating all of this item's children to the specified value.
setLogTreeProb(double) - Method in class danbikel.parser.EMItem
Throws an UnsupportedOperationException.
setMaxCapacity(int) - Method in class danbikel.parser.ProbabilityCache
Sets the maximum capacity for this cache.
setModelCollection(String) - Method in class danbikel.parser.DecoderServer
Sets the model collection from the specified filename, which should be the path to a Java object file.
setModelCollection(String) - Method in class danbikel.parser.Trainer
Sets the internal Trainer.modelCollection data member of this class to the object of that type loaded from the specified file.
setModelCollection(ObjectInputStream) - Method in class danbikel.parser.Trainer
Sets the internal Trainer.modelCollection member of this class to the instance loaded from the specified input stream.
setModHeadWord(Word) - Method in class danbikel.parser.ModifierEvent
Sets the head word of the modifier.
setNextObjectInterval() - Method in class danbikel.switchboard.AbstractClient
Attempts to get the SwitchboardRemote.clientNextObjectInterval setting from the switchboard and set the AbstractClient.nextObjectInterval data member to it.
setOriginalHeadWord(Symbol) - Method in class danbikel.parser.HeadTreeNode
Sets the original version of the head word of this node, before any downcasing or other transformations were applied during training.
setOutsideProb(double) - Method in class danbikel.parser.EMItem
Sets the outside probability of this item
setPolicyFile(Properties) - Static method in class danbikel.switchboard.AbstractClient
Calls AbstractSwitchboardUser.setPolicyFile(String) with the value of the SwitchboardRemote.clientPolicyFile property obtained from the specified Properties object.
setPolicyFile(Class, Properties) - Static method in class danbikel.switchboard.AbstractClient
Calls AbstractSwitchboardUser.setPolicyFile(Class,String) with the specified class and the value of the SwitchboardRemote.clientPolicyFile property obtained from the specified Properties object.
setPolicyFile(Properties) - Static method in class danbikel.switchboard.AbstractServer
Calls AbstractSwitchboardUser.setPolicyFile(String) with the value of the SwitchboardRemote.serverPolicyFile property obtained from the specified Properties object.
setPolicyFile(Class, Properties) - Static method in class danbikel.switchboard.AbstractServer
Calls AbstractSwitchboardUser.setPolicyFile(Class,String) with the specified class and the value of the SwitchboardRemote.serverPolicyFile property obtained from the specified Properties object.
setPolicyFile(String) - Static method in class danbikel.switchboard.AbstractSwitchboardUser
Sets the system property "java.security.policy" to be the URL of the specified resource obtained from the SwitchboardRemote class.
setPolicyFile(Class, String) - Static method in class danbikel.switchboard.AbstractSwitchboardUser
Sets the system property "java.security.policy" to be the URL of the specified resource obtained from the specified class.
setPolicyFile(Properties) - Static method in class danbikel.switchboard.Switchboard
Calls Switchboard.setPolicyFile(String) with the value of the SwitchboardRemote.switchboardPolicyFile property obtained from the specified Properties object.
setPolicyFile(Class, Properties) - Static method in class danbikel.switchboard.Switchboard
Calls Switchboard.setPolicyFile(Class,String) with the specified class and the value of the SwitchboardRemote.switchboardPolicyFile property obtained from the specified Properties object.
setPolicyFile(String) - Static method in class danbikel.switchboard.Switchboard
Sets the system property "java.security.policy" to be the URL of the specified resource obtained from the SwitchboardRemote class.
setPolicyFile(Class, String) - Static method in class danbikel.switchboard.Switchboard
Sets the system property "java.security.policy" to be the URL of the specified resource obtained from the specified class.
setPreviousWords(WordList) - Method in class danbikel.parser.ModifierEvent
Sets the previous words list.
setPrevMods(boolean, SexpList) - Method in class danbikel.parser.CKYItem
Sets the previous modifier list on the specified side of this chart item's head child.
setProcessed(boolean) - Method in class danbikel.switchboard.NumberedObject
Sets the processed flag, indicating whether this object was successfully processed.
setProcessed() - Method in class danbikel.switchboard.NumberedObject
Sets the processed flag to true.
setPruneFactor(double) - Method in class danbikel.parser.Chart
Sets the prune factor.
setRightSubcat(Subcat) - Method in class danbikel.parser.CKYItem
Sets the right subcat of this chart item to the specified value.
setSettings(Properties) - Static method in class danbikel.parser.Settings
Allows any class to set the settings of this class directly using the specified Properties object.
setSettings(Properties) - Method in class danbikel.switchboard.Switchboard
Sets the internal settings of this switchboard to the specified Properties object.
setSettingsFromSwitchboard(SwitchboardRemote) - Static method in class danbikel.parser.Parser
Grabs the settings from the Switchboard instance and sets to be the current run-time settings.
setSexp(Sexp) - Method in class danbikel.parser.SexpEvent
Sets the backing Sexp of this object to be the specified Sexp.
setSideInfo(boolean, Subcat, SLNode, SexpList, int, boolean) - Method in class danbikel.parser.CKYItem
Sets all the side-specific information for one side of this chart item.
setSize(int) - Method in class danbikel.parser.Chart
Ensures that the size of the chart is at least as large as the specified size.
setSize(int) - Method in class danbikel.parser.EMChart
Ensures that the size of the chart is at least as large as the specified size.
setSizeAndClear(int) - Method in class danbikel.parser.Chart
Sets this chart to be the specified size and clears it for parsing sentences of length less than or equal to the specified size.
setStrategy(int) - Method in class danbikel.parser.ProbabilityCache
Sets the strategy for replacement when the size limit of this cache has been reached.
setSubcat(boolean, Subcat) - Method in class danbikel.parser.CKYItem
Sets the subcat on the specified side of this chart item's head child.
setTag(Symbol) - Method in class danbikel.parser.Word
Sets the part-of-speech tag for this word.
setTimeout(int, int) - Method in class danbikel.util.TimeoutSocketFactory
 
Settings - Class in danbikel.parser
Provides static settings for this package, primarily via an internal Properties object.
Settings.Change - Interface in danbikel.parser
An interface by which to notify a class or an instance of a class after one or more settings have changed.
settingsDirOverride - Static variable in class danbikel.parser.Settings
The name of the property to override the location of the default settings directory, to be specified at run-time on the command line.
settingsFilename - Static variable in class danbikel.parser.Parser
The settings file to use specified on the command line.
settingsFileOverride - Static variable in class danbikel.parser.Settings
The name of the property to override the name of the default settings file, which is <defaultSettingsDir>/settings, where <defaultSettingsDir> is the default settings directory, as described in the documentation for Settings.settingsDirOverride.
setUnaryLevel(int) - Method in class danbikel.parser.EMItem
Sets the unary productions level of this item.
setUnion(SexpList, SexpList, Set) - Method in class danbikel.parser.Decoder
Returns a new list that is the union of the two specified lists.
setUpFastArgMap(CountsTable) - Method in class danbikel.parser.lang.AbstractTraining
 
setUpFastArgMap(CountsTable) - Method in interface danbikel.parser.Training
Indicates to set up a static map for quickly mapping argument nonterminals to their non-argument variants (that is, for quickly stripping away their argument augmentations).
setUpFastUidMap(CountsTable) - Static method in class danbikel.parser.BrokenSubcatBag
 
setUpFastUidMap(CountsTable) - Static method in class danbikel.parser.SubcatBag
 
setUpItemPool() - Method in class danbikel.parser.Chart
Sets up the item object pools.
setUpItemPool() - Method in class danbikel.parser.CKYChart
 
setUpItemPool() - Method in class danbikel.parser.EMChart
 
setValue(Object) - Method in class danbikel.parser.Trainer.EventEntry
Throws an UnsupportedOperationException.
setValue(Object) - Method in class danbikel.util.HashMapPrimitive.Entry
Throws an UnsupportedOperationException.
setVerb(boolean, boolean) - Method in class danbikel.parser.CKYItem
Sets whether a verb has been generated anywhere in the surface string on the specified side of this item's head child.
setVerbose(boolean) - Method in class danbikel.switchboard.Switchboard
Sets the verbosity status of the switchboard.
setWord(Symbol) - Method in class danbikel.parser.Word
Sets the word itself of this Word object.
setWriteInterval(int) - Method in class danbikel.parser.EventCountsConsumer
Sets the write interval for this consumer.
Sexp - Class in danbikel.lisp
This class provides the abstract base type for S-epxressions, which are either symbols or lists.
SexpConvertible - Interface in danbikel.lisp
A simple interface to identify classes that have a method that converts instances to Sexp objects.
SexpEvent - Class in danbikel.parser
Represents an event composed of one or more Sexp objects.
SexpEvent() - Constructor for class danbikel.parser.SexpEvent
Constructs a SexpEvent that contains no data.
SexpEvent(int) - Constructor for class danbikel.parser.SexpEvent
Constructs a SexpEvent that contains no data, but whose SexpEvent.ensureCapacity(int) method has been called with the specified value.
SexpEvent(Sexp) - Constructor for class danbikel.parser.SexpEvent
Creates a new SexpEvent using the specified S-expression.
sexpLabel - Static variable in class danbikel.parser.SexpEvent
Initial symbol used in the string representation of SexpEvent objects.
SexpList - Class in danbikel.lisp
Stores a list of Sexp objects, which are either symbols or themselves lists.
SexpList() - Constructor for class danbikel.lisp.SexpList
Constructs a SexpList with the default initial capacity.
SexpList(int) - Constructor for class danbikel.lisp.SexpList
Constructs a SexpList with the specified initial capacity.
SexpList(SexpList) - Constructor for class danbikel.lisp.SexpList
Constructs a SexpList whose initial elements are those of initialElements.
SexpList(List) - Constructor for class danbikel.lisp.SexpList
Constructs a SexpList whose initial elements are those of initialElements.
SexpList.HashCache - Class in danbikel.lisp
A subclass of SexpList where a precomputed, cached hash value is stored with every instance.
SexpList.HashCache() - Constructor for class danbikel.lisp.SexpList.HashCache
Creates a new, empty HashCache list.
SexpNumberedObjectReader - Class in danbikel.parser
Reads an underlying stream with a SexpTokenizer, converting S-expressions of the form (num processed obj), where obj is a Sexp and processed is a Symbol whose print-name is the output of String.valueOf(boolean), to NumberedObject objects.
SexpNumberedObjectReader(InputStream) - Constructor for class danbikel.parser.SexpNumberedObjectReader
Constructs a new instance, reading numbered S-expressions from the specified input stream using the default character encoding.
SexpNumberedObjectReader(InputStream, String, int) - Constructor for class danbikel.parser.SexpNumberedObjectReader
Constructs a new numbered object reader from the specified filename, file encoding and buffer size, by building a SexpTokenizer from the specified arguments.
SexpNumberedObjectReader(String, String, int) - Constructor for class danbikel.parser.SexpNumberedObjectReader
Constructs a new numbered object reader from the specified filename, file encoding and buffer size, by building a SexpTokenizer from the specified arguments.
SexpNumberedObjectReaderFactory - Class in danbikel.parser
The default NumberedSentenceReaderFactory used by Switchboard.
SexpNumberedObjectReaderFactory() - Constructor for class danbikel.parser.SexpNumberedObjectReaderFactory
Constructs a new factory.
SexpObjectReader - Class in danbikel.parser
Reads an underlying stream with a SexpTokenizer, reading each S-expression as a object and returning it when SexpObjectReader.readObject() is invoked.
SexpObjectReader(InputStream) - Constructor for class danbikel.parser.SexpObjectReader
Constructs a new instance, reading S-expressions from the specified input stream using the default character encoding.
SexpObjectReader(InputStream, String, int) - Constructor for class danbikel.parser.SexpObjectReader
Constructs a new object reader from the specified filename, file encoding and buffer size, by building a SexpTokenizer from the specified arguments.
SexpObjectReader(String, String, int) - Constructor for class danbikel.parser.SexpObjectReader
Constructs a new object reader from the specified filename, file encoding and buffer size, by building a SexpTokenizer from the specified arguments.
SexpObjectReaderFactory - Class in danbikel.parser
The default factory used to construct ObjectReader objects by the Switchboard class.
SexpObjectReaderFactory() - Constructor for class danbikel.parser.SexpObjectReaderFactory
Constructs a new object reader factory for reading Sexp objects from a text file.
SexpSubcatEvent - Class in danbikel.parser
Represents an event composed of zero or more Sexp objects and zero or one Subcat object.
SexpSubcatEvent() - Constructor for class danbikel.parser.SexpSubcatEvent
Constructs an event containing no components.
SexpSubcatEvent(int) - Constructor for class danbikel.parser.SexpSubcatEvent
Creates a new object capable of efficiently collecting the specified number of components of the type Sexp.
sexpSubcatLabel - Static variable in class danbikel.parser.SexpSubcatEvent
Initial symbol used in the string representation of SexpSubcatEvent objects.
SexpTokenizer - Class in danbikel.lisp
A class for tokenizing simple S-expressions, where there are only strings delimited by whitespace or parentheses (as implemented by WordTokenizer).
SexpTokenizer(Reader, boolean) - Constructor for class danbikel.lisp.SexpTokenizer
Constructs a SexpTokenizer with the specified stream and comment-recognition option.
SexpTokenizer(Reader, boolean, char[]) - Constructor for class danbikel.lisp.SexpTokenizer
Constructs a SexpTokenizer with the specified stream, comment-recognition option and set of ordinary characters, which are actually those characters to be treated as metacharacters (i.e., not part of tokens, but delimiters of tokens).
SexpTokenizer(Reader) - Constructor for class danbikel.lisp.SexpTokenizer
Constructs a SexpTokenizer with the specified stream and the default comment-recognition option, which is true.
SexpTokenizer(String, String, int) - Constructor for class danbikel.lisp.SexpTokenizer
Convenience constructor, creating a SexpTokenizer around a BufferedReader around a FileInputStream.
SexpTokenizer(String, String, int, boolean) - Constructor for class danbikel.lisp.SexpTokenizer
Convenience constructor, creating a SexpTokenizer around a BufferedReader around a FileInputStream.
SexpTokenizer(File, String, int) - Constructor for class danbikel.lisp.SexpTokenizer
Convenience constructor, creating a SexpTokenizer around a BufferedReader around a FileInputStream.
SexpTokenizer(File, String, int, boolean) - Constructor for class danbikel.lisp.SexpTokenizer
Convenience constructor, creating a SexpTokenizer around a BufferedReader around a FileInputStream.
SexpTokenizer(InputStream, String, int) - Constructor for class danbikel.lisp.SexpTokenizer
Convenience constructor, creating a SexpTokenizer around a BufferedReader around a InputStreamReader.
SexpTokenizer(InputStream, String, int, boolean) - Constructor for class danbikel.lisp.SexpTokenizer
Convenience constructor, creating a SexpTokenizer around a BufferedReader around a InputStreamReader.
SexpTokenizer(URL, String, int) - Constructor for class danbikel.lisp.SexpTokenizer
Convenience constructor, creating a SexpTokenizer around a BufferedReader around an InputStreamReader around the stream created by calling url.openStream().
SexpTokenizer(URL, String, int, boolean) - Constructor for class danbikel.lisp.SexpTokenizer
Convenience constructor, creating a SexpTokenizer around a BufferedReader around a InputStreamReader around the stream created by calling url.openStream().
shallowCopy() - Method in class danbikel.parser.GapEvent
 
shallowCopy() - Method in class danbikel.parser.HeadEvent
 
shallowCopy() - Method in class danbikel.parser.ModifierEvent
Returns a shallow copy of this event.
shallowCopy() - Method in class danbikel.parser.PriorEvent
Returns a shallow copy of this object.
shallowCopy() - Method in interface danbikel.parser.TrainerEvent
Returns a shallow copy of this event of the same run-time type.
share(int, Model, int) - Method in class danbikel.parser.Model
Indicates to use counts or precomputed probabilities from the specified back-off level of this model when estimating probabilities for the specified back-off level of another model.
shareCounts(boolean) - Method in class danbikel.parser.ModelCollection
In a dangerous but effective way, this method shares counts for a back-off level from one model with another model; in this case, the last level of back-off from the ModelCollection.modWordModel is being shared (i.e., will be used) as the last level of back-off for ModelCollection.topLexModel, as the last levels of both these models typically estimate p(w | t).
shift(TrainerEvent, SexpList, Sexp) - Method in class danbikel.parser.BaseNPAwareShifter
The previous modifier is not shifted into the history if the current parent (as determined by TrainerEvent.parent()) is a base NP and the previous modifier is punctuation.
shift(TrainerEvent, WordList, Word) - Method in class danbikel.parser.BaseNPAwareShifter
The head word of the previous modifier is not shifted into the history if the current parent (as determined by TrainerEvent.parent()) is a base NP and the previous modifier is punctuation.
shift(TrainerEvent, SexpList, Sexp) - Method in class danbikel.parser.DefaultShifter
 
shift(TrainerEvent, WordList, Word) - Method in class danbikel.parser.DefaultShifter
 
Shift - Interface in danbikel.parser
Methods used for the construction of prior states in the Markov process of creating modifier nonterminals.
shift(TrainerEvent, SexpList, Sexp) - Method in interface danbikel.parser.Shift
Shifts the previously-generated modifier label into the history.
shift(TrainerEvent, WordList, Word) - Method in interface danbikel.parser.Shift
Shifts the previously-generated modifier head word into the history.
shift(TrainerEvent, SexpList, Sexp) - Static method in class danbikel.parser.Shifter
Uses the internal Shifter instance to shift the newly-generated (and therefore previously-generated) modifier into the history, which is a SexpList.
shift(TrainerEvent, WordList, Word) - Static method in class danbikel.parser.Shifter
Uses the internal Shifter instance to shift the newly-generated (and therefore previously-generated) head word into the history, which is a WordList.
shift(Object) - Method in class danbikel.util.AbstractFixedSizeList
 
shift(Object) - Method in class danbikel.util.FixedSizeArrayList
 
shift(Object) - Method in interface danbikel.util.FixedSizeList
Shifts the specified object to the beginning of the list, that is, causes the specified object to be the value at index 0, causes the object at index size() - 1 to be removed and causes the index of all other objects to be increased by 1.
shift(Object) - Method in class danbikel.util.FixedSizeSingletonList
Shifts the old object wrapped by this list “away” and causes this list to wrap the specified object.
Shifter - Class in danbikel.parser
A class containing only static methods that mirror the signatures of the Shift interface, allowing a convenient flow-through mechanism to an internal static Shift object, the exact type of which is determined by the value of Settings.shifterClass.
shifterClass - Static variable in class danbikel.parser.Settings
The property to specify the fully-qualified classname of the Shift object to be used by the Shifter static class.
shortBool(boolean) - Static method in class danbikel.parser.CKYItem
Returns the string "t" if the specified boolean is true and the string "f" if the specified boolean is false.
shortContainsVerb(byte) - Static method in class danbikel.parser.CKYItem
Returns the string "undef" if the cached value of this item's “contains verb” status is CKYItem.containsVerbUndefined; otherwise, returns the string that would result in executing shortBool(containsVerb()).
shortStructureClassName - Variable in class danbikel.parser.Model
The value of Model.structureClassName but without the package qualification.
side() - Method in class danbikel.parser.GapEvent
Throws an UnsupportedOperationException, as this is not a modifier event.
side() - Method in class danbikel.parser.HeadEvent
Throws an UnsupportedOperationException, as this is not a modifier event.
side() - Method in class danbikel.parser.ModifierEvent
Returns the value of Constants.LEFT if this modifier lies on the left side of the head child, or the value of Constants.RIGHT if this modifier lies on the right side.
side() - Method in class danbikel.parser.PriorEvent
Throws an UnsupportedOperationException, as this is not a modifier event.
side() - Method in interface danbikel.parser.TrainerEvent
Returns the side of a modifier event.
sideToSym(boolean) - Static method in class danbikel.parser.Constants
Converts the boolean value of Constants.LEFT into Constants.leftSym and converts the boolean value of Constants.RIGHT into Constants.rightSym.
simpleModNonterminalMap() - Method in class danbikel.parser.CachingDecoderServer
 
simpleModNonterminalMap - Variable in class danbikel.parser.Decoder
A map from unlexicalized parent-head-side triples to all possible partially-lexicalized modifying nonterminals.
simpleModNonterminalMap() - Method in class danbikel.parser.DecoderServer
 
simpleModNonterminalMap() - Method in interface danbikel.parser.DecoderServerRemote
A map from unlexicalized parent-head-side triples to all possible partially-lexicalized modifying nonterminals.
simpleModNonterminalMap - Variable in class danbikel.parser.ModelCollection
A map from unlexicalized parent-head-side triples to all possible partially-lexicalized modifying nonterminals.
simpleModNonterminalMap() - Method in class danbikel.parser.ModelCollection
Returns a map from unlexicalized parent-head-side triples to all possible partially-lexicalized modifying nonterminals.
simpleModNonterminalMap - Variable in class danbikel.parser.Trainer
A map from unlexicalized parent-head-side triples to all possible partially-lexicalized modifying nonterminals.
SimpleWordFeatures - Class in danbikel.parser.arabic
This class simply uses the defaults provided by the class AbstractWordFeatures.
SimpleWordFeatures() - Constructor for class danbikel.parser.arabic.SimpleWordFeatures
Constructs a new WordFeatures instance for Arabic that simply returns the default word-feature vector.
SimpleWordFeatures - Class in danbikel.parser.chinese
This class simply uses the defaults provided by the class AbstractWordFeatures.
SimpleWordFeatures() - Constructor for class danbikel.parser.chinese.SimpleWordFeatures
Constructs a new instance of this class.
SimpleWordFeatures - Class in danbikel.parser.english
This class simply uses the defaults provided by the class danbikel.parser.WordFeatures.
SimpleWordFeatures() - Constructor for class danbikel.parser.english.SimpleWordFeatures
 
size() - Method in class danbikel.lisp.SexpList
Returns the number of elements in this list.
size() - Method in class danbikel.parser.BrokenSubcatBag
Returns the number of requirements contained in this subcat bag.
size - Variable in class danbikel.parser.Chart
The current size of the chart.
size - Variable in class danbikel.parser.constraints.PartialTreeConstraintSet
The number of constraints in this set.
size() - Method in class danbikel.parser.constraints.PartialTreeConstraintSet
Returns the number of constraints in this set.
size - Variable in class danbikel.parser.constraints.UnlexTreeConstraintSet
The number of constraints in this set.
size() - Method in class danbikel.parser.constraints.UnlexTreeConstraintSet
Returns the number of constraints in this constraint set.
size() - Method in interface danbikel.parser.Subcat
Returns the number of required arguments contained in this subcat frame.
size() - Method in class danbikel.parser.SubcatBag
Returns the number of requirements contained in this subcat bag.
size() - Method in class danbikel.util.FixedSizeArrayList
 
size() - Method in class danbikel.util.FixedSizeSingletonList
Returns 1.
size() - Method in class danbikel.util.ObjectBank
 
size() - Method in class danbikel.util.ObjectPool
 
size() - Method in class danbikel.util.SLNode
Returns the length of this list.
skip(Item, Sexp) - Method in class danbikel.parser.BaseNPAwareShifter
The previous modifier is skipped (not included in the construction of the history) if the current parent (as determined by CKYItem.label()) is a base NP and the previous modifier is punctuation.
skip(Item, Word) - Method in class danbikel.parser.BaseNPAwareShifter
The head word of the previous modifier is skipped (not included in the construction of the history) ifthe current parent (as determined by CKYItem.label()) is a base NP and the previous modifier is punctuation.
skip(Item, Sexp) - Method in class danbikel.parser.DefaultShifter
 
skip(Item, Word) - Method in class danbikel.parser.DefaultShifter
 
skip(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Returns whether the specified tree is to be skipped when training.
skip(Item, Sexp) - Method in interface danbikel.parser.Shift
Returns whether the previously-generated modifier should be skipped when constructing a history for the specified chart item.
skip(Item, Word) - Method in interface danbikel.parser.Shift
Returns whether the previously-generated modifier head word should be skipped when constructing a history for the specified chart item.
skip(CKYItem, Sexp) - Static method in class danbikel.parser.Shifter
Uses the internal Shifter instance to determine whether the specified modifier should be skipped when constructing a history for the specified chart item.
skip(CKYItem, Word) - Static method in class danbikel.parser.Shifter
Uses the internal Shifter instance to determine whether the specified modifier head word should be skipped when constructing a history for the specified chart item.
skip(Sexp) - Method in interface danbikel.parser.Training
Returns whether the specified tree is to be skipped when training.
sleepRandom(int) - Method in class danbikel.switchboard.AbstractClient
Sleeps for a random interval between 0 and the specified number of milliseconds.
sleepTime - 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.
SLNode - Class in danbikel.util
Represents a node in a singly-linked list.
SLNode() - Constructor for class danbikel.util.SLNode
 
SLNode(Object, SLNode) - Constructor for class danbikel.util.SLNode
Constructs a new SLNode with the specified data object and next node.
smoothingParametersFile() - Method in class danbikel.parser.ProbabilityStructure
Returns the name of the smoothing parameters file, either to be created if ProbabilityStructure.saveSmoothingParameters() returns true, or read from and used if either ProbabilityStructure.dontAddNewParameters() or ProbabilityStructure.useSmoothingParameters() return true.
smoothingParams - Variable in class danbikel.parser.Model
The smoothing parameters for the history contexts (Event instances) at the back-off levels of this model.
smoothingParamsDir - Static variable in class danbikel.parser.Settings
The property to specify the directory from which Model objects are to read smoothing parameters files.
smoothingParamsFile - Variable in class danbikel.parser.Model
The value of the smoothing parameters file for this model, as given by ProbabilityStructure.smoothingParametersFile().
socketTimeout - Static variable in interface danbikel.switchboard.SwitchboardRemote
The property to specify how long, in milliseconds, the SO_TIMEOUT value should be for the switchboard's RMI-client (caller) sockets.
sortOutput - Static variable in interface danbikel.switchboard.SwitchboardRemote
The property to specify whether the switchboard should sort the log file entries when creating its final output file.
spanMatches(Item) - Method in class danbikel.parser.constraints.PartialTreeConstraint
Returns whether the start and end indices of the specified chart item are equal to the start and end indices, respectively, of the span associated with this constraint.
spanMatches(Item) - Method in class danbikel.parser.constraints.UnlexTreeConstraint
Returns whether the specified item's span matches that of this constraint.
spanOK(Item) - Method in class danbikel.parser.constraints.PartialTreeConstraint
Returns whether the span of the specified item crosses the span.
Stack - Class in danbikel.util
A simple stack implementation created from an ArrayList.
Stack() - Constructor for class danbikel.util.Stack
Constructs an empty stack.
Stack(Collection) - Constructor for class danbikel.util.Stack
Constructs a stack with the specified collection, whose bottom element is the first returned by c.iterator() and whose top element is the last.
Stack(int) - Constructor for class danbikel.util.Stack
Constructs a stack with the specified initial capacity.
standAlone - Static variable in class danbikel.parser.Parser
Indicates whether this is a stand-alone client, or is using a switchboard, as specified on the command line.
start - Variable in class danbikel.parser.CKYItem
The index of the first word of the span covered by this item.
start() - Method in class danbikel.parser.CKYItem
Returns the start word index of the span of this chart item.
start - Variable in class danbikel.parser.constraints.PartialTreeConstraint
The starting word index of the syntactic subtree covered by this constraint.
start() - Method in class danbikel.parser.constraints.PartialTreeConstraint
Returns the start index of the span associated with this constraint.
start - Variable in class danbikel.parser.constraints.UnlexTreeConstraint
The start index of the span associated with this constraint.
start() - Method in class danbikel.parser.constraints.UnlexTreeConstraint
Returns the start index of the span covered by this constraint.
startAliveThread() - Method in class danbikel.switchboard.AbstractSwitchboardUser
Starts a thread using the AbstractSwitchboardUser.Alive class to detect when the switchboard goes down and re-register this user.
StartEMSwitchboard - Class in danbikel.parser
A class for kick-starting a Switchboard instance when doing the E-step of the EM algorithm (Inside-Outside) in a distributed-computing environment.
startIdx - Variable in class danbikel.util.FixedSizeArrayList
 
startList - Variable in class danbikel.parser.Decoder
A list containing only Training.startSym(), which is the type of list that should be used when there are zero real previous modifiers (to start the Markov modifier process).
StartSwitchboard - Class in danbikel.parser
A class to kick-start a Switchboard instance for parsing in a distributed-computing environment.
startSym() - Method in class danbikel.parser.arabic.Training
Returns the symbol to indicate hidden nonterminals that precede the first in a sequence of modifier nonterminals.
startSym - Static variable in class danbikel.parser.CKYItem.PrevModIsStart
 
startSym - Static variable in class danbikel.parser.Collins
The start symbol equivalence class.
startSym - Variable in class danbikel.parser.Decoder
The value of Training.startSym(), cached here for efficiency and convenience.
startSym() - Method in class danbikel.parser.lang.AbstractTraining
Returns the symbol to indicate hidden nonterminals that precede the first in a sequence of modifier nonterminals.
startSym - Variable in class danbikel.parser.Trainer
The value of Training.startSym().
startSym() - Method in interface danbikel.parser.Training
Returns the symbol to indicate hidden nonterminals that precede the first in a sequence of modifier nonterminals.
startSym - Static variable in class danbikel.parser.util.TrainerEventToCollins
 
startTime() - Method in class danbikel.util.Time
Returns the start time of this object.
startWord() - Method in class danbikel.parser.arabic.Training
Returns the Word object that represents the hidden "head word" of the start symbol.
startWord - Variable in class danbikel.parser.Decoder
The value of Training.startWord(), cached here for efficiency and convenience.
startWord() - Method in class danbikel.parser.lang.AbstractTraining
Returns the Word object that represents the hidden "head word" of the start symbol.
startWord - Variable in class danbikel.parser.Trainer
The value of Training.startWord().
startWord() - Method in interface danbikel.parser.Training
Returns the Word object that represents the hidden "head word" of the start symbol.
startWordList - Variable in class danbikel.parser.Decoder
A list containing only Training.startWord(), which is the type of list that should be used when there are zero real previous modifiers (to start the Markov modifier process).
staticSetUpFastArgMap(CountsTable) - Static method in class danbikel.parser.lang.AbstractTraining
Indicates to set up a static map for quickly mapping argument nonterminals to their non-argument variants (that is, for quickly stripping away their argument augmentations).
stop - Variable in class danbikel.parser.CKYItem
The boolean indicating whether this item has received its stop probabilities.
stop() - Method in class danbikel.parser.CKYItem
Returns whether this item has received its stop probabilities.
stopProbItemsToAdd - Variable in class danbikel.parser.Decoder
A temporary storage area used by Decoder.addStopProbs(danbikel.parser.CKYItem, java.util.List) for storing items to be added to the chart when iterating over a cell in the chart.
stopSym() - Method in class danbikel.parser.arabic.Training
Returns the symbol to indicate a hidden nonterminal that follows the last in a sequence of modifier nonterminals.
stopSym - Variable in class danbikel.parser.Decoder
The value of Training.stopSym(), cached here for efficiency and convenience.
stopSym() - Method in class danbikel.parser.lang.AbstractTraining
Returns the symbol to indicate a hidden nonterminal that follows the last in a sequence of modifier nonterminals.
stopSym - Variable in class danbikel.parser.Trainer
The value of Training.stopSym().
stopSym() - Method in interface danbikel.parser.Training
Returns the symbol to indicate a hidden nonterminal that follows the last in a sequence of modifier nonterminals.
stopSym - Static variable in class danbikel.parser.util.TrainerEventToCollins
 
stopWord() - Method in class danbikel.parser.arabic.Training
Returns the Word object that represents the hidden "head word" of the stop symbol.
stopWord - Static variable in class danbikel.parser.CKYItem
The value of Training.stopWord(), cached here for efficiency and convenience.
stopWord - Variable in class danbikel.parser.Decoder
The value of Training.stopWord(), cached here for efficiency and convenience.
stopWord - Variable in class danbikel.parser.DecoderServer
The value of Training.stopSym(), cached here for convenience.
stopWord() - Method in class danbikel.parser.lang.AbstractTraining
Returns the Word object that represents the hidden "head word" of the stop symbol.
stopWord - Variable in class danbikel.parser.Trainer
The value of Training.stopWord().
stopWord() - Method in interface danbikel.parser.Training
Returns the Word object that represents the hidden "head word" of the stop symbol.
store(OutputStream) - Static method in class danbikel.parser.Settings
Stores the properties of this class to the specified output stream, using Properties.store(OutputStream,String).
store(OutputStream, String) - Static method in class danbikel.parser.Settings
Stores the properties of this class to the specified output stream, using Properties.store(OutputStream,String).
store(ObjectOutputStream) - Static method in class danbikel.parser.Settings
Stores the properties of this class to the specified output stream.
storePrecomputedProbs(double[], double[], Transition[], Event[], int) - Method in class danbikel.parser.InterpolatedKnesserNeyModel
 
storePrecomputedProbs(double[], double[], Transition[], Event[], int) - Method in class danbikel.parser.Model
Stores the specified smoothing values (lambdas) and smoothed probability estimates in the Model.precomputedProbs and Model.smoothingParams map arrays.
storeSorted(OutputStream) - Static method in class danbikel.parser.Settings
Stores a sorted list of the settings and values of this class to the specified output stream
storeSorted(Properties, OutputStream) - Static method in class danbikel.parser.Settings
Stores a sorted list of the specified property-value pairs to the specified output stream
storeSorted(OutputStream, String) - Static method in class danbikel.parser.Settings
Stores a sorted list of the property-value pairs contained in this class to the specified output stream using the specified header.
storeSorted(Properties, OutputStream, String) - Static method in class danbikel.parser.Settings
Stores a sorted list of the specified container of property-value pairs to the specified output stream using the specified header.
StringSymbol - Class in danbikel.lisp
StringSymbol objects associate strings with unique references.
StringSymbol() - Constructor for class danbikel.lisp.StringSymbol
A public, no-arg constructor, required by the Externalizable interface.
stringTypeArr - Static variable in class danbikel.parser.Parser
An array of types containing a single element, String.class.
stripAllButIndex(Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
Returns a symbol identical to the specified label, except all augmentations other than the index will be removed.
stripAllButIndex(Symbol, Nonterminal) - Method in class danbikel.parser.lang.AbstractTreebank
Identical to AbstractTreebank.stripAllButIndex(Symbol), except that instead of creating a new Nonterminal object for use by AbstractTreebank.parseNonterminal(Symbol,Nonterminal), this method uses the specified nonterminal object.
stripAllButIndex(Symbol) - Method in interface danbikel.parser.Treebank
Returns a symbol identical to the specified label, except all augmentations other than the index will be removed.
stripAllButIndex(Symbol, Nonterminal) - Method in interface danbikel.parser.Treebank
Identical to Treebank.stripAllButIndex(Symbol), except that instead of creating a new Nonterminal object for use by Treebank.parseNonterminal(Symbol,Nonterminal), this method uses the specified nonterminal object.
stripAugmentation(Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
Returns the Symbol created by stripping off all augmentations, that is all characters after and including the first character that appears in the string returned by AbstractTreebank.augmentationDelimiters().
stripAugmentation(Symbol) - Method in interface danbikel.parser.Treebank
Returns the Symbol created by stripping off all augmentations, that is all characters after and including the first character that appears in the string returned by Treebank.augmentationDelimiters().
stripAugmentations(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Strips any augmentations off all of the nonterminal labels of tree.
stripAugmentations(Symbol) - Method in class danbikel.parser.lang.AbstractTraining
Parses the specified nonterminal label and removes all augmentations.
stripAugmentations(Symbol, Nonterminal, boolean) - Method in class danbikel.parser.lang.AbstractTraining
Fills in the specified Nonterminal object with the specified nonterminal label but without any augmentations.
stripAugmentations(Sexp) - Method in interface danbikel.parser.Training
Strips any augmentations off all of the nonterminal labels of tree.
stripIndex(Symbol) - Method in class danbikel.parser.lang.AbstractTreebank
Returns label, but stripped of any index augmentation.
stripIndex(Symbol, Nonterminal) - Method in class danbikel.parser.lang.AbstractTreebank
Identical to AbstractTreebank.stripIndex(Symbol), except that instead of creating a new Nonterminal object for use by AbstractTreebank.parseNonterminal(Symbol,Nonterminal), this method simply passes the specified nonterminal object.
stripIndex(Symbol) - Method in interface danbikel.parser.Treebank
Returns label, but stripped of any index augmentation.
stripIndex(Symbol, Nonterminal) - Method in interface danbikel.parser.Treebank
Identical to Treebank.stripIndex(Symbol), except that instead of creating a new Nonterminal object for use by Treebank.parseNonterminal(Symbol,Nonterminal), this method simply passes the specified nonterminal object.
structure - Variable in class danbikel.parser.Model
The probability structure for this model to use.
structureClassName - Variable in class danbikel.parser.Model
A cached copy of the name of the concrete type of the ProbabilityStructure instance used by this model.
stub - Variable in class danbikel.parser.CachingDecoderServer
The stub through which all method invocations on this object will flow.
stub - Variable in class danbikel.util.proxy.Reconnect
 
subcat(boolean) - Method in class danbikel.parser.CKYItem
Returns the subcat on the specified side of this item's head child.
subcat() - Method in class danbikel.parser.ModifierEvent
Returns a list of arguments of the head child that have yet to be generated.
subcat - Variable in class danbikel.parser.SexpSubcatEvent
The subcat data member.
Subcat - Interface in danbikel.parser
Specification for a collection of required arguments to be generated by a parser, also known as a subcategorization frame.
SubcatBag - Class in danbikel.parser
Provides a bag implementation of subcat requirements (a bag is a set that allows multiple occurrences of the same item).
SubcatBag() - Constructor for class danbikel.parser.SubcatBag
Constructs an empty subcat.
SubcatBag(SexpList) - Constructor for class danbikel.parser.SubcatBag
Constructs a subcat bag containing the number of occurrences of the symbols of list.
SubcatBagFactory - Class in danbikel.parser
A factory for creating SubcatBag objects.
SubcatBagFactory() - Constructor for class danbikel.parser.SubcatBagFactory
Constructs a new SubcatBagFactory.
SubcatFactory - Interface in danbikel.parser
Specification for a Subcat object factory, to be used by the Subcats static factory class.
subcatFactoryClass - Static variable in class danbikel.parser.Settings
The property to specify the fully-qualified classname of the SubcatFactory object to be used by the Subcats static factory class.
SubcatList - Class in danbikel.parser
Implements subcats where requirements need to be met in the order in which they are added to this subcat (the strictest form of a subcat).
SubcatList() - Constructor for class danbikel.parser.SubcatList
Construct a new empty subcat list.
SubcatList(SexpList) - Constructor for class danbikel.parser.SubcatList
Constructs a new subcat list from the requirements in the specified SexpList.
SubcatListFactory - Class in danbikel.parser
A factory for creating SubcatList objects.
SubcatListFactory() - Constructor for class danbikel.parser.SubcatListFactory
Constructs a new SubcatListFactory.
SubcatModelStructure1 - Class in danbikel.parser.ms
Provides the complete back-off structure of the subcat-generation model for either side of the head child.
SubcatModelStructure1() - Constructor for class danbikel.parser.ms.SubcatModelStructure1
 
SubcatModelStructure2 - Class in danbikel.parser.ms
Representation of the complete back-off structure of the subcat-generation model for either side of the head child.
SubcatModelStructure2() - Constructor for class danbikel.parser.ms.SubcatModelStructure2
 
Subcats - Class in danbikel.parser
Static factory for Subcat objects.
subcatToCollins(Subcat, boolean) - Static method in class danbikel.parser.util.TrainerEventToCollins
 
subjectAugmentation() - Method in class danbikel.parser.arabic.Treebank
 
subjectAugmentation() - Method in class danbikel.parser.chinese.Treebank
 
subjectAugmentation() - Method in class danbikel.parser.english.BrokenTreebank
 
subjectAugmentation() - Method in class danbikel.parser.english.Treebank
 
subjectAugmentation() - Method in class danbikel.parser.lang.AbstractTreebank
Returns the symbol that is used to augment nonterminals to indicate matrix subjects in this language’s Treebank.
subjectAugmentation() - Method in interface danbikel.parser.Treebank
Returns the symbol that is used to augment nonterminals to indicate matrix subjects in the current language's Treebank.
subjectlessSentenceLabel() - Method in class danbikel.parser.arabic.Treebank
Returns the symbol that AbstractTraining.relabelSubjectlessSentences(Sexp) will use for sentences that have no subjects.
subjectlessSentenceLabel() - Method in class danbikel.parser.chinese.Treebank
Returns the symbol that relabelSubjectlessSentences will use for sentences that have no subjects.
subjectlessSentenceLabel() - Method in class danbikel.parser.english.BrokenTreebank
Returns the symbol that Training.relabelSubjectlessSentences(Sexp) will use for sentences that have no subjects.
subjectlessSentenceLabel() - Method in class danbikel.parser.english.Treebank
Returns the symbol that Training.relabelSubjectlessSentences(Sexp) will use for sentences that have no subjects.
subjectlessSentenceLabel() - Method in class danbikel.parser.lang.AbstractTreebank
Returns the symbol with which Training.relabelSubjectlessSentences(Sexp) will relabel sentences when they have no subjects.
subjectlessSentenceLabel() - Method in interface danbikel.parser.Treebank
Returns the symbol with which Training.relabelSubjectlessSentences(Sexp) will relabel sentences when they have no subjects.
substituteWordsForClosedClassTags - Variable in class danbikel.parser.Decoder
The boolean value of the Settings.decoderSubstituteWordsForClosedClassTags setting.
subsumes(Nonterminal) - Method in class danbikel.parser.Nonterminal
Returns whether this nonterminal subsumes the specified nonterminal.
sval - Variable in class danbikel.lisp.WordTokenizer
Contains the most recent word tokenized by this tokenizer.
switchboard - Variable in class danbikel.switchboard.AbstractSwitchboardUser
A handle onto the switchboard.
Switchboard - Class in danbikel.switchboard
The switchboard serves as the central "hub" in a distributed RMI object-processing run, accepting registrations of clients and servers, and assigning clients to servers.
Switchboard() - Constructor for class danbikel.switchboard.Switchboard
Constructs a Switchboard with all default settings.
Switchboard(String) - Constructor for class danbikel.switchboard.Switchboard
Constructs a Switchboard object using the specified filename for the messages file.
Switchboard(PrintWriter) - Constructor for class danbikel.switchboard.Switchboard
Constructs a Switchboard with the specified message file writer.
Switchboard(String, int) - Constructor for class danbikel.switchboard.Switchboard
Constructs a Switchboard object with the specified messages filename and port on which to receive RMI calls.
Switchboard(PrintWriter, int) - Constructor for class danbikel.switchboard.Switchboard
Constructs a Switchboard object with the specified message file writer and the specified port on which to receive RMI calls.
Switchboard(String, int, boolean) - Constructor for class danbikel.switchboard.Switchboard
Constructs a Switchboard with the specified message filename, port and re-process option.
Switchboard(PrintWriter, int, boolean) - Constructor for class danbikel.switchboard.Switchboard
Constructs a Switchboard object with the specified message file writer, port and re-process option.
Switchboard(String, int, boolean, ObjectReaderFactory, ObjectReaderFactory, ObjectWriterFactory, ObjectWriterFactory) - Constructor for class danbikel.switchboard.Switchboard
Constructs a Switchboard with the specified message filename, port, re-process option and object reader/writer factories.
Switchboard(PrintWriter, int, boolean, ObjectReaderFactory, ObjectReaderFactory, ObjectWriterFactory, ObjectWriterFactory) - Constructor for class danbikel.switchboard.Switchboard
Constructs a Switchboard with the specified message file writer, port, re-process option and object reader/writer factories.
Switchboard(String, int, boolean, ObjectReaderFactory, ObjectReaderFactory, ObjectWriterFactory, ObjectWriterFactory, String) - Constructor for class danbikel.switchboard.Switchboard
Constructs a Switchboard with the specified message file writer, port, re-process option, object reader/writer factories and registry binding name.
Switchboard(PrintWriter, int, boolean, ObjectReaderFactory, ObjectReaderFactory, ObjectWriterFactory, ObjectWriterFactory, String) - Constructor for class danbikel.switchboard.Switchboard
Constructs a Switchboard object with the specified message file writer, port on which to receive RMI calls, re-process option, object reader factories (one for un-numbered objects, another for numbered objects) and registry binding name.
switchboardDisableHttp - Static variable in interface danbikel.switchboard.SwitchboardRemote
 
switchboardFailure() - Method in class danbikel.parser.Parser
Prints the sentence currently being parsed to System.err as an emergency backup (in case processing took a long time and it is highly undesirable to lose the work).
switchboardFailure() - Method in class danbikel.switchboard.AbstractClient
A hook that is called by reRegister, so that clients may perform any emergency procedures prior to re-registering and getting a new server.
switchboardName - Static variable in class danbikel.parser.Parser
The bound RMI name of the Switchboard specified on the command line (defaults to Switchboard.defaultBindingName).
switchboardName - Variable in class danbikel.switchboard.AbstractSwitchboardUser
The bootstrap registry name of the switchboard.
switchboardPolicyFile - Static variable in interface danbikel.switchboard.SwitchboardRemote
 
SwitchboardRemote - Interface in danbikel.switchboard
The methods by which both clients and servers register with a single RMI-accessible Switchboard object.
SwitchboardUser - Interface in danbikel.switchboard
An interface that both types of users of the switchboard (clients and servers) must implement, providing useful information about the switchboard user, as well as a means to determine whether the switchboard user is alive and to tell it when it is allowed to die.
symbol() - Method in class danbikel.lisp.Sexp
Returns this object cast to a Symbol.
Symbol - Class in danbikel.lisp
Symbol objects associate strings or integers with unique references.
Symbol() - Constructor for class danbikel.lisp.Symbol
 
symbolAt(int) - Method in class danbikel.lisp.SexpList
Returns the symbol at the specified index.
SymbolicCollectionWriter - Class in danbikel.parser
Provides static methods to write out the contents of a Map or a Set in an S-expression format.
SymbolPair - Class in danbikel.parser
A simple class for holding a pair of Symbol objects.
SymbolPair() - Constructor for class danbikel.parser.SymbolPair
Constructs an empty pair of symbols (both objects are null).
SymbolPair(Sexp) - Constructor for class danbikel.parser.SymbolPair
Constructs a SymbolPair from the first two symbols in the specified list.
SymbolPair(Symbol, Symbol) - Constructor for class danbikel.parser.SymbolPair
Constructs a new symbol pair from the specified symbols.

T

tag - Variable in class danbikel.parser.Word
The part-of-speech of Word.word.
tag() - Method in class danbikel.parser.Word
Returns the part-of-speech tag of this word.
TagMap - Class in danbikel.parser.arabic
Provides tag mapping function for collapsing Arabic part-of-speech tags to Penn Treebank equivalents.
tagMapSym - Static variable in class danbikel.parser.arabic.Training
The symbol associated with tag map metadata.
tagMatches(Symbol, Symbol[]) - Method in class danbikel.parser.lang.AbstractHeadFinder
A helper method that returns true if any of the nonterminals in matchTags is tag and returns false otherwise.
TagModelStructure1 - Class in danbikel.parser.ms
Representation of the complete back-off structure of the generation model for modifying part-of-speech tags (the modifying nonterminals are partially lexicalized with the parts of speech of their respective head words, and this model generates the part of speech component of these partially-lexicalized nonterminals).
TagModelStructure1() - Constructor for class danbikel.parser.ms.TagModelStructure1
 
TagModelStructure2 - Class in danbikel.parser.ms
Representation of the complete back-off structure of the generation model for modifying part-of-speech tags (the modifying nonterminals are partially lexicalized with the parts of speech of their respective head words, and this model generates the part of speech component of these partially-lexicalized nonterminals).
TagModelStructure2() - Constructor for class danbikel.parser.ms.TagModelStructure2
 
testProb() - Method in class danbikel.parser.CachingDecoderServer
Returns a test probability (for debugging purposes).
testProb() - Method in class danbikel.parser.DecoderServer
Returns 1.0.
testProb() - Method in interface danbikel.parser.DecoderServerRemote
Returns a test probability (for debugging purposes).
Text - Class in danbikel.util
A set of static utility functions that operate on String or StringBuffer objects.
TextObjectWriter - Class in danbikel.switchboard
A simple ObjectWriter that merely prints out objects' string representations (as determined by their toString methods) to an underlying character stream (Writer) followed by a newline.
TextObjectWriter(OutputStream) - Constructor for class danbikel.switchboard.TextObjectWriter
 
TextObjectWriter(OutputStream, String, int) - Constructor for class danbikel.switchboard.TextObjectWriter
 
TextObjectWriter(String, String, int, boolean) - Constructor for class danbikel.switchboard.TextObjectWriter
 
TextObjectWriterFactory - Class in danbikel.switchboard
A factory for returning TextObjectWriter objects.
TextObjectWriterFactory() - Constructor for class danbikel.switchboard.TextObjectWriterFactory
Constructs a new TextObjectWriterFactory.
threadNPArgAugmentations(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Adds any argument augmentations on an NP to its head child, continuing recursively until reaching a preterminal.
time - Variable in class danbikel.parser.Decoder
An object for keeping track of wall-clock time.
Time - Class in danbikel.util
A simple class for keeping track of wall-clock time.
Time() - Constructor for class danbikel.util.Time
Creates a Time object whose start time is System.currentTimeMillis.
Time(long) - Constructor for class danbikel.util.Time
Creates a Time object with the specified start time.
timeout - Variable in class danbikel.switchboard.AbstractSwitchboardUser
The value for which switchboard-side (RMI client-side) sockets will timeout (a value of 0 indicates infinite timeout).
TimeoutServerSocket - Class in danbikel.util
A ServerSocket subclass that delivers Socket objects via its implementation of TimeoutServerSocket.accept() that have had their timeout values set to the value specified at construction.
TimeoutServerSocket(int, int) - Constructor for class danbikel.util.TimeoutServerSocket
Constructs a server socket on the specified port, that delivers sockets with the specified timeout value via the TimeoutServerSocket.accept() method.
TimeoutSocketFactory - Class in danbikel.util
Delivers sockets with timeout values (set via Socket.setSoTimeout).
TimeoutSocketFactory(int, int) - Constructor for class danbikel.util.TimeoutSocketFactory
Constructs a new TimeoutSocketFactory with the specified timeout values for server and client sockets.
timeToDie - Variable in class danbikel.switchboard.AbstractSwitchboardUser
The boolean indicating that this object is ready to die, and will wait for the length of the timeout value before actually committing suicide (by unexporting itself via the AbstractSwitchboardUser.unexportWhenDead() method).
tmpChildrenList - Variable in class danbikel.parser.Decoder
A reusable list node for use by Decoder.getPrevMods(danbikel.parser.CKYItem, danbikel.util.SLNode) and Decoder.getPrevModWords(danbikel.parser.CKYItem, danbikel.util.SLNode, boolean).
toHead - Static variable in class danbikel.parser.GapEvent
The symbol representing a gap passed from a parent to its head.
toLeft - Static variable in class danbikel.parser.GapEvent
The symbol representing a gap passed from a parent to one of the premodifiers of its head child.
tolerateFaults(int, int, boolean) - Method in class danbikel.parser.Parser
 
tolerateFaults(int, int, boolean) - Method in class danbikel.switchboard.AbstractClient
Wraps the current server in proxies that ensure the fault tolerance of calls to that server.
toList() - Method in class danbikel.util.SLNode
Returns a new LinkedList object containing all the data of this list.
topLevelCache - Variable in class danbikel.parser.Model
A currently-unused cache of probabilities of TrainerEvent objects.
topLevelCacheSize - Variable in class danbikel.parser.ProbabilityStructure
The size of the cache that model's of this probability structure should use for events containing maximal context.
topLexModel - Variable in class danbikel.parser.ModelCollection
The model for generating the head word and part of speech of observed root nonterminals given the hidden +TOP+ nonterminal.
topLexModel() - Method in class danbikel.parser.ModelCollection
Returns the head-word generation model for heads of entire sentences.
topLexModel - Variable in class danbikel.parser.Trainer
The head-word generation model for heads of entire sentences.
TopLexModelStructure1 - Class in danbikel.parser.ms
 
TopLexModelStructure1() - Constructor for class danbikel.parser.ms.TopLexModelStructure1
 
topLexModelStructureClass - 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 word-generation submodel for head words of entire sentences.
topLexModelStructureNumber - 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 word-generation submodel for heads of entire sentences.
topNonterminalModel - Variable in class danbikel.parser.ModelCollection
The model for generating observed root nonterminals given the hidden +TOP+ nonterminal.
topNonterminalModel() - Method in class danbikel.parser.ModelCollection
Returns the head-generation model for heads whose parents are Training.topSym().
topNonterminalModel - Variable in class danbikel.parser.Trainer
The head-generation model for heads whose parents are Training.topSym().
TopNonterminalModelStructure1 - Class in danbikel.parser.ms
 
TopNonterminalModelStructure1() - Constructor for class danbikel.parser.ms.TopNonterminalModelStructure1
 
topNonterminalModelStructureClass - 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 for heads whose parents are Training.topSym().
topNonterminalModelStructureNumber - 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 for heads whose parents are Training.topSym().
topOnly - Variable in class danbikel.parser.Trainer
A filter that only allows TrainerEvent instances where the parent is Training.topSym().
topProbItemsToAdd - Variable in class danbikel.parser.Decoder
A temporary storage area used by Decoder.addTopUnaries(int) for storing items to be added to the chart when iterating over a cell in the chart.
topProbItemsToAdd - Variable in class danbikel.parser.EMDecoder
A temporary storage area used by EMDecoder.addTopUnaries(int) for storing items to be added to the chart when iterating over a cell in the chart.
toPrevIdx - Static variable in class danbikel.parser.AnalyzeDisns
The BiCountsTable index for retrieving the Jensen-Shannon divergence from a history context (distribution) at a particular back-off level to its corresponding previous back-off level (greater context) history context.
toPrune(int, int, Item) - Method in class danbikel.parser.Chart
Returns true if the specified chart item should not be added to the specified set of items because its probability is not within Chart.pruneFact of the highest-ranked item.
toPrune(int, int, Item) - Method in class danbikel.parser.EMChart
 
topSym() - Method in class danbikel.parser.arabic.Training
Returns the symbol to indicate the hidden root of all parse trees.
topSym - Static variable in class danbikel.parser.CKYItem
The value of Training.topSym(), cached for efficiency and convenience.
topSym - Variable in class danbikel.parser.Decoder
The value of Training.topSym(), cached here for efficiency and convenience.
topSym() - Method in class danbikel.parser.lang.AbstractTraining
Returns the symbol to indicate the hidden root of all parse trees.
topSym - Variable in class danbikel.parser.Trainer
The value of Training.topSym().
topSym() - Method in interface danbikel.parser.Training
Returns the symbol to indicate the hidden root of all parse trees.
topSym - Static variable in class danbikel.parser.util.TrainerEventToCollins
 
topWord() - Method in class danbikel.parser.arabic.Training
Returns the Word object that represents the hidden "head word" of the hidden root of all parse trees.
topWord() - Method in class danbikel.parser.lang.AbstractTraining
Returns the Word object that represents the hidden "head word" of the hidden root of all parse trees.
topWord() - Method in interface danbikel.parser.Training
Returns the Word object that represents the hidden "head word" of the hidden root of all parse trees.
toRight - Static variable in class danbikel.parser.GapEvent
The symbol representing a gap passed from a parent to one of the postmodifiers of its head child.
toSexp() - Method in interface danbikel.lisp.SexpConvertible
Converts this object to an S-expression.
toSexp() - Method in class danbikel.parser.BrokenSubcatBag
As per the contract of Subcat, this method returns a Sexp such that an equivalent BrokenSubcatBag object would result from the BrokenSubcatBag.addAll(SexpList) method being invoked with this Sexp as its argument.
toSexp() - Method in class danbikel.parser.CKYItem
Returns the S-expression representation of the tree rooted at this chart item.
toSexp() - Method in class danbikel.parser.constraints.LexTreeConstraint
 
toSexp() - Method in class danbikel.parser.constraints.PartialLexTreeConstraint
 
toSexp() - Method in class danbikel.parser.constraints.PartialTreeConstraint
Returns a symbolic expression representing the tree of constraints rooted at this constraint (intended for debugging purposes).
toSexp() - Method in class danbikel.parser.constraints.UnlexTreeConstraint
Returns a symbolic expression version of the constraint tree rooted at this constraint.
toSexp() - Method in class danbikel.parser.HeadTreeNode
 
toSexp(boolean) - Method in class danbikel.parser.HeadTreeNode
 
toSexp() - Method in class danbikel.parser.SexpEvent
Returns the Sexp contained in this event.
toSexp() - Method in class danbikel.parser.SexpSubcatEvent
If this event has no subcat, then this method simply returns the backing Sexp; otherwise, this method returns a SexpList of the form (sexp subcat), where sexp is the Sexp component(s) of this event and subcat is the result of calling subcat.toSexp().
toSexp() - Method in interface danbikel.parser.Subcat
Returns a list view of the information contained in this subcat, such that an equivalent subcat would result if a new Subcat object of this run-time type were constructed and its Subcat.addAll(SexpList) method were invoked with the list returned by this method.
toSexp() - Method in class danbikel.parser.SubcatBag
As per the contract of Subcat, this method returns a Sexp such that an equivalent SubcatBag object would result from the SubcatBag.addAll(SexpList) method being invoked with this Sexp as its argument.
toSexp() - Method in class danbikel.parser.SubcatList
 
toSexp() - Method in class danbikel.parser.Word
 
toSexpInternal(boolean) - Method in class danbikel.parser.CKYItem
Returns the S-expression representation of the tree rooted at this chart item (helper method invoked by CKYItem.toSexp()).
toString() - Method in class danbikel.lisp.IntSymbol
Gets a string representation of this symbol.
toString() - Method in class danbikel.lisp.SexpList
Returns a string representation of this S-expression, consisting of an open parenthesis, a space-separated string representation of the elements of this list and a close parenthesis.
toString() - Method in class danbikel.lisp.StringSymbol
Returns the print name of this Symbol.
toString() - Method in class danbikel.lisp.Symbol
Gets the string representation of this symbol.
toString() - Method in class danbikel.parser.BrokenSubcatBag
Returns a human-readable string representation of the requirements contained in this bag.
toString() - Method in class danbikel.parser.CKYItem
Returns a string containing all the information contained locally in this chart item (for debugging purposes).
toString() - Method in class danbikel.parser.constraints.LexTreeConstraint
A debugging method that returns a string representation of the information of this constraint.
toString() - Method in class danbikel.parser.constraints.PartialLexTreeConstraint
Returns a human-readable string representation of this constraint for debugging.
toString() - Method in class danbikel.parser.constraints.PartialTreeConstraint
Returns a human-readable string representation of this constraint (intended for debugging purposes).
toString() - Method in class danbikel.parser.constraints.PartialTreeConstraintSet
Returns a human-readable string representation of this tree of constraints.
toString() - Method in class danbikel.parser.constraints.UnlexTreeConstraint
Returns a human-readable string representation of the local information of this constraint (for debugging purposes).
toString() - Method in class danbikel.parser.constraints.UnlexTreeConstraintSet
Returns a string representation of the constraint tree encapsulated by this constraint set object.
toString() - Method in class danbikel.parser.EMItem.AntecedentPair
The string representation of this antecedent pair.
toString() - Method in class danbikel.parser.EMItem
Returns a human-readable string representation of the information in this item.
toString() - Method in class danbikel.parser.GapEvent
Returns an S-expression of the form accepted by GapEvent.GapEvent(Sexp).
toString() - Method in class danbikel.parser.HeadEvent
Returns an S-expression of the form accepted by HeadEvent.HeadEvent(Sexp).
toString() - Method in class danbikel.parser.HeadTreeNode
Returns a string representation of the tree rooted at this node.
toString() - Method in class danbikel.parser.lang.AbstractHeadFinder.HeadFindInstruction
Converts this object to a human-readable string representation.
toString() - Method in class danbikel.parser.ModifierEvent
Returns an S-expression of the form accepted by ModifierEvent.ModifierEvent(Sexp).
toString() - Method in class danbikel.parser.Nonterminal
Returns a string representation of the nonterminal, identical the original nonterminal that was parsed to create this object.
toString() - Method in class danbikel.parser.PriorEvent
Returns an S-expression string representation of the data in this object.
toString() - Method in class danbikel.parser.SexpEvent
Returns a string representation of this object of the form (SexpEvent.sexpLabel event) where event is string representation of the Sexp held by this object.
toString() - Method in class danbikel.parser.SexpSubcatEvent
Returns a string representation of this object of the form (SexpSubcatEvent.sexpSubcatLabel event) where event is string representation of the Sexp held by this object.
toString() - Method in class danbikel.parser.SubcatBag
Returns a human-readable string representation of the requirements contained in this bag.
toString() - Method in class danbikel.parser.SymbolPair
Returns an S-expression list string representation of this symbol pair.
toString() - Method in class danbikel.parser.Transition
Returns a human-readable string representation of this transition.
toString() - Method in class danbikel.parser.Word
Converts this Word object to a string (in S-expression format).
toString() - Method in class danbikel.switchboard.NumberedObject
Returns a string of the form (number processed objectStr), where processed is the output of String.valueOf(boolean) when passed the processed flag of this object objectStr is the result of calling the underlying object's toString method This is the format that is written by the TextObjectWriter objects created by the TextObjectWriterFactory.
toString() - Method in class danbikel.util.AbstractMapToPrimitive
Returns a string representation of this map.
toString() - Method in class danbikel.util.HashMapDouble.Entry
 
toString() - Method in class danbikel.util.HashMapInt.Entry
 
toString() - Method in class danbikel.util.HashMapPrimitive.Entry
 
toString() - Method in class danbikel.util.HashMapTwoDoubles.Entry
 
toString() - Method in class danbikel.util.HashMapTwoInts.Entry
 
toString() - Method in class danbikel.util.IntCounter
 
toString() - Method in class danbikel.util.IntPair
 
toString() - Method in class danbikel.util.Pair
Returns a human-readable string representation of this pair of objects, of the form "Pair(" + first + ", " + second + ")"
toString() - Method in class danbikel.util.SLNode
Returns a human- and Sexp-readable version of the singly-linked list headed by this node.
toString() - Method in class danbikel.util.Time
Returns a string representation of the elapsed time since the start time of this Time object, using the output of Time.elapsedTime(long).
toSymbol() - Method in class danbikel.parser.Nonterminal
Returns the symbol representing this complex nonterminal.
totalItems - Variable in class danbikel.parser.Chart
The total number of items added to this chart for a particular sentence (between calls to Chart.clear()).
totalItemsGenerated - Variable in class danbikel.parser.Chart
The total number of items generated, that is, the total number of items that a decoder attempts to add to this chart (used for debugging).
toZeroIdx - Static variable in class danbikel.parser.AnalyzeDisns
The BiCountsTable index for retrieving the Jensen-Shannon divergence from a history context (distribution) at a particular back-off level to its corresponding zeroeth back-off level (maximal context) history context.
traceTag - Variable in class danbikel.parser.lang.AbstractTraining
The symbol that gets assigned as the part of speech for null preterminals that represent traces that have undergone WH-movement, as relabeled by the default implementation of AbstractTraining.addGapInformation(Sexp).
traceTag() - Method in class danbikel.parser.lang.AbstractTraining
The symbol that gets reassigned as the part of speech for null preterminals that represent traces that have undergone WH-movement, as relabeled by the default implementation of AbstractTraining.addGapInformation(Sexp).
traceTag - Variable in class danbikel.parser.Trainer
The value of Training.traceTag().
traceTag() - Method in interface danbikel.parser.Training
The symbol that gets reassigned as the part of speech for null preterminals that represent traces that have undergone WH-movement, as relabeled by the default implementation of Training.addGapInformation(Sexp).
train(SexpTokenizer, boolean, boolean) - Method in class danbikel.parser.Trainer
Records observations from the training trees contained in the specified S-expression tokenizer.
Trainer - Class in danbikel.parser
Derives all counts necessary to compute the probabilities for this parser, including the top-level counts and all derived counts.
Trainer() - Constructor for class danbikel.parser.Trainer
Constructs a new training object, which uses values from Settings for its settings.
Trainer.EventEntry - Class in danbikel.parser
Class to represent a MapToPrimitive.Entry object for use by the Trainer.getEventIterator(danbikel.lisp.SexpTokenizer, danbikel.lisp.Symbol) method.
Trainer.EventEntry(TrainerEvent, double) - Constructor for class danbikel.parser.Trainer.EventEntry
Constructs a new EventEntry instance with the specified TrainerEvent and count.
trainerClass - Static variable in class danbikel.parser.Trainer
The class from which an instance will be constructed in Trainer.main(String[]).
TrainerEvent - Interface in danbikel.parser
An interface to allow iteration over various kinds of events used by the class Trainer.
TrainerEventToCollins - Class in danbikel.parser.util
A class to convert TrainerEvent instances to String instances of the form produced by Mike Collins’ parser.
TrainerEventToCollins() - Constructor for class danbikel.parser.util.TrainerEventToCollins
 
trainerEventToCollins(TrainerEvent) - Static method in class danbikel.parser.util.TrainerEventToCollins
 
trainerReportingInterval - Static variable in class danbikel.parser.Settings
The property to specify the interval (in number of sentences) at which the trainer emits reports to System.err when training.
trainerShareCounts - Static variable in class danbikel.parser.Settings
The property to indicate whether the trainer should share counts among various models' back-off levels.
Training - Class in danbikel.parser.arabic
Provides methods for language-specific processing of training parse trees.
Training() - Constructor for class danbikel.parser.arabic.Training
The default constructor, to be invoked by Language.
Training - Class in danbikel.parser.chinese
Provides methods for language-specific processing of Chinese training parse trees.
Training() - Constructor for class danbikel.parser.chinese.Training
The default constructor, to be invoked by Language.
Training - Class in danbikel.parser.english
Provides methods for language-specific processing of training parse trees.
Training() - Constructor for class danbikel.parser.english.Training
The default constructor, to be invoked by Language.
training() - Static method in class danbikel.parser.Language
Gets the Training object for the current language.
Training - Interface in danbikel.parser
Specifies methods for language-specific preprocessing of training parse trees.
trainingClass - Static variable in class danbikel.parser.Settings
The property to specify the fully-qualified name of the class that extends Training in a language package.
transformSubjectNTs(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Transforms nonterminals marked with a subject augmentation so that their unaugmented base label is the concatenation of the original base label plus the subject augmentation.
transformTag(Word) - Static method in class danbikel.parser.arabic.TagMap
Helper method used by Training.transformTags(Sexp).
transformTagOld(Word) - Method in class danbikel.parser.arabic.Training
Deprecated. This method is the old mechanism by which to transform the part-of-speech tag associated with an Arabic word; it has been superseded by the method TagMap.transformTag(Word).
transformTags(Sexp) - Method in class danbikel.parser.arabic.Training
Does an in-place transformation of the part-of-speech tags in the specified tree.
transition() - Method in class danbikel.parser.CountsTrio
Gets the CountsTable for transitions.
Transition - Class in danbikel.parser
Represents the transition from a particular history to a particular future, to be used when computing the conditional probability of seeing a particular future in the context of a particular history.
Transition(Event, Event) - Constructor for class danbikel.parser.Transition
Constructs this transition with the specified future and history events.
transitions - Variable in class danbikel.parser.ProbabilityStructure
A reusable Transition array to store transitions.
transitionsToPrune - Variable in class danbikel.parser.Model
A set of sets used to collect transitions that are to be pruned.
Treebank - Class in danbikel.parser.arabic
Provides data and methods specific to the structures found in the Arabic Treebank (the Penn Arabic Treebank) or any other treebank that conforms to the Penn Arabic Treebank annotation guidelines
Treebank() - Constructor for class danbikel.parser.arabic.Treebank
Constructs an Arabic Treebank object.
Treebank - Class in danbikel.parser.chinese
Provides data and methods specific to the structures found in the Chinese Treebank or any other treebank that conforms to the same annotation guidelines.
Treebank() - Constructor for class danbikel.parser.chinese.Treebank
Constructs a Chinese Treebank object.
Treebank - 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.
Treebank() - Constructor for class danbikel.parser.english.Treebank
Constructs an English Treebank object.
treebank - Variable in class danbikel.parser.lang.AbstractTraining
Holds the value of Language.treebank().
treebank() - Static method in class danbikel.parser.Language
Gets the Treebank object for the current language.
Treebank - Interface in danbikel.parser
A Treebank implementation provides data and methods specific to the structures found in a particular Treebank.
treebankClass - Static variable in class danbikel.parser.Settings
The property to specify the fully-qualified name of the class that extends Treebank in a language package.
trimToSize() - Method in class danbikel.lisp.SexpList
Causes the capacity of this list to be its size.
trimToSizeRecursive() - Method in class danbikel.lisp.SexpList
Invokes trimToSize not only on this list, but recursively invokes this method on all elements of this list, thereby trimming every list in the implicit tree of this list.
trueSym - Static variable in class danbikel.parser.Constants
A symbol constant to represent truth.
ttype - Variable in class danbikel.lisp.WordTokenizer
The type of the last token read, using the type definitions in StreamTokenizer.
typeIndex(Class) - Method in class danbikel.parser.BrokenSubcatBag
Returns 0 if the specified class is equal to Symbol.class, -1 otherwise.
typeIndex(Class) - Method in interface danbikel.parser.Event
Returns the integer constant associated with the specified event component type, or -1 if this event does not support the specified class.
typeIndex(Class) - Method in class danbikel.parser.SexpEvent
Returns 0 if the specified class is Sexp.class, -1 otherwise.
typeIndex(Class) - Method in class danbikel.parser.SexpSubcatEvent
Gets the type index associated with the specified class.
typeIndex(Class) - Method in class danbikel.parser.SubcatBag
Returns 0 if the specified class is equal to Symbol.class, -1 otherwise.
typeIndex(Class) - Method in class danbikel.parser.SubcatList
Returns 0 if the specified class is equal to Symbol.class, -1 otherwise.

U

unaryItemsToAdd - Variable in class danbikel.parser.Decoder
A temporary storage area used by Decoder.addUnaries(danbikel.parser.CKYItem, java.util.List) for storing items to be added to the chart when iterating over a cell in the chart.
unaryLevel - Variable in class danbikel.parser.EMItem
The unary production level for this item.
unaryLevel() - Method in class danbikel.parser.EMItem
Gets the unary production level of this item.
unaryLevelCounts(int, int) - Method in class danbikel.parser.EMChart
Returns an array of integers containing the number of chart items at each of the unary levels of the specified span.
unaryProductionsToNull(Sexp) - Method in class danbikel.parser.lang.AbstractTraining
Returns whether the specified subtree consists solely of unary productions going to a null element terminal.
unexportWhenDead() - Method in class danbikel.switchboard.AbstractSwitchboardUser
Unexports this object when it considers itself dead.
unknownWordSym - Static variable in class danbikel.parser.lang.AbstractWordFeatures
The unique symbol to represent unknown words.
unknownWordThreshold - Variable in class danbikel.parser.DecoderServer
The integer value of Settings.unknownWordThreshold.
unknownWordThreshold - Static variable in class danbikel.parser.Settings
The property to specify the threshold below which words are considered unknown by the trainer.
unknownWordThreshold - Variable in class danbikel.parser.Trainer
The value of the Settings.unknownWordThreshold setting.
UnlexTreeConstraint - Class in danbikel.parser.constraints
An implementation of a constraint to sit in a tree structure of constraints that represents a particular, unlexicalized tree, constraining a decoder to only pursue derivations consistent with that unlexicalized tree.
UnlexTreeConstraint(Sexp) - Constructor for class danbikel.parser.constraints.UnlexTreeConstraint
Constructs the root constraint of a tree of constraints isomorphic to the specified unlexicalized tree.
UnlexTreeConstraint() - Constructor for class danbikel.parser.constraints.UnlexTreeConstraint
Constructs an empty constraint.
UnlexTreeConstraint(UnlexTreeConstraint, Sexp, IntCounter) - Constructor for class danbikel.parser.constraints.UnlexTreeConstraint
Constructs a tree of constraints isomorphic to the specified unlexicalized syntactic tree.
UnlexTreeConstraintSet - Class in danbikel.parser.constraints
Represents a set of constraints that correspond to a specific unlexicalized parse tree, for use when the bottom-up parsing algorithm needs to generate only the analyses that are consistent with a particular unlexicalized tree.
UnlexTreeConstraintSet() - Constructor for class danbikel.parser.constraints.UnlexTreeConstraintSet
Constructs an empty set of constraints.
UnlexTreeConstraintSet(Sexp) - Constructor for class danbikel.parser.constraints.UnlexTreeConstraintSet
Constructs a constraint set derived from the specified unlexicalized syntactic tree.
UnlexTreeConstraintSetFactory - Class in danbikel.parser.constraints
Factory to produce UnlexTreeConstraintSet objects.
UnlexTreeConstraintSetFactory() - Constructor for class danbikel.parser.constraints.UnlexTreeConstraintSetFactory
Returns a new factory for UnlexTreeConstraintSet objects.
UnrecognizedClientException - Exception in danbikel.switchboard
An exception raised when a switchboard method with a client ID parameter is called with an invalid client ID.
UnrecognizedClientException() - Constructor for exception danbikel.switchboard.UnrecognizedClientException
Constructs a new UnrecognizedClientException.
UnrecognizedClientException(String) - Constructor for exception danbikel.switchboard.UnrecognizedClientException
Constructs a new UnrecognizedClientException with the specified message.
UnrecognizedClientException(String, Throwable) - Constructor for exception danbikel.switchboard.UnrecognizedClientException
Constructs a new UnrecognizedClientException with the specified message and nested exception.
UnrecognizedServerException - Exception in danbikel.switchboard
An exception raised when a switchboard method that has a server ID parameter is called with an invalid server ID.
UnrecognizedServerException() - Constructor for exception danbikel.switchboard.UnrecognizedServerException
Constructs a new UnrecognizedServerException.
UnrecognizedServerException(String) - Constructor for exception danbikel.switchboard.UnrecognizedServerException
Constructs a new UnrecognizedServerException with the specified message.
UnrecognizedServerException(String, Throwable) - Constructor for exception danbikel.switchboard.UnrecognizedServerException
Constructs a new UnrecognizedServerException with the specified message and nested exception.
unrepairBaseNPs(Sexp) - Method in class danbikel.parser.chinese.Training
A method to un-do the transformation provided by AbstractTraining.repairBaseNPs(Sexp) (for inclusion in an overridden definition of AbstractTraining.postProcess(Sexp), but currently unused by this class).
unrepairBaseNPs(Sexp) - Method in class danbikel.parser.english.BrokenTraining
De-transforms NPs that were transformed by the Training.repairBaseNPs(Sexp) method.
unrepairBaseNPs(Sexp) - Method in class danbikel.parser.english.Training
Attempts to un-do the transformation performed by AbstractTraining.repairBaseNPs(Sexp), in which sentential nodes that occur to the right of the head child of a base NP are moved to become immediate right siblings of the base NP; accordingly, this method moves all such sentential nodes that occur immediately to the right of a base NP to be the rightmost child under that base NP.
update(Map<String, String>) - Method in class danbikel.parser.Decoder
 
update(Map<String, String>) - Method in class danbikel.parser.DecoderServer
 
update(Map<String, String>) - Method in class danbikel.parser.Parser
 
update(Map<String, String>) - Method in interface danbikel.parser.Settings.Change
Invoked by this class to notify the requesting class that one or more settings have changed.
usage() - Static method in class danbikel.parser.util.KeepNodes
 
usageMsg - Static variable in class danbikel.parser.Trainer
The usage for the main method of this class.
useCache - Static variable in class danbikel.parser.Model
A constant that indicates whether this Model should perform probability caching.
useCommaConstraint - Variable in class danbikel.parser.Decoder
The boolean value of Settings.decoderUseCommaConstraint.
useCountThreshold() - Method in class danbikel.parser.EventCountsConsumer
Indicates to use the count threshold specified by Settings.countThreshold, which means that events below that threshold will be removed.
useHeadToParentMap - Variable in class danbikel.parser.Decoder
The boolean value of the Settings.decoderUseHeadToParentMap setting.
useLowFreqTags - Variable in class danbikel.parser.Decoder
The boolean value of the Settings.useLowFreqTags setting.
useLowFreqTags - Static variable in class danbikel.parser.Settings
The property to specify whether to use tags collected from low-frequency words by the trainer when seeding the chart, if the current word is a low-frequency word observed when training.
useOnlySuppliedTags - Variable in class danbikel.parser.Decoder
The boolean value of the Settings.decoderUseOnlySuppliedTags setting.
useRand - Variable in class danbikel.parser.lang.AbstractHeadFinder
Set to true if AbstractHeadFinder.probRandom is greater than 0.0; otherwise, set to false.
useSimpleModNonterminalMap - Variable in class danbikel.parser.Decoder
The boolean value of the Settings.useSimpleModNonterminalMap setting.
useSimpleModNonterminalMap - Static variable in class danbikel.parser.Settings
The property to specify whether the decoder uses ModelCollection.simpleModNonterminalMap.
useSmoothingParameters() - Method in class danbikel.parser.ProbabilityStructure
Indicates whether this probability structure's associated Model object should use the smoothing parameters contained in the file ProbabilityStructure.smoothingParametersFile() when deriving counts and precomputing probabilities.
useSmoothingParams - Variable in class danbikel.parser.Model
The boolean value of the Settings.useSmoothingParams setting.
useSmoothingParams - Static variable in class danbikel.parser.Settings
Indicates whether instances of Model should use smoothing parameters saved to a file from a previous training run, instead of deriving smoothing parameters.
useUnderscoresProperty - Static variable in class danbikel.parser.chinese.WordFeatures
The property obtained from the Settings class to indicate whether or not to consider underscores when creating the feature vector.
useUnderscoresProperty - Static variable in class danbikel.parser.english.WordFeatures
The property obtained from the Settings class to indicate whether or not to consider underscores when creating the feature vector.
Util - Class in danbikel.parser.util
Contains basic utility functions for Sexp objects that represent parse trees.

V

validate() - Method in class danbikel.switchboard.Failover
 
validate() - Method in class danbikel.util.proxy.Reconnect
Ensures that the server stub on which remote methods will be executed is valid, getting a server instance from the rmiregistry if there was a previous method failure on the stub.
validRequirement(Symbol) - Method in class danbikel.parser.BrokenSubcatBag
A method to check if the specified requirement is valid.
validRequirement(Symbol) - Method in class danbikel.parser.SubcatBag
A method to check if the specified requirement is valid.
validRequirement(Symbol) - Method in class danbikel.parser.SubcatList
A method to check if the specified requirement is valid.
valueOf(Object) - Static method in class danbikel.parser.SymbolicCollectionWriter
If the specified object is not an instance of a Sexp object but is an instance of a SexpConvertible object, then the value returned is the string representation of ((SexpConvertible)obj).toSexp(); otherwise, the value returned is that returned by String.valueOf(obj).
verb(boolean) - Method in class danbikel.parser.CKYItem
Returns whether a verb has been generated anywhere in the surface string on the specified side of this item's head child.
verbIntervening() - Method in class danbikel.parser.ModifierEvent
Returns whether a verb has been generated in any of the subtrees generated between the current modifier and the head child.
verbose - Variable in class danbikel.parser.Model
Indicates whether to report to stderr what this class is doing.
verbose - Static variable in class danbikel.parser.ModelCollection
Indicates whether to output verbose messages to System.err.
verbPatterns - Static variable in class danbikel.parser.arabic.Training
The match patterns used when Training.regularizeVerbs is true.
version - Static variable in class danbikel.parser.Settings
The official version of this program.
vocabCounter - Variable in class danbikel.parser.ModelCollection
A table that maps observed words to their counts in the training corpus.
vocabCounter() - Method in class danbikel.parser.ModelCollection
Returns a mapping from Symbol objects representing words to their count in the training data.
vocabCounter - Variable in class danbikel.parser.Trainer
A table for storing counts of vocabulary items.
vocabSym - Static variable in class danbikel.parser.Trainer
The label for vocabulary counts.
vpArg - Static variable in class danbikel.parser.util.TrainerEventToCollins
 

W

waitUntilAllFilesAreDone() - Method in class danbikel.switchboard.Switchboard
 
warnDefaultRule - Variable in class danbikel.parser.lang.AbstractHeadFinder
The value of Settings.headFinderWarnDefaultRule, cached here for readability and convenience.
warnSmoothingHasHistoryNotInTraining - Static variable in class danbikel.parser.Model
The value of this constant determines whether Model.estimateProb(ProbabilityStructure,TrainerEvent) emits a warning when it encounters a history for which there is a saved smoothing parameter but was not an observed history as far as the current model is concerned.
Word - Class in danbikel.parser
A Word object is a structured representation of a word.
Word() - Constructor for class danbikel.parser.Word
Constructs a new instance with null for all data members.
Word(Symbol, Symbol) - Constructor for class danbikel.parser.Word
Creates a new Word object with the specified word and part of speech.
Word(Symbol, Symbol, Symbol) - Constructor for class danbikel.parser.Word
Creates a new Word object with the specified word, part of speech and word-feature vector.
Word(Sexp) - Constructor for class danbikel.parser.Word
Constructs a word using the symbols contained in the specified S-expression, which must be a list of at least two symbols.
word - Variable in class danbikel.parser.Word
The word itself.
word() - Method in class danbikel.parser.Word
Returns the word itself of this Word object.
WordFactory - Interface in danbikel.parser
Specifies methods for constructing Word objects.
wordFactoryClass - Static variable in class danbikel.parser.Settings
The property to specify the fully-qualified classname of the WordFactory object to be used by the Words static factory class.
wordFeatureCounter - Variable in class danbikel.parser.ModelCollection
A table that maps observed word-feature vectors to their counts in the training corpus.
wordFeatureCounter() - Method in class danbikel.parser.ModelCollection
Returns a mapping from Symbol objects that are word features to their count in the training data.
wordFeatureCounter - Variable in class danbikel.parser.Trainer
A table for storing counts of word feature–vectors.
WordFeatures - Class in danbikel.parser.chinese
WordFeatures are orthographic and morphological features of words.
WordFeatures() - Constructor for class danbikel.parser.chinese.WordFeatures
 
WordFeatures - Class in danbikel.parser.english
WordFeatures are orthographic and morphological features of words.
WordFeatures() - Constructor for class danbikel.parser.english.WordFeatures
Constructs a new instance of this class for deterministically mapping English words to word-feature vectors.
wordFeatures() - Static method in class danbikel.parser.Language
Gets the WordFeatures object for the current language.
wordFeatures - Variable in class danbikel.parser.Trainer
A handle onto static WordFeatures object contained static inside Language.
WordFeatures - Interface in danbikel.parser
Specifies the methods for getting a word's features in vector form, as represented by the print-name of a symbol.
wordFeaturesClass - Static variable in class danbikel.parser.Settings
The property to specify the fully-qualified name of the class that extends WordFeatures in a language package.
wordFeatureSym - Static variable in class danbikel.parser.Trainer
The label for word feature (unknown vocabulary) counts.
WordList - Interface in danbikel.parser
An interface to specify a fixed-size list of Word objects.
WordListFactory - Class in danbikel.parser
Provides methods to create new WordList objects.
Words - Class in danbikel.parser
Provides static methods to create Word instances via an internal WordFactory instance.
wordSet - Variable in class danbikel.parser.Decoder
A reusable set for storing Word objects, used when seeding the chart in Decoder.initialize(danbikel.lisp.SexpList).
wordsToPrune - Variable in class danbikel.parser.lang.AbstractTraining
Data member to store the set of words to prune for the default implementation of AbstractTraining.prune(Sexp).
wordTagList(Sexp) - Method in class danbikel.parser.Parser
Returns whether the specified S-expression is a list of length two whose first element is a symbol and whose second element is a list of one or more symbols.
WordTokenizer - Class in danbikel.lisp
A simple tokenizer for words only (no numbers and no significant eol chars).
WordTokenizer(Reader) - Constructor for class danbikel.lisp.WordTokenizer
Creates a new tokenizer object.
wrapCachingServer() - Method in class danbikel.parser.Decoder
Wraps the normal DecoderServerRemote instance in a caching version.
writeCanonicalEvents - Static variable in class danbikel.parser.Settings
The property to specify whether or not the ModelCollection class should write out the large hash map containing canonical versions of Event objects when it is serialized (that is, saved to a file).
writeExternal(ObjectOutput) - Method in class danbikel.lisp.IntSymbol
Writes this object to an ObjectOutput instance.
writeExternal(ObjectOutput) - Method in class danbikel.lisp.Sexp
Writes this Sexp object from the specified object stream (to be implemented by all concrete subclasses).
writeExternal(ObjectOutput) - Method in class danbikel.lisp.SexpList
Writes this object to an ObjectOutput instance.
writeExternal(ObjectOutput) - Method in class danbikel.lisp.StringSymbol
Writes this object to an ObjectOutput instance.
writeExternal(ObjectOutput) - Method in class danbikel.parser.BrokenSubcatBag
 
writeExternal(ObjectOutput) - Method in class danbikel.parser.SexpEvent
Writes a representation of this object to the specified object output stream.
writeExternal(ObjectOutput) - Method in class danbikel.parser.SexpSubcatEvent
 
writeExternal(ObjectOutput) - Method in class danbikel.parser.SubcatBag
Writes this object to the specified output stream.
writeExternal(ObjectOutput) - Method in class danbikel.parser.SubcatList
 
writeExternal(ObjectOutput) - Method in class danbikel.util.HashMapPrimitive.Entry
 
writeExternal(ObjectOutput) - Method in class danbikel.util.IntPair
 
writeKLDistStats(Model) - Static method in class danbikel.parser.AnalyzeDisns
Creates two files named after the probability structure of the specified model, and writes Kullback-Leibler divergences (relative entropies) between the zeroeth-level back-off distributions and the other back-off distributions to one file and writes Jensen-Shannon divergences between zeroeth-level back-off distributions and the other back-off distributions to the other file.
writeMap(Map, Symbol, Writer) - Static method in class danbikel.parser.SymbolicCollectionWriter
Writes out the contents of map in an S-expression format.
writeMap(Map, Writer) - Static method in class danbikel.parser.SymbolicCollectionWriter
An alias for writeMap(map, null, writer).
writeModelCollection(String, String, String) - Method in class danbikel.parser.Trainer
Writes the internal ModelCollection object to the specified output file, writing a header containing the names of the training input file and training output file.
writeModelCollection(ObjectOutputStream, String, String) - Method in class danbikel.parser.Trainer
Writes the internal ModelCollection object to the specified output stream, writing a header containing the names of the training input file and training output file.
writeModelStats(Model) - Static method in class danbikel.parser.AnalyzeDisns
Creates a file named after the probability structure class of the specified model and writes information about every distribution contained in that model.
writeObject(Object) - Method in class danbikel.parser.EventCountsWriter
Writes the specified object to the file or output stream associated with this EventCountsWriter.
writeObject(Object) - Method in interface danbikel.switchboard.ObjectWriter
Writes the specified object to the underlying stream or Writer.
writeObject(Object) - Method in class danbikel.switchboard.TextObjectWriter
Writes the string representation of the specified object (as determined by its toString method) followed by a newline to the underlying Writer and flushes the stream.
writeSet(Set, Symbol, Writer) - Static method in class danbikel.parser.SymbolicCollectionWriter
Writes out the contents of the specified set in an S-expression format.
writeSet(Set, Symbol, Writer, String) - Static method in class danbikel.parser.SymbolicCollectionWriter
Writes out the contents of the specified set in an S-expression format.
writeSet(Set, Writer) - Static method in class danbikel.parser.SymbolicCollectionWriter
Writes the specified set to the specified writer (with no header).
writeSmoothingParams() - Method in class danbikel.parser.Model
Writes the smoothing parameters of this model to the file named by Model.smoothingParamsFile.
writeSmoothingParams(boolean) - Method in class danbikel.parser.Model
Writes the smoothing parameters of this model to the file named by Model.smoothingParamsFile.
writeStats(File) - Method in class danbikel.parser.Trainer
Writes the statistics and mappings collected by Trainer.train(SexpTokenizer,boolean,boolean) to a human-readable text file, by constructing a Writer around a stream around the specified file and calling Trainer.writeStats(Writer).
writeStats(Writer) - Method in class danbikel.parser.Trainer
Writes the statistics and mappings collected by Trainer.train(SexpTokenizer,boolean,boolean) to a human-readable text file.
writeStatsHook(Writer) - Method in class danbikel.parser.Trainer
A hook for subclasses to write out any additional top-level events, or top-level events of a different, newly-defined type.
writeValues(ObjectOutput) - Method in class danbikel.util.HashMapDouble.Entry
 
writeValues(ObjectOutput) - Method in class danbikel.util.HashMapInt.Entry
 
writeValues(ObjectOutput) - Method in class danbikel.util.HashMapPrimitive.Entry
 
writeValues(ObjectOutput) - Method in class danbikel.util.HashMapTwoDoubles.Entry
 
writeValues(ObjectOutput) - Method in class danbikel.util.HashMapTwoInts.Entry
 

Z

zeroSubcatArr - Static variable in class danbikel.parser.Decoder
An array of Subcat of length zero.

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

Author: Dan Bikel.