See: Description
Interface | Description |
---|---|
BijectiveFunction<T1,T2> |
A
Function that is invertible, and so has the unapply method. |
CoreMap |
Base type for all annotatable core objects.
|
DisjointSet<T> |
Disjoint set interface.
|
Factory<T> |
A generified factory class which creates instances of a particular type.
|
FileProcessor |
Interface for a Visitor pattern for Files.
|
FuzzyInterval.FuzzyComparable<T> |
Interface with a looser ordering than Comparable.
|
HasInterval<E extends java.lang.Comparable<E>> |
HasInterval interface
|
Heap<E> |
Heap interface.
|
Index<E> |
A collection that maps between a vocabulary of type E and a
continuous non-negative integer index series beginning (inclusively) at 0.
|
Iterables.IncrementComparator<V1,V2> |
A comparator used by the merge functions to determine which of two
iterators to increment by one of the merge functions.
|
PriorityQueue<E> |
A Set that also represents an ordering of its elements, and responds
quickly to
add() , changePriority() ,
removeFirst() , and getFirst() method calls. |
Scored |
Scored: This is a simple interface that says that an object can answer
requests for the score, or goodness of the object.
|
TypesafeMap |
Type signature for a class that supports the basic operations required
of a typesafe heterogeneous map.
|
TypesafeMap.Key<VALUE> |
Base type of keys for the map.
|
Class | Description |
---|---|
AbstractIterator<E> |
Iterator with
remove() defined to throw an
UnsupportedOperationException . |
AcronymMatcher |
A simple class with a variety of acronym matching utilities.
|
ArgumentParser |
A class to set command line options.
|
ArrayCoreMap |
Base implementation of
CoreMap backed by two Java arrays. |
ArrayHeap<E> |
Implements a heap as an ArrayList.
|
ArrayMap<K,V> |
Map backed by an Array.
|
ArraySet<E> |
An array-backed set.
|
ArrayStringFilter |
Filters Strings based on whether they exactly match any string in
the array it is initially constructed with.
|
ArrayUtils |
Static utility methods for operating on arrays.
|
Beam<T> |
Implements a finite beam, taking a comparator (default is
ScoredComparator.ASCENDING_COMPARATOR, the MAX object according to
the comparator is the one to be removed) and a beam size on
construction (default is 100).
|
BinaryHeapPriorityQueue<E> |
PriorityQueue with explicit double priority values.
|
BoundedPriorityQueue<E> |
A priority queue that has a fixed bounded size.
|
ByteStreamGobbler |
Stream Gobbler that read and write bytes
(can be used to gobble byte based stdout from a process.exec into a file)
|
CacheMap<K,V> |
A fixed size hash map with LRU replacement.
|
CallbackFunction |
A callback function (along the lines of Berkeley optimization repo), which is currently used in the optimization package.
|
Characters |
Character-level utilities.
|
CollectionFactory<T> |
Factory for vending Collections.
|
CollectionFactory.ArrayListFactory<T> | |
CollectionFactory.HashSetFactory<T> | |
CollectionFactory.LinkedListFactory<T> | |
CollectionFactory.SizedArrayListFactory<T> | |
CollectionFactory.TreeSetFactory<T> | |
CollectionUtils |
Collection of useful static methods for working with Collections.
|
CollectionValuedMap<K,V> |
Map from keys to
Collection s. |
CommandLineTokenizer |
A utility class to parse a command line contained in a single String into
an array of argument tokens, much as the JVM (or more accurately, your
operating system) does before calling your programs'
public static
void main(String[] args)
methods. |
Comparators | |
ConcatenationIterator<T> |
Iterator that represents the concatenation of two other iterators.
|
ConfusionMatrix<U> |
This implements a confusion table over arbitrary types of class labels.
|
ConvertByteArray |
This is used to convert an array of double into byte array which makes it possible to keep it more efficiently.
|
CoreMaps |
Utility functions for working with
CoreMap 's. |
DataFilePaths |
Simple utility class: reads the environment variable in
ENV_VARIABLE and provides a method that converts strings which
start with that environment variable to file paths.
|
DeltaCollectionValuedMap<K,V> |
Implementation of CollectionValuedMap that appears to store an "original"
map and changes to that map.
|
DeltaIndex<E> |
A class that has a backing index, such as a hash index you don't
want changed, and another index which will hold extra entries that
get added during the life of the index.
|
DeltaMap<K,V> |
A Map which wraps an original Map, and only stores the changes (deltas) from
the original Map.
|
DisabledPreferences |
A do-nothing Preferences implementation so that we can avoid the hassles
of the JVM Preference implementations.
|
DisabledPreferencesFactory |
Returns do-nothing Preferences implementation.
|
EditDistance |
Find the (Levenshtein) edit distance between two Strings or Character
arrays.
|
ErasureUtils |
Class to gather unsafe operations into one place.
|
FastDisjointSet<T> |
Disjoint forest with path compression and union-by-rank.
|
FilePathProcessor |
The
FilePathProcessor traverses a directory structure and
applies the processFile method to files meeting some
criterion. |
FilteredIterator<T> |
Iterator that suppresses items in another iterator based on a filter function.
|
Filters |
Static class with some useful
Predicate implementations and utility methods for working
with Predicates . |
Filters.ConjFilter<T> |
Conjunction of a list of filters.
|
Filters.DisjFilter<T> |
Disjunction of a list of filters.
|
Filters.RandomFilter<E> |
A filter that accepts a random fraction of the input it sees.
|
FiveDimensionalMap<K1,K2,K3,K4,K5,V> | |
FixedPrioritiesPriorityQueue<E> |
A priority queue based on a binary heap.
|
FourDimensionalMap<K1,K2,K3,K4,V> | |
Functions |
Utility code for
Function . |
FuzzyInterval<E extends FuzzyInterval.FuzzyComparable<E>> |
A FuzzyInterval is an extension of Interval where not all endpoints are always
specified or comparable.
|
Generics |
A collection of utilities to make dealing with Java generics less
painful and verbose.
|
GoogleNGramsSQLBacked |
To query Google Ngrams counts from SQL in a memory efficient manner.
|
HashableCoreMap |
An extension of
ArrayCoreMap with an immutable set of key,value
pairs that is used for equality and hashcode comparisons. |
HashIndex<E> |
Implements an Index that supports constant-time lookup in
both directions (via
get(int) and indexOf(E) . |
IdentityHashSet<E> |
This class provides a
IdentityHashMap -backed
implementation of the Set interface. |
IntArray |
Simple wrapper around an array of int, which overrides hashCode() and equals()
of Object.
|
Interner<T> |
For interning (canonicalizing) things.
|
Interval<E extends java.lang.Comparable<E>> |
Represents a interval of a generic type E that is comparable.
|
IntervalTree<E extends java.lang.Comparable<E>,T extends HasInterval<E>> |
An interval tree maintains a tree so that all intervals to the left start
before current interval and all intervals to the right start after.
|
IntervalTree.TreeNode<E extends java.lang.Comparable<E>,T extends HasInterval<E>> | |
IntPair | |
IntQuadruple | |
IntTriple | |
IntTuple |
A tuple of int.
|
IntUni |
Just a single integer
|
IterableIterator<E> |
This cures a pet peeve of mine: that you can't use an Iterator directly in
Java 5's foreach construct.
|
Iterables |
Utilities for helping out with Iterables as Collections is to Collection.
|
Lazy<E> |
An instantiation of a lazy object.
|
LeastRecentlyUsedCache<K,V> |
LRU cache for whatever.
|
LuceneFieldType |
An easy way to access types of fields instead of setting variables up every time.
|
MapFactory<K,V> |
A factory class for vending different sorts of Maps.
|
MapList<U,V> |
This implements a map to a set of lists.
|
Maps |
Utilities for Maps, including inverting, composing, and support for list/set values.
|
MaxSizeConcurrentHashSet<E> |
A hash set supporting full concurrency of retrievals and
high expected concurrency for updates but with an (adjustable) maximum size.
|
MemoryMonitor |
Utilities for monitoring memory use, including peak memory use.
|
MemoryMonitor.PeakMemoryMonitor |
This class offers a simple way to track the peak memory used by a program.
|
MetaClass |
A meta class using Java's reflection library.
|
MetaClass.ClassFactory<T> | |
MutableDouble |
A class for Double objects that you can change.
|
MutableInteger |
A class for Integer objects that you can change.
|
MutableLong |
A class for Long objects that you can change.
|
OneToOneMap<L,R> |
One to one map that allows to get a value for a key and a key for a value in O(1).
|
PaddedList<E> |
A PaddedList wraps another list, presenting an apparently infinite
list by padding outside the real confines of the list with a default
value.
|
Pair<T1,T2> |
Pair is a Class for holding mutable pairs of objects.
|
Pair.ByFirstPairComparator<T1,T2> |
Compares a
Pair to another Pair according to the first object of the pair only
This function will work providing the first element of the Pair is comparable,
otherwise will throw a ClassCastException . |
Pair.ByFirstReversePairComparator<T1,T2> |
Compares a
Pair to another Pair according to the first object of the pair only in decreasing order
This function will work providing
the first element of the Pair is comparable, otherwise will throw a ClassCastException |
Pair.BySecondPairComparator<T1,T2> |
Compares a
Pair to another Pair according to the second object of the pair only
This function will work providing
the first element of the Pair is comparable, otherwise will throw a ClassCastException |
Pair.BySecondReversePairComparator<T1,T2> |
Compares a
Pair to another Pair according to the second object of the pair only in decreasing order
This function will work providing
the first element of the Pair is comparable, otherwise will throw a ClassCastException |
Pointer<T> |
A pointer to an object, to get around not being able to access non-final
variables within an anonymous function.
|
ProcessProtobufRequest | |
PropertiesUtils |
Utilities methods for standard (but woeful) Java Properties objects.
|
PropertiesUtils.Property | |
Quadruple<T1,T2,T3,T4> |
A quadruple of ordered objects.
|
Quintuple<T1,T2,T3,T4,T5> |
A quintuple (length five) of ordered objects.
|
ReflectionLoading |
The goal of this class is to make it easier to load stuff by
reflection.
|
RegexStringFilter |
Filters Strings based on whether they match a given regex.
|
ScoredComparator |
ScoredComparator allows one to compare Scored things.
|
ScoredObject<T> |
Wrapper class for holding a scored object.
|
Sets |
Utilities for sets.
|
StreamGobbler |
Reads the output of a process started by Process.exec()
Adapted from:
http://www.velocityreviews.com/forums/t130884-process-runtimeexec-causes-subprocess-hang.html
|
StringParsingTask<E> |
An instantiation of this abstract class parses a
String and
returns an object of type E . |
StringUtils |
StringUtils is a class for random String things, including output formatting and command line argument parsing.
|
SystemUtils |
Useful methods for running shell commands, getting the process ID, checking
memory usage, etc.
|
SystemUtils.ProcessOutputStream |
Helper class that acts as a output stream to a process
|
ThreeDimensionalCollectionValuedMap<K1,K2,K3,V> |
A class which can store mappings from Object keys to
Collection s of Object values. |
ThreeDimensionalMap<K1,K2,K3,V> | |
Timing |
A class for measuring how long things take.
|
TreeShapedStack<T> |
Represents a stack where one prefix of the stack can branch in
several directions.
|
Trilean |
A boolean, but for three-valued logics (true / false / unknown).
|
Triple<T1,T2,T3> |
Class representing an ordered triple of objects, possibly typed.
|
TwoDimensionalCollectionValuedMap<K1,K2,V> |
A class which can store mappings from Object keys to
Collection s of Object values. |
TwoDimensionalMap<K1,K2,V> | |
TwoDimensionalMap.Entry<K1,K2,V> |
This inner class represents a single entry in the TwoDimensionalMap.
|
TwoDimensionalSet<K1,K2> |
Wrap a TwoDimensionalMap as a TwoDimensionalSet.
|
UnorderedPair<T1,T2> |
Holds an unordered pair of objects.
|
UTF8EquivalenceFunction |
A word function that can be applied to Chinese text in the tagger
or similar systems to make it treat ( and ( the same.
|
ValuedInterval<T,E extends java.lang.Comparable<E>> |
Interval with value
|
XMLUtils |
Provides some utilities for dealing with XML files, both by properly
parsing them and by using the methods of a desperate Perl hacker.
|
XMLUtils.XMLTag |
Enum | Description |
---|---|
ArrayStringFilter.Mode | |
Interval.RelType |
RelType gives the basic types of relations between two intervals
|
Exception | Description |
---|---|
HashableCoreMap.HashableCoreMapException |
An exception thrown when attempting to change the value associated
with an (immutable) hash key in a HashableCoreMap.
|
MetaClass.ClassCreationException | |
MetaClass.ConstructorNotFoundException | |
OneToOneMap.OneToOneMapException | |
ReflectionLoading.ReflectionLoadingException |
This class encapsulates all of the exceptions that can be thrown
when loading something by reflection.
|
RuntimeClassNotFoundException |
An unchecked version of
ClassNotFoundException . |
RuntimeInterruptedException |
An unchecked version of
InterruptedException . |
StringParsingTask.ParserException | |
SystemUtils.ProcessException |
Runtime exception thrown by execute.
|
Annotation Type | Description |
---|---|
ArgumentParser.Option |
Filters
: Defines general useful Predicate
and utility functions for dealing with predicates.Index
: List that also maintains a constant-time reverse-lookup of indices for its
Objects.StringUtils
: Static class with lots of useful String manipulation and formatting
methods.Timing
: Static class for measuring how long something takes to execute.Other packages with some useful utilities
edu.stanford.nlp.io
edu.stanford.nlp.process
edu.stanford.nlp.stats
edu.stanford.nlp.swing
edu.stanford.nlp.web