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.
DependencyPrinter  
DependencyReader  
DependencyTyper<T> A generified interface for making some kind of dependency object between a head and dependent.
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.
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 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 Trees.
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.ModifierGRAnnotation  
EnglishGrammaticalRelations.MultiWordExpressionGRAnnotation  
EnglishGrammaticalRelations.NegationModifierGRAnnotation  
EnglishGrammaticalRelations.NominalPassiveSubjectGRAnnotation  
EnglishGrammaticalRelations.NominalSubjectGRAnnotation  
EnglishGrammaticalRelations.NounCompoundModifierGRAnnotation  
EnglishGrammaticalRelations.NpAdverbialModifierGRAnnotation  
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  
EnglishGrammaticalStructure A GrammaticalStructure for English.
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.
GrammaticalRelation.DependentGRAnnotation  
GrammaticalRelation.GovernorGRAnnotation  
GrammaticalRelation.GrammaticalRelationAnnotation  
GrammaticalRelation.KillGRAnnotation  
GrammaticalRelation.RootGRAnnotation  
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.
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.
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.NPTmpRetainingTreeReaderFactory Implementation of TreeReaderFactory, mainly for convenience of constructing by reflection
OrderedCombinationTreeNormalizer This class combines multiple tree normalizers.
ParentalTreeWrapper A wrapper class for a regular tree that looks like a Tree, but adds parent pointers to the nodes.
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.
StringLabeledScoredTreeReaderFactory This class implements a TreeReaderFactory that produces labeled, scored array-based Trees, which have been cleaned up to delete empties, etc.
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 CoreMaps 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.
TreeCoreAnnotations.TreeAnnotation The CoreMap key for getting the syntactic parse tree of a sentence.
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.
TreeToBracketProcessor  
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.
WordCatConstituent A class storing information about a constituent in a character-based tree.
WordCatEqualityChecker An EqualityChecker for WordCatConstituents.
WordCatEquivalenceClasser An EquivalenceClasser for WordCatConstituents.
WordStemmer Stems the Words in a Tree using Morphology.
 

Enum Summary
GrammaticalRelation.Language  
 



Stanford NLP Group