## Package edu.stanford.nlp.trees

Interface Summary
ConstituentFactory: A `ConstituentFactory` is a factory for creating objects of class `Constituent`, or some descendent class.
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.
HeadFinder: An interface for finding the "head" daughter of a phrase structure tree.
Labeled: Interface for Objects which have a `Label`.
TreebankLanguagePack: This interface specifies language/treebank specific information for a Treebank, which a parser or other treebank user might need to know.
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 descendent 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 Summary
AbstractCollinsHeadFinder: A base class for Head Finders 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.
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
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 and NP-ADV tags (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.
EnglishGrammaticalRelations.AbbreviationModifierGRAnnotation
EnglishGrammaticalRelations.AdjectivalComplementGRAnnotation
EnglishGrammaticalRelations.AdjectivalModifierGRAnnotation
EnglishGrammaticalRelations.AdvClauseModifierGRAnnotation
EnglishGrammaticalRelations.AdverbialModifierGRAnnotation
EnglishGrammaticalRelations.AgentGRAnnotation
EnglishGrammaticalRelations.AppositionalModifierGRAnnotation
EnglishGrammaticalRelations.ArgumentGRAnnotation
EnglishGrammaticalRelations.AttributiveGRAnnotation
EnglishGrammaticalRelations.AuxModifierGRAnnotation
EnglishGrammaticalRelations.AuxPassiveGRAnnotation
EnglishGrammaticalRelations.ClausalComplementGRAnnotation
EnglishGrammaticalRelations.ClausalPassiveSubjectGRAnnotation
EnglishGrammaticalRelations.ClausalSubjectGRAnnotation
EnglishGrammaticalRelations.ComplementGRAnnotation
EnglishGrammaticalRelations.ComplementizerGRAnnotation
EnglishGrammaticalRelations.ConjunctGRAnnotation
EnglishGrammaticalRelations.ControllingSubjectGRAnnotation
EnglishGrammaticalRelations.CoordinationGRAnnotation
EnglishGrammaticalRelations.CopulaGRAnnotation
EnglishGrammaticalRelations.DeterminerGRAnnotation
EnglishGrammaticalRelations.DirectObjectGRAnnotation
EnglishGrammaticalRelations.ExpletiveGRAnnotation
EnglishGrammaticalRelations.IndirectObjectGRAnnotation
EnglishGrammaticalRelations.InfinitivalModifierGRAnnotation
EnglishGrammaticalRelations.MarkerGRAnnotation
EnglishGrammaticalRelations.MeasurePhraseGRAnnotation
EnglishGrammaticalRelations.ModifierGRAnnotation
EnglishGrammaticalRelations.NegationModifierGRAnnotation
EnglishGrammaticalRelations.NominalPassiveSubjectGRAnnotation
EnglishGrammaticalRelations.NominalSubjectGRAnnotation
EnglishGrammaticalRelations.NounCompoundModifierGRAnnotation
EnglishGrammaticalRelations.NumberModifierGRAnnotation
EnglishGrammaticalRelations.NumericModifierGRAnnotation
EnglishGrammaticalRelations.ObjectGRAnnotation
EnglishGrammaticalRelations.ParataxisGRAnnotation
EnglishGrammaticalRelations.ParticipialModifierGRAnnotation
EnglishGrammaticalRelations.PhrasalVerbParticleGRAnnotation
EnglishGrammaticalRelations.PossessionModifierGRAnnotation
EnglishGrammaticalRelations.PossessiveModifierGRAnnotation
EnglishGrammaticalRelations.PreconjunctGRAnnotation
EnglishGrammaticalRelations.PredeterminerGRAnnotation
EnglishGrammaticalRelations.PredicateGRAnnotation
EnglishGrammaticalRelations.PrepositionalComplementGRAnnotation
EnglishGrammaticalRelations.PrepositionalModifierGRAnnotation
EnglishGrammaticalRelations.PrepositionalObjectGRAnnotation
EnglishGrammaticalRelations.PunctuationGRAnnotation
EnglishGrammaticalRelations.PurposeClauseModifierGRAnnotation
EnglishGrammaticalRelations.QuantifierModifierGRAnnotation
EnglishGrammaticalRelations.ReferentGRAnnotation
EnglishGrammaticalRelations.RelativeClauseModifierGRAnnotation
EnglishGrammaticalRelations.RelativeGRAnnotation
EnglishGrammaticalRelations.SemanticDependentGRAnnotation
EnglishGrammaticalRelations.SubjectGRAnnotation
EnglishGrammaticalRelations.TemporalModifierGRAnnotation
EnglishGrammaticalRelations.XClausalComplementGRAnnotation
GrammaticalRelation: `GrammaticalRelation` is used to define a standardized, hierarchical set of grammatical relations, together with patterns for identifying them in parse trees.
GrammaticalRelation.DependentGRAnnotation
GrammaticalRelation.GovernorGRAnnotation
GrammaticalRelation.GrammaticalRelationAnnotation
GrammaticalRelation.KillGRAnnotation
GrammaticalStructure: A `GrammaticalStructure` is a ``TreeGraph`` (that is, a tree with additional labeled arcs between nodes) for representing the grammatical relations in a parse tree.
GrammaticalStructureFactory: A general factory for `GrammaticalStructure` objects.
LabeledConstituent: A `LabeledConstituent` object represents a single bracketing in a derivation, including start and end points and `Label` information, but excluding probabilistic information.
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.
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.
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))
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`.
SimpleTreeReaderFactory: This class implements a simple default `TreeReaderFactory`.
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.
TreeCoreAnnotations: Set of common annotations for `CoreMap`'s that require classes from the trees package.
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.
TreeFunctions: This is a utility class which vends tree transformers to translate trees from one factory type to trees of another.
TreeGraph: A `TreeGraph` is a tree with additional directed, labeled arcs between arbitrary pairs of nodes.
TreeGraphNode: A "treegraph" is a tree with additional directed, labeled arcs between arbitrary pairs of nodes.
TreeGraphNodeFactory: A `TreeGraphNodeFactory` acts as a factory for creating nodes in a ``TreeGraph``.
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`.
UnnamedDependency: An individual dependency between a head and a dependent.
WordStemmer: Stems the Words in a Tree using Morphology.

Enum Summary
GrammaticalRelation.Language

Stanford NLP Group