edu.stanford.nlp.trees
Class GrammaticalRelation.GrammaticalRelationAnnotation

java.lang.Object
  extended by edu.stanford.nlp.trees.GrammaticalRelation.GrammaticalRelationAnnotation
All Implemented Interfaces:
CoreAnnotation<Set<TreeGraphNode>>, TypesafeMap.Key<CoreMap,Set<TreeGraphNode>>
Direct Known Subclasses:
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.DependendentGRAnnotation, GrammaticalRelation.GovernorGRAnnotation, GrammaticalRelation.KillGRAnnotation
Enclosing class:
GrammaticalRelation

public abstract static class GrammaticalRelation.GrammaticalRelationAnnotation
extends Object
implements CoreAnnotation<Set<TreeGraphNode>>


Constructor Summary
GrammaticalRelation.GrammaticalRelationAnnotation()
           
 
Method Summary
 Class<Set<TreeGraphNode>> getType()
          Returns the type associated with this annotation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrammaticalRelation.GrammaticalRelationAnnotation

public GrammaticalRelation.GrammaticalRelationAnnotation()
Method Detail

getType

public Class<Set<TreeGraphNode>> getType()
Description copied from interface: CoreAnnotation
Returns the type associated with this annotation. This method must return the same class type as its value type parameter. It feels like one should be able to get away without this method, but because Java erases the generic type signature, that info disappears at runtime.

Specified by:
getType in interface CoreAnnotation<Set<TreeGraphNode>>


Stanford NLP Group