public static interface CoreNLPProtos.DocumentOrBuilder extends com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<CoreNLPProtos.Document>
Modifier and Type | Method and Description |
---|---|
long |
getCalendar()
optional uint64 calendar = 8; |
CoreNLPProtos.Token |
getCharacter(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 10; |
int |
getCharacterCount()
repeated .edu.stanford.nlp.pipeline.Token character = 10; |
java.util.List<CoreNLPProtos.Token> |
getCharacterList()
repeated .edu.stanford.nlp.pipeline.Token character = 10; |
CoreNLPProtos.TokenOrBuilder |
getCharacterOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 10; |
java.util.List<? extends CoreNLPProtos.TokenOrBuilder> |
getCharacterOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Token character = 10; |
CoreNLPProtos.CorefChain |
getCorefChain(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3; |
int |
getCorefChainCount()
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3; |
java.util.List<CoreNLPProtos.CorefChain> |
getCorefChainList()
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3; |
CoreNLPProtos.CorefChainOrBuilder |
getCorefChainOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3; |
java.util.List<? extends CoreNLPProtos.CorefChainOrBuilder> |
getCorefChainOrBuilderList()
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3; |
int |
getCorefMentionToEntityMentionMappings(int index)
repeated int32 corefMentionToEntityMentionMappings = 17; |
int |
getCorefMentionToEntityMentionMappingsCount()
repeated int32 corefMentionToEntityMentionMappings = 17; |
java.util.List<java.lang.Integer> |
getCorefMentionToEntityMentionMappingsList()
repeated int32 corefMentionToEntityMentionMappings = 17; |
java.lang.String |
getDocDate()
optional string docDate = 7; |
com.google.protobuf.ByteString |
getDocDateBytes()
optional string docDate = 7; |
java.lang.String |
getDocID()
optional string docID = 4; |
com.google.protobuf.ByteString |
getDocIDBytes()
optional string docID = 4; |
int |
getEntityMentionToCorefMentionMappings(int index)
repeated int32 entityMentionToCorefMentionMappings = 18; |
int |
getEntityMentionToCorefMentionMappingsCount()
repeated int32 entityMentionToCorefMentionMappings = 18; |
java.util.List<java.lang.Integer> |
getEntityMentionToCorefMentionMappingsList()
repeated int32 entityMentionToCorefMentionMappings = 18; |
boolean |
getHasCorefAnnotation()
optional bool hasCorefAnnotation = 16; |
boolean |
getHasCorefMentionAnnotation()
optional bool hasCorefMentionAnnotation = 15; |
boolean |
getHasEntityMentionsAnnotation()
used to differentiate between null and empty list
|
CoreNLPProtos.NERMention |
getMentions(int index)
This field is for entity mentions across the document.
|
int |
getMentionsCount()
This field is for entity mentions across the document.
|
CoreNLPProtos.Mention |
getMentionsForCoref(int index)
coref mentions for entire document *
|
int |
getMentionsForCorefCount()
coref mentions for entire document *
|
java.util.List<CoreNLPProtos.Mention> |
getMentionsForCorefList()
coref mentions for entire document *
|
CoreNLPProtos.MentionOrBuilder |
getMentionsForCorefOrBuilder(int index)
coref mentions for entire document *
|
java.util.List<? extends CoreNLPProtos.MentionOrBuilder> |
getMentionsForCorefOrBuilderList()
coref mentions for entire document *
|
java.util.List<CoreNLPProtos.NERMention> |
getMentionsList()
This field is for entity mentions across the document.
|
CoreNLPProtos.NERMentionOrBuilder |
getMentionsOrBuilder(int index)
This field is for entity mentions across the document.
|
java.util.List<? extends CoreNLPProtos.NERMentionOrBuilder> |
getMentionsOrBuilderList()
This field is for entity mentions across the document.
|
CoreNLPProtos.Quote |
getQuote(int index)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6; |
int |
getQuoteCount()
repeated .edu.stanford.nlp.pipeline.Quote quote = 6; |
java.util.List<CoreNLPProtos.Quote> |
getQuoteList()
repeated .edu.stanford.nlp.pipeline.Quote quote = 6; |
CoreNLPProtos.QuoteOrBuilder |
getQuoteOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6; |
java.util.List<? extends CoreNLPProtos.QuoteOrBuilder> |
getQuoteOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Quote quote = 6; |
CoreNLPProtos.Section |
getSections(int index)
repeated .edu.stanford.nlp.pipeline.Section sections = 12; |
int |
getSectionsCount()
repeated .edu.stanford.nlp.pipeline.Section sections = 12; |
java.util.List<CoreNLPProtos.Section> |
getSectionsList()
repeated .edu.stanford.nlp.pipeline.Section sections = 12; |
CoreNLPProtos.SectionOrBuilder |
getSectionsOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Section sections = 12; |
java.util.List<? extends CoreNLPProtos.SectionOrBuilder> |
getSectionsOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Section sections = 12; |
CoreNLPProtos.Sentence |
getSentence(int index)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2; |
int |
getSentenceCount()
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2; |
CoreNLPProtos.Token |
getSentencelessToken(int index)
A peculiar field, for the corner case when a Document is
serialized without any sentences.
|
int |
getSentencelessTokenCount()
A peculiar field, for the corner case when a Document is
serialized without any sentences.
|
java.util.List<CoreNLPProtos.Token> |
getSentencelessTokenList()
A peculiar field, for the corner case when a Document is
serialized without any sentences.
|
CoreNLPProtos.TokenOrBuilder |
getSentencelessTokenOrBuilder(int index)
A peculiar field, for the corner case when a Document is
serialized without any sentences.
|
java.util.List<? extends CoreNLPProtos.TokenOrBuilder> |
getSentencelessTokenOrBuilderList()
A peculiar field, for the corner case when a Document is
serialized without any sentences.
|
java.util.List<CoreNLPProtos.Sentence> |
getSentenceList()
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2; |
CoreNLPProtos.SentenceOrBuilder |
getSentenceOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2; |
java.util.List<? extends CoreNLPProtos.SentenceOrBuilder> |
getSentenceOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2; |
java.lang.String |
getText()
required string text = 1; |
com.google.protobuf.ByteString |
getTextBytes()
required string text = 1; |
boolean |
getXmlDoc()
xml information
|
boolean |
hasCalendar()
optional uint64 calendar = 8; |
boolean |
hasDocDate()
optional string docDate = 7; |
boolean |
hasDocID()
optional string docID = 4; |
boolean |
hasHasCorefAnnotation()
optional bool hasCorefAnnotation = 16; |
boolean |
hasHasCorefMentionAnnotation()
optional bool hasCorefMentionAnnotation = 15; |
boolean |
hasHasEntityMentionsAnnotation()
used to differentiate between null and empty list
|
boolean |
hasText()
required string text = 1; |
boolean |
hasXmlDoc()
xml information
|
getDefaultInstanceForType, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
boolean hasText()
required string text = 1;
java.lang.String getText()
required string text = 1;
com.google.protobuf.ByteString getTextBytes()
required string text = 1;
java.util.List<CoreNLPProtos.Sentence> getSentenceList()
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
CoreNLPProtos.Sentence getSentence(int index)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
int getSentenceCount()
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
java.util.List<? extends CoreNLPProtos.SentenceOrBuilder> getSentenceOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
CoreNLPProtos.SentenceOrBuilder getSentenceOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
java.util.List<CoreNLPProtos.CorefChain> getCorefChainList()
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
CoreNLPProtos.CorefChain getCorefChain(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
int getCorefChainCount()
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
java.util.List<? extends CoreNLPProtos.CorefChainOrBuilder> getCorefChainOrBuilderList()
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
CoreNLPProtos.CorefChainOrBuilder getCorefChainOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
boolean hasDocID()
optional string docID = 4;
java.lang.String getDocID()
optional string docID = 4;
com.google.protobuf.ByteString getDocIDBytes()
optional string docID = 4;
boolean hasDocDate()
optional string docDate = 7;
java.lang.String getDocDate()
optional string docDate = 7;
com.google.protobuf.ByteString getDocDateBytes()
optional string docDate = 7;
boolean hasCalendar()
optional uint64 calendar = 8;
long getCalendar()
optional uint64 calendar = 8;
java.util.List<CoreNLPProtos.Token> getSentencelessTokenList()
A peculiar field, for the corner case when a Document is serialized without any sentences. Otherwise
repeated .edu.stanford.nlp.pipeline.Token sentencelessToken = 5;
CoreNLPProtos.Token getSentencelessToken(int index)
A peculiar field, for the corner case when a Document is serialized without any sentences. Otherwise
repeated .edu.stanford.nlp.pipeline.Token sentencelessToken = 5;
int getSentencelessTokenCount()
A peculiar field, for the corner case when a Document is serialized without any sentences. Otherwise
repeated .edu.stanford.nlp.pipeline.Token sentencelessToken = 5;
java.util.List<? extends CoreNLPProtos.TokenOrBuilder> getSentencelessTokenOrBuilderList()
A peculiar field, for the corner case when a Document is serialized without any sentences. Otherwise
repeated .edu.stanford.nlp.pipeline.Token sentencelessToken = 5;
CoreNLPProtos.TokenOrBuilder getSentencelessTokenOrBuilder(int index)
A peculiar field, for the corner case when a Document is serialized without any sentences. Otherwise
repeated .edu.stanford.nlp.pipeline.Token sentencelessToken = 5;
java.util.List<CoreNLPProtos.Token> getCharacterList()
repeated .edu.stanford.nlp.pipeline.Token character = 10;
CoreNLPProtos.Token getCharacter(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 10;
int getCharacterCount()
repeated .edu.stanford.nlp.pipeline.Token character = 10;
java.util.List<? extends CoreNLPProtos.TokenOrBuilder> getCharacterOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Token character = 10;
CoreNLPProtos.TokenOrBuilder getCharacterOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 10;
java.util.List<CoreNLPProtos.Quote> getQuoteList()
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
CoreNLPProtos.Quote getQuote(int index)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
int getQuoteCount()
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
java.util.List<? extends CoreNLPProtos.QuoteOrBuilder> getQuoteOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
CoreNLPProtos.QuoteOrBuilder getQuoteOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
java.util.List<CoreNLPProtos.NERMention> getMentionsList()
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
CoreNLPProtos.NERMention getMentions(int index)
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
int getMentionsCount()
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
java.util.List<? extends CoreNLPProtos.NERMentionOrBuilder> getMentionsOrBuilderList()
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
CoreNLPProtos.NERMentionOrBuilder getMentionsOrBuilder(int index)
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
boolean hasHasEntityMentionsAnnotation()
used to differentiate between null and empty list
optional bool hasEntityMentionsAnnotation = 13;
boolean getHasEntityMentionsAnnotation()
used to differentiate between null and empty list
optional bool hasEntityMentionsAnnotation = 13;
boolean hasXmlDoc()
xml information
optional bool xmlDoc = 11;
boolean getXmlDoc()
xml information
optional bool xmlDoc = 11;
java.util.List<CoreNLPProtos.Section> getSectionsList()
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
CoreNLPProtos.Section getSections(int index)
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
int getSectionsCount()
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
java.util.List<? extends CoreNLPProtos.SectionOrBuilder> getSectionsOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
CoreNLPProtos.SectionOrBuilder getSectionsOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
java.util.List<CoreNLPProtos.Mention> getMentionsForCorefList()
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
CoreNLPProtos.Mention getMentionsForCoref(int index)
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
int getMentionsForCorefCount()
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
java.util.List<? extends CoreNLPProtos.MentionOrBuilder> getMentionsForCorefOrBuilderList()
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
CoreNLPProtos.MentionOrBuilder getMentionsForCorefOrBuilder(int index)
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
boolean hasHasCorefMentionAnnotation()
optional bool hasCorefMentionAnnotation = 15;
boolean getHasCorefMentionAnnotation()
optional bool hasCorefMentionAnnotation = 15;
boolean hasHasCorefAnnotation()
optional bool hasCorefAnnotation = 16;
boolean getHasCorefAnnotation()
optional bool hasCorefAnnotation = 16;
java.util.List<java.lang.Integer> getCorefMentionToEntityMentionMappingsList()
repeated int32 corefMentionToEntityMentionMappings = 17;
int getCorefMentionToEntityMentionMappingsCount()
repeated int32 corefMentionToEntityMentionMappings = 17;
int getCorefMentionToEntityMentionMappings(int index)
repeated int32 corefMentionToEntityMentionMappings = 17;
index
- The index of the element to return.java.util.List<java.lang.Integer> getEntityMentionToCorefMentionMappingsList()
repeated int32 entityMentionToCorefMentionMappings = 18;
int getEntityMentionToCorefMentionMappingsCount()
repeated int32 entityMentionToCorefMentionMappings = 18;
int getEntityMentionToCorefMentionMappings(int index)
repeated int32 entityMentionToCorefMentionMappings = 18;
index
- The index of the element to return.