|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.ling.CoreAnnotations
public class CoreAnnotations
Set of common annotations for CoreMap
's. The classes defined
here are typesafe keys for getting and setting annotation values.
These classes need not be instantiated outside of this class. e.g
CoreAnnotations.WordAnnotation
.class serves as the key and a String
serves as the value containing the corresponding word.
New types of CoreAnnotation
can be defined anywhere that is
convenient in the source tree - they are just classes. This file exists
to hold widely used "core" annotations and others inherited from the
Label
family. In general, most keys should be placed in this file
as they may often be reused throughout the code. This architecture allows
for flexibility, but in many ways it should be considered as equivalent
to an enum in which everything should be defined
The getType method required by CoreAnnotation must return the same class
type as its value type parameter. It feels like one should be able to get
away without that method, but because Java erases the generic type signature,
that info disappears at runtime. See CoreAnnotations.ValueAnnotation
for an
example.
Nested Class Summary | |
---|---|
static class |
CoreAnnotations.AbbrAnnotation
|
static class |
CoreAnnotations.AbgeneAnnotation
|
static class |
CoreAnnotations.AbstrAnnotation
|
static class |
CoreAnnotations.AfterAnnotation
Annotation for the word appear after this word |
static class |
CoreAnnotations.AfterSGMLAnnotation
|
static class |
CoreAnnotations.AnswerAnnotation
The standard key for the answer which is a String |
static class |
CoreAnnotations.AnswerObjectAnnotation
|
static class |
CoreAnnotations.ArgDescendentAnnotation
|
static class |
CoreAnnotations.ArgumentAnnotation
The standard key for a propbank label which is of type Argument |
static class |
CoreAnnotations.BagOfWordsAnnotation
|
static class |
CoreAnnotations.BeAnnotation
|
static class |
CoreAnnotations.BeforeAnnotation
Annotation for the word appearing before this word |
static class |
CoreAnnotations.BeginPositionAnnotation
The character offset of first character of token in source. |
static class |
CoreAnnotations.BestCliquesAnnotation
Used in Task3 Pascal system |
static class |
CoreAnnotations.BestFullAnnotation
|
static class |
CoreAnnotations.CategoryAnnotation
|
static class |
CoreAnnotations.CategoryFunctionalTagAnnotation
The standard key for storing category with functional tags. |
static class |
CoreAnnotations.CharacterOffsetEnd
|
static class |
CoreAnnotations.CharacterOffsetStart
|
static class |
CoreAnnotations.CharAnnotation
|
static class |
CoreAnnotations.ChineseCharAnnotation
for Chinese: character level information, segmentation |
static class |
CoreAnnotations.ChineseIsSegmentedAnnotation
Not sure exactly what this is, but it is different from ChineseSegAnnotation and seems to indicate if the text is segmented |
static class |
CoreAnnotations.ChineseOrigSegAnnotation
|
static class |
CoreAnnotations.ChineseSegAnnotation
|
static class |
CoreAnnotations.ChunkAnnotation
|
static class |
CoreAnnotations.CoarseTagAnnotation
|
static class |
CoreAnnotations.CoNLLDepAnnotation
|
static class |
CoreAnnotations.CoNLLDepParentIndexAnnotation
|
static class |
CoreAnnotations.CoNLLDepTypeAnnotation
|
static class |
CoreAnnotations.CoNLLPredicateAnnotation
|
static class |
CoreAnnotations.CoNLLSRLAnnotation
|
static class |
CoreAnnotations.ContextsAnnotation
|
static class |
CoreAnnotations.CopyAnnotation
Used in nlp.trees |
static class |
CoreAnnotations.CorefAnnotation
the standard key for the coref label. |
static class |
CoreAnnotations.CostMagnificationAnnotation
Key for relative value of a word - used in RTE |
static class |
CoreAnnotations.CovertIDAnnotation
|
static class |
CoreAnnotations.CurrentAnnotation
|
static class |
CoreAnnotations.D2_LBeginAnnotation
|
static class |
CoreAnnotations.D2_LEndAnnotation
|
static class |
CoreAnnotations.D2_LMiddleAnnotation
|
static class |
CoreAnnotations.DayAnnotation
|
static class |
CoreAnnotations.DependentsAnnotation
|
static class |
CoreAnnotations.DictAnnotation
|
static class |
CoreAnnotations.DistSimAnnotation
|
static class |
CoreAnnotations.DoAnnotation
|
static class |
CoreAnnotations.DocIDAnnotation
This refers to the unique identifier for a "document", where document may vary based on your application. |
static class |
CoreAnnotations.EndPositionAnnotation
The character offset of last character of token in source. |
static class |
CoreAnnotations.EntityClassAnnotation
|
static class |
CoreAnnotations.EntityRuleAnnotation
|
static class |
CoreAnnotations.EntityTypeAnnotation
|
static class |
CoreAnnotations.FeaturesAnnotation
The standard key for the features which is a Collection |
static class |
CoreAnnotations.FemaleGazAnnotation
|
static class |
CoreAnnotations.FirstChildAnnotation
|
static class |
CoreAnnotations.FreqAnnotation
|
static class |
CoreAnnotations.GazAnnotation
|
static class |
CoreAnnotations.GazetteerAnnotation
The standard key for the gazetteer information |
static class |
CoreAnnotations.GeniaAnnotation
|
static class |
CoreAnnotations.GoldAnswerAnnotation
The standard key for gold answer which is a String |
static class |
CoreAnnotations.GovernorAnnotation
|
static class |
CoreAnnotations.GrandparentAnnotation
|
static class |
CoreAnnotations.HaveAnnotation
|
static class |
CoreAnnotations.HeadWordStringAnnotation
The key for storing a Head word as a string rather than a pointer (as in TreeCoreAnnotations.HeadWordAnnotation) |
static class |
CoreAnnotations.HeightAnnotation
Used in srl.unsup |
static class |
CoreAnnotations.IDAnnotation
|
static class |
CoreAnnotations.IDFAnnotation
Inverse document frequency of the word this label represents |
static class |
CoreAnnotations.INAnnotation
|
static class |
CoreAnnotations.IndexAnnotation
This is generally an individual word or feature index - it is local, and may not be uniquely identifying without other identifiers such as sentence and doc. |
static class |
CoreAnnotations.InterpretationAnnotation
The standard key for the semantic interpretation |
static class |
CoreAnnotations.IsDateRangeAnnotation
it really seems like this should have a different name or else be a boolean |
static class |
CoreAnnotations.IsURLAnnotation
it really seems like this should have a different name or else be a boolean |
static class |
CoreAnnotations.LabelAnnotation
Used in wsd.supwsd package |
static class |
CoreAnnotations.LastGazAnnotation
|
static class |
CoreAnnotations.LastTaggedAnnotation
|
static class |
CoreAnnotations.LBeginAnnotation
Used in Gale2007ChineseSegmenter |
static class |
CoreAnnotations.LeftTermAnnotation
The Standard key for storing the left terminal number relative to the root of the tree of the leftmost terminal dominated by the current node |
static class |
CoreAnnotations.LemmaAnnotation
Lemma for the word this label represents |
static class |
CoreAnnotations.LEndAnnotation
|
static class |
CoreAnnotations.LengthAnnotation
|
static class |
CoreAnnotations.LMiddleAnnotation
|
static class |
CoreAnnotations.MaleGazAnnotation
|
static class |
CoreAnnotations.MarkingAnnotation
Another key used for propbank - to signify core arg nodes or predicate nodes |
static class |
CoreAnnotations.MonthAnnotation
Used in nlp.coref |
static class |
CoreAnnotations.NeighborsAnnotation
|
static class |
CoreAnnotations.NERAnnotation
the standard key for the NER label. |
static class |
CoreAnnotations.NERIDAnnotation
This is an NER ID annotation (in case the all caps parsing didn't work out for you...) |
static class |
CoreAnnotations.NERTagAnnotation
POS tag for the NER (Note: not sure why this differs from "tag" annotation |
static class |
CoreAnnotations.NormalizedNERAnnotation
The key for the normalized value of numeric named entities. |
static class |
CoreAnnotations.NotAnnotation
|
static class |
CoreAnnotations.NumTxtSentencesAnnotation
Used by RTE to track number of text sentences, to determine when hyp sentences begin. |
static class |
CoreAnnotations.OriginalAnswerAnnotation
Seems like this could be consolidated with something else... |
static class |
CoreAnnotations.OriginalCharAnnotation
Seems like this could be consolidated with something else... |
static class |
CoreAnnotations.ParaPosAnnotation
|
static class |
CoreAnnotations.ParentAnnotation
The standard key for the parent which is a String |
static class |
CoreAnnotations.PercentAnnotation
|
static class |
CoreAnnotations.PolarityAnnotation
|
static class |
CoreAnnotations.PositionAnnotation
Used in CRFClassifier stuff PositionAnnotation should possibly be an int - it's present as either an int or string depending on context CharAnnotation may be "CharacterAnnotation" - not sure |
static class |
CoreAnnotations.PossibleAnswersAnnotation
|
static class |
CoreAnnotations.PredictedAnswerAnnotation
|
static class |
CoreAnnotations.PrevChildAnnotation
|
static class |
CoreAnnotations.PrevSGMLAnnotation
|
static class |
CoreAnnotations.PriorAnnotation
Used in propbank.srl |
static class |
CoreAnnotations.ProjectedCategoryAnnotation
The standard key for storing a projected category in the map, as a String. |
static class |
CoreAnnotations.RoleAnnotation
The standard key for the semantic role label |
static class |
CoreAnnotations.SectionAnnotation
|
static class |
CoreAnnotations.SemanticHeadTagAnnotation
The standard key for Semantic Head Word POS which is a String |
static class |
CoreAnnotations.SemanticHeadWordAnnotation
The standard key for Semantic Head Word which is a String |
static class |
CoreAnnotations.SemanticTagAnnotation
|
static class |
CoreAnnotations.SemanticWordAnnotation
|
static class |
CoreAnnotations.SentenceIDAnnotation
|
static class |
CoreAnnotations.SentenceIndexAnnotation
Unique identifier within a document for a given sentence. |
static class |
CoreAnnotations.SentencePosAnnotation
|
static class |
CoreAnnotations.ShapeAnnotation
The standard key for the "shape" of a word: a String representing the type of characters in a word, such as "Xx" for a capitalized word. |
static class |
CoreAnnotations.SpaceBeforeAnnotation
|
static class |
CoreAnnotations.SpanAnnotation
The standard key for span which is an IntPair |
static class |
CoreAnnotations.SRL_ID
|
static class |
CoreAnnotations.SRLIDAnnotation
The key for semantic role labels (Note: please add to this description if you use this key) |
static class |
CoreAnnotations.SRLInstancesAnnotation
|
static class |
CoreAnnotations.StateAnnotation
Used in parser.discrim |
static class |
CoreAnnotations.StemAnnotation
Morphological stem of the word this label represents |
static class |
CoreAnnotations.SubcategorizationAnnotation
|
static class |
CoreAnnotations.TagAnnotation
Penn POS tag in String form |
static class |
CoreAnnotations.TagLabelAnnotation
Used in Trees |
static class |
CoreAnnotations.TrueTagAnnotation
|
static class |
CoreAnnotations.UBlockAnnotation
|
static class |
CoreAnnotations.UnaryAnnotation
|
static class |
CoreAnnotations.UnknownAnnotation
|
static class |
CoreAnnotations.UTypeAnnotation
|
static class |
CoreAnnotations.ValueAnnotation
Contains the "value" - an ill-defined string used widely in MapLabel. |
static class |
CoreAnnotations.ValueLabelAnnotation
|
static class |
CoreAnnotations.VerbSenseAnnotation
Probank key for the Verb sense given in the Propbank Annotation, should only be in the verbnode |
static class |
CoreAnnotations.WebAnnotation
|
static class |
CoreAnnotations.WordAnnotation
String value of the word. |
static class |
CoreAnnotations.WordFormAnnotation
|
static class |
CoreAnnotations.WordPosAnnotation
|
static class |
CoreAnnotations.WordSenseAnnotation
|
static class |
CoreAnnotations.YearAnnotation
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |