Interface | Description |
---|---|
ConstituentFactory |
A
ConstituentFactory is a factory for creating objects
of class Constituent , or some descendent class. |
CopulaHeadFinder |
A mix-in interface for HeadFinders which support the
makesCopulaHead method, which says how the HeadFinder in question
handles "to be" verbs.
|
Dependency<G extends Label,D extends Label,N> |
An individual dependency between a governor and a dependent.
|
DependencyFactory |
A factory for dependencies of a certain type.
|
DependencyPrinter | |
DependencyReader | |
DependencyTyper<T> |
A generified interface for making some kind of dependency object
between a head and dependent.
|
GrammaticalStructureFactory |
A general factory for
GrammaticalStructure objects. |
GrammaticalStructureFromDependenciesFactory |
An interface for a factory that builds a GrammaticalStructure from
a list of TypedDependencies and a TreeGraphNode.
|
HasParent |
Only to be implemented by Tree subclasses that actualy keep their
parent pointers.
|
HeadFinder |
An interface for finding the "head" daughter of a phrase structure tree.
|
Labeled |
Interface for Objects which have a
Label . |
TreebankFactory |
An interface for treebank vendors.
|
TreebankLanguagePack |
This interface specifies language/treebank specific information for a
Treebank, which a parser or other treebank user might need to know.
|
TreebankTransformer | |
TreeFactory |
A
TreeFactory acts as a factory for creating objects of
class Tree , or some descendant class. |
TreeReader |
A
TreeReader adds functionality to another Reader
by reading in Trees, or some descendant class. |
TreeReaderFactory |
A
TreeReaderFactory is a factory for creating objects of
class TreeReader , or some descendant class. |
TreeTransformer |
This is a simple interface for a function that alters a
local
Tree . |
TreeVisitor |
This is a simple strategy-type interface for operations that are applied to
Tree . |
WordNetConnection |
Allows us to verify that a wordnet connection is available without compile
time errors if the package is not found.
|
Class | Description |
---|---|
AbstractCollinsHeadFinder |
A base class for a HeadFinder similar to the one described in
Michael Collins' 1999 thesis.
|
AbstractTreebankLanguagePack |
This provides an implementation of parts of the TreebankLanguagePack
API to reduce the load on fresh implementations.
|
BasicCategoryTreeTransformer |
Transforms trees by turning the labels into their basic categories
according to the
TreebankLanguagePack |
BobChrisTreeNormalizer |
Normalizes trees in the way used in Manning and Carpenter 1997.
|
BobChrisTreeNormalizer.AOverAFilter | |
BobChrisTreeNormalizer.EmptyFilter | |
CollinsHeadFinder |
Implements the HeadFinder found in Michael Collins' 1999 thesis.
|
CollocationFinder |
Finds WordNet collocations in parse trees.
|
CompositeTreebank | |
CompositeTreeTransformer |
A TreeTransformer that applies component TreeTransformers in order.
|
Constituent |
A
Constituent object defines a generic edge in a graph. |
CoordinationTransformer |
Coordination transformer transforms a PennTreebank tree containing
a coordination in a flat structure in order to get the dependencies
right.
|
DateTreeTransformer |
Flattens the following two structures:
(NP (NP (NNP Month) (CD Day) ) (, ,) (NP (CD Year) )) becomes (NP (NNP Month) (CD Day) (, ,) (CD Year) ) (NP (NP (NNP Month) ) (NP (CD Year) )) becomes (NP (NNP Month) (CD Year)) |
DeepTree |
A tree combined with a map from subtree to SimpleMatrix vectors.
|
Dependencies |
Utilities for Dependency objects.
|
Dependencies.DependentPuncTagRejectFilter<G extends Label,D extends Label,N> | |
Dependencies.DependentPuncWordRejectFilter<G extends Label,D extends Label,N> | |
DependencyTreeTransformer |
Transforms an English structure parse tree in order to get the dependencies right:
-- put a ROOT node -- remove NONE nodes -- retain only NP-TMP, NP-ADV, UCP-TMP tags The UCP- tags will later be turned into NP- anyway (Note [cdm]: A lot of this overlaps other existing functionality in trees. |
DiskTreebank |
A
DiskTreebank is a Collection of
Tree s. |
EnglishGrammaticalRelations |
EnglishGrammaticalRelations is a
set of GrammaticalRelation objects for the English language. |
EnglishGrammaticalStructure |
A GrammaticalStructure for English.
|
EnglishGrammaticalStructure.FromDependenciesFactory | |
EnglishGrammaticalStructureFactory | |
EnglishPatterns |
This class contains some English String or Tregex regular expression
patterns.
|
EnglishPTBTreebankCorrector | |
FilteringTreebank |
This class wraps another Treebank, and will vend trees that passed
a Filter
|
FilteringTreeReader |
A
FilteringTreeReader filters the output of another TreeReader. |
GrammaticalFunctionTreeNormalizer |
Tree normalizer for cleaning up labels and preserving the whole node label,
the grammatical function and category information from the label, or only
the category information.
|
GrammaticalRelation |
GrammaticalRelation is used to define a
standardized, hierarchical set of grammatical relations,
together with patterns for identifying them in
parse trees. |
GrammaticalStructure |
A
GrammaticalStructure stores dependency relations between
nodes in a tree. |
LabeledConstituent |
A
LabeledConstituent object represents a single bracketing in
a derivation, including start and end points and Label
information, but excluding probabilistic information. |
LabeledScoredConstituent |
A
LabeledScoredConstituent object defines an edge in a graph
with a label and a score. |
LabeledScoredConstituentFactory |
A
LabeledScoredConstituentFactory acts as a factory for
creating objects of class LabeledScoredConstituent . |
LabeledScoredTreeFactory |
A
LabeledScoredTreeFactory acts as a factory for creating
trees with labels and scores. |
LabeledScoredTreeNode |
A
LabeledScoredTreeNode represents a tree composed of a root
label, a score,
and an array of daughter parse trees. |
LabeledScoredTreeReaderFactory |
This class implements a
TreeReaderFactory that produces
labeled, scored array-based Trees, which have been cleaned up to
delete empties, etc. |
LeftHeadFinder |
HeadFinder that always returns the leftmost daughter as head.
|
LengthTreeFilter |
Only accept trees that are short enough (less than or equal to length).
|
MemoryTreebank |
A
MemoryTreebank object stores a corpus of examples with
given tree structures in memory (as a List ). |
ModCollinsHeadFinder |
Implements a variant on the HeadFinder found in Michael Collins' 1999
thesis.
|
NamedDependency |
An individual dependency between a head and a dependent.
|
NPTmpRetainingTreeNormalizer |
Same TreeNormalizer as BobChrisTreeNormalizer, but optionally provides
four extras.
|
NPTmpRetainingTreeNormalizer.NPTmpAdvRetainingTreeReaderFactory |
Implementation of TreeReaderFactory, mainly for convenience of
constructing by reflection.
|
NPTmpRetainingTreeNormalizer.NPTmpRetainingTreeReaderFactory |
Implementation of TreeReaderFactory, mainly for convenience of
constructing by reflection.
|
OrderedCombinationTreeNormalizer |
This class combines multiple tree normalizers.
|
PennTreebankLanguagePack |
Specifies the treebank/language specific components needed for
parsing the English Penn Treebank.
|
PennTreebankTokenizer |
Builds a tokenizer for English PennTreebank (release 2) trees.
|
PennTreeReader |
This class implements the
TreeReader interface to read Penn Treebank-style
files. |
PennTreeReaderFactory |
Vends
PennTreeReader objects. |
QPTreeTransformer |
Transforms an English structure parse tree in order to get the dependencies right:
Adds an extra structure in QP phrases:
(QP (RB well) (IN over) (CD 9)) becomes (QP (XS (RB well) (IN over)) (CD 9)) (QP (...) (CC ...) (...)) becomes (QP (NP ...) (CC ...) (NP ...)) |
RecursiveTreeTransformer |
A tool to recursively alter a tree in various ways.
|
SemanticHeadFinder |
Implements a 'semantic head' variant of the the HeadFinder found
in Michael Collins' 1999 thesis.
|
SimpleConstituent |
A
SimpleConstituent object defines a generic edge in a graph. |
SimpleConstituentFactory |
A
ConstituentFactory acts as a factory for creating objects
of class Constituent , or some descendent class. |
SimpleTree |
A
SimpleTree is a minimal concrete implementation of an
unlabeled, unscored Tree . |
SimpleTreeFactory |
A
SimpleTreeFactory acts as a factory for creating objects
of class SimpleTree . |
Span |
A
Span is an optimized SimpleConstituent object. |
StringLabeledScoredTreeReaderFactory |
This class implements a
TreeReaderFactory that produces
labeled, scored array-based Trees, which have been cleaned up to
delete empties, etc. |
SynchronizedTreeTransformer |
If you have a TreeTransformer which is not threadsafe, and you need
to call it from multiple threads, this will wrap it in a
synchronized manner.
|
TransformingTreebank |
This class wraps another Treebank, and will vend trees that have been through
a TreeTransformer.
|
Tree |
The abstract class
Tree is used to collect all of the
tree types, and acts as a generic extendable type. |
Treebank |
A
Treebank object provides access to a corpus of examples with
given tree structures. |
Treebanks |
This is just a main method and other static methods for
command-line manipulation, statistics, and testing of
Treebank objects.
|
TreeCoreAnnotations |
Set of common annotations for
CoreMap s
that require classes from the trees package. |
TreeCoreAnnotations.BinarizedTreeAnnotation |
The CoreMap key for getting the binarized version of the
syntactic parse tree of a sentence.
|
TreeCoreAnnotations.HeadTagAnnotation |
The standard key for storing a head tag in the map as a pointer to
another node.
|
TreeCoreAnnotations.HeadWordAnnotation |
The standard key for storing a head word in the map as a pointer to
another node.
|
TreeCoreAnnotations.TreeAnnotation |
The CoreMap key for getting the syntactic parse tree of a sentence.
|
TreeFilters |
A location for general implementations of Filter<Tree>.
|
TreeFilters.HasMatchingChild | |
TreeFunctions |
This is a utility class which vends tree transformers to translate
trees from one factory type to trees of another.
|
TreeGraphNode |
A
TreeGraphNode is simply a
with some additional functionality. |
TreeGraphNodeFactory |
A
TreeGraphNodeFactory acts as a factory for creating
nodes in a . |
TreeLeafLabelTransformer |
Applies a Function to the labels in a tree.
|
TreeLemmatizer | |
TreeLengthComparator |
A
TreeLengthComparator orders trees by their yield sentence
lengths. |
TreeNormalizer |
A class for tree normalization.
|
TreePrint |
A class for customizing the print method(s) for a
edu.stanford.nlp.trees.Tree as the output of the
parser. |
Trees |
Various static utilities for the
Tree class. |
TreeTokenizerFactory |
Wrapper for TreeReaderFactory.
|
TypedDependency |
A
TypedDependency is a relation between two words in a
GrammaticalStructure . |
UnnamedConcreteDependency |
An individual dependency between a head and a dependent.
|
UnnamedDependency |
An individual dependency between a head and a dependent.
|
WordStemmer |
Stems the Words in a Tree using Morphology.
|
Enum | Description |
---|---|
GrammaticalRelation.Language |