public static final class CoreNLPProtos.Document.Builder extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<CoreNLPProtos.Document,CoreNLPProtos.Document.Builder> implements CoreNLPProtos.DocumentOrBuilder
A document; that is, the equivalent of an Annotation.Protobuf type
edu.stanford.nlp.pipeline.Document
Modifier and Type | Method and Description |
---|---|
CoreNLPProtos.Document.Builder |
addAllCharacter(java.lang.Iterable<? extends CoreNLPProtos.Token> values)
repeated .edu.stanford.nlp.pipeline.Token character = 10; |
CoreNLPProtos.Document.Builder |
addAllCorefChain(java.lang.Iterable<? extends CoreNLPProtos.CorefChain> values)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3; |
CoreNLPProtos.Document.Builder |
addAllCorefMentionToEntityMentionMappings(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 corefMentionToEntityMentionMappings = 17; |
CoreNLPProtos.Document.Builder |
addAllEntityMentionToCorefMentionMappings(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 entityMentionToCorefMentionMappings = 18; |
CoreNLPProtos.Document.Builder |
addAllMentions(java.lang.Iterable<? extends CoreNLPProtos.NERMention> values)
This field is for entity mentions across the document.
|
CoreNLPProtos.Document.Builder |
addAllMentionsForCoref(java.lang.Iterable<? extends CoreNLPProtos.Mention> values)
coref mentions for entire document *
|
CoreNLPProtos.Document.Builder |
addAllQuote(java.lang.Iterable<? extends CoreNLPProtos.Quote> values)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6; |
CoreNLPProtos.Document.Builder |
addAllSections(java.lang.Iterable<? extends CoreNLPProtos.Section> values)
repeated .edu.stanford.nlp.pipeline.Section sections = 12; |
CoreNLPProtos.Document.Builder |
addAllSentence(java.lang.Iterable<? extends CoreNLPProtos.Sentence> values)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2; |
CoreNLPProtos.Document.Builder |
addAllSentencelessToken(java.lang.Iterable<? extends CoreNLPProtos.Token> values)
A peculiar field, for the corner case when a Document is
serialized without any sentences.
|
CoreNLPProtos.Document.Builder |
addCharacter(CoreNLPProtos.Token.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Token character = 10; |
CoreNLPProtos.Document.Builder |
addCharacter(CoreNLPProtos.Token value)
repeated .edu.stanford.nlp.pipeline.Token character = 10; |
CoreNLPProtos.Document.Builder |
addCharacter(int index,
CoreNLPProtos.Token.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Token character = 10; |
CoreNLPProtos.Document.Builder |
addCharacter(int index,
CoreNLPProtos.Token value)
repeated .edu.stanford.nlp.pipeline.Token character = 10; |
CoreNLPProtos.Token.Builder |
addCharacterBuilder()
repeated .edu.stanford.nlp.pipeline.Token character = 10; |
CoreNLPProtos.Token.Builder |
addCharacterBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 10; |
CoreNLPProtos.Document.Builder |
addCorefChain(CoreNLPProtos.CorefChain.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3; |
CoreNLPProtos.Document.Builder |
addCorefChain(CoreNLPProtos.CorefChain value)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3; |
CoreNLPProtos.Document.Builder |
addCorefChain(int index,
CoreNLPProtos.CorefChain.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3; |
CoreNLPProtos.Document.Builder |
addCorefChain(int index,
CoreNLPProtos.CorefChain value)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3; |
CoreNLPProtos.CorefChain.Builder |
addCorefChainBuilder()
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3; |
CoreNLPProtos.CorefChain.Builder |
addCorefChainBuilder(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3; |
CoreNLPProtos.Document.Builder |
addCorefMentionToEntityMentionMappings(int value)
repeated int32 corefMentionToEntityMentionMappings = 17; |
CoreNLPProtos.Document.Builder |
addEntityMentionToCorefMentionMappings(int value)
repeated int32 entityMentionToCorefMentionMappings = 18; |
<Type> CoreNLPProtos.Document.Builder |
addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<CoreNLPProtos.Document,java.util.List<Type>> extension,
Type value) |
CoreNLPProtos.Document.Builder |
addMentions(CoreNLPProtos.NERMention.Builder builderForValue)
This field is for entity mentions across the document.
|
CoreNLPProtos.Document.Builder |
addMentions(CoreNLPProtos.NERMention value)
This field is for entity mentions across the document.
|
CoreNLPProtos.Document.Builder |
addMentions(int index,
CoreNLPProtos.NERMention.Builder builderForValue)
This field is for entity mentions across the document.
|
CoreNLPProtos.Document.Builder |
addMentions(int index,
CoreNLPProtos.NERMention value)
This field is for entity mentions across the document.
|
CoreNLPProtos.NERMention.Builder |
addMentionsBuilder()
This field is for entity mentions across the document.
|
CoreNLPProtos.NERMention.Builder |
addMentionsBuilder(int index)
This field is for entity mentions across the document.
|
CoreNLPProtos.Document.Builder |
addMentionsForCoref(CoreNLPProtos.Mention.Builder builderForValue)
coref mentions for entire document *
|
CoreNLPProtos.Document.Builder |
addMentionsForCoref(CoreNLPProtos.Mention value)
coref mentions for entire document *
|
CoreNLPProtos.Document.Builder |
addMentionsForCoref(int index,
CoreNLPProtos.Mention.Builder builderForValue)
coref mentions for entire document *
|
CoreNLPProtos.Document.Builder |
addMentionsForCoref(int index,
CoreNLPProtos.Mention value)
coref mentions for entire document *
|
CoreNLPProtos.Mention.Builder |
addMentionsForCorefBuilder()
coref mentions for entire document *
|
CoreNLPProtos.Mention.Builder |
addMentionsForCorefBuilder(int index)
coref mentions for entire document *
|
CoreNLPProtos.Document.Builder |
addQuote(CoreNLPProtos.Quote.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6; |
CoreNLPProtos.Document.Builder |
addQuote(CoreNLPProtos.Quote value)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6; |
CoreNLPProtos.Document.Builder |
addQuote(int index,
CoreNLPProtos.Quote.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6; |
CoreNLPProtos.Document.Builder |
addQuote(int index,
CoreNLPProtos.Quote value)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6; |
CoreNLPProtos.Quote.Builder |
addQuoteBuilder()
repeated .edu.stanford.nlp.pipeline.Quote quote = 6; |
CoreNLPProtos.Quote.Builder |
addQuoteBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6; |
CoreNLPProtos.Document.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.Document.Builder |
addSections(CoreNLPProtos.Section.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Section sections = 12; |
CoreNLPProtos.Document.Builder |
addSections(CoreNLPProtos.Section value)
repeated .edu.stanford.nlp.pipeline.Section sections = 12; |
CoreNLPProtos.Document.Builder |
addSections(int index,
CoreNLPProtos.Section.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Section sections = 12; |
CoreNLPProtos.Document.Builder |
addSections(int index,
CoreNLPProtos.Section value)
repeated .edu.stanford.nlp.pipeline.Section sections = 12; |
CoreNLPProtos.Section.Builder |
addSectionsBuilder()
repeated .edu.stanford.nlp.pipeline.Section sections = 12; |
CoreNLPProtos.Section.Builder |
addSectionsBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Section sections = 12; |
CoreNLPProtos.Document.Builder |
addSentence(CoreNLPProtos.Sentence.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2; |
CoreNLPProtos.Document.Builder |
addSentence(CoreNLPProtos.Sentence value)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2; |
CoreNLPProtos.Document.Builder |
addSentence(int index,
CoreNLPProtos.Sentence.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2; |
CoreNLPProtos.Document.Builder |
addSentence(int index,
CoreNLPProtos.Sentence value)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2; |
CoreNLPProtos.Sentence.Builder |
addSentenceBuilder()
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2; |
CoreNLPProtos.Sentence.Builder |
addSentenceBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2; |
CoreNLPProtos.Document.Builder |
addSentencelessToken(CoreNLPProtos.Token.Builder builderForValue)
A peculiar field, for the corner case when a Document is
serialized without any sentences.
|
CoreNLPProtos.Document.Builder |
addSentencelessToken(CoreNLPProtos.Token value)
A peculiar field, for the corner case when a Document is
serialized without any sentences.
|
CoreNLPProtos.Document.Builder |
addSentencelessToken(int index,
CoreNLPProtos.Token.Builder builderForValue)
A peculiar field, for the corner case when a Document is
serialized without any sentences.
|
CoreNLPProtos.Document.Builder |
addSentencelessToken(int index,
CoreNLPProtos.Token value)
A peculiar field, for the corner case when a Document is
serialized without any sentences.
|
CoreNLPProtos.Token.Builder |
addSentencelessTokenBuilder()
A peculiar field, for the corner case when a Document is
serialized without any sentences.
|
CoreNLPProtos.Token.Builder |
addSentencelessTokenBuilder(int index)
A peculiar field, for the corner case when a Document is
serialized without any sentences.
|
CoreNLPProtos.Document |
build() |
CoreNLPProtos.Document |
buildPartial() |
CoreNLPProtos.Document.Builder |
clear() |
CoreNLPProtos.Document.Builder |
clearCalendar()
optional uint64 calendar = 8; |
CoreNLPProtos.Document.Builder |
clearCharacter()
repeated .edu.stanford.nlp.pipeline.Token character = 10; |
CoreNLPProtos.Document.Builder |
clearCorefChain()
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3; |
CoreNLPProtos.Document.Builder |
clearCorefMentionToEntityMentionMappings()
repeated int32 corefMentionToEntityMentionMappings = 17; |
CoreNLPProtos.Document.Builder |
clearDocDate()
optional string docDate = 7; |
CoreNLPProtos.Document.Builder |
clearDocID()
optional string docID = 4; |
CoreNLPProtos.Document.Builder |
clearEntityMentionToCorefMentionMappings()
repeated int32 entityMentionToCorefMentionMappings = 18; |
<Type> CoreNLPProtos.Document.Builder |
clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<CoreNLPProtos.Document,?> extension) |
CoreNLPProtos.Document.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CoreNLPProtos.Document.Builder |
clearHasCorefAnnotation()
optional bool hasCorefAnnotation = 16; |
CoreNLPProtos.Document.Builder |
clearHasCorefMentionAnnotation()
optional bool hasCorefMentionAnnotation = 15; |
CoreNLPProtos.Document.Builder |
clearHasEntityMentionsAnnotation()
used to differentiate between null and empty list
|
CoreNLPProtos.Document.Builder |
clearMentions()
This field is for entity mentions across the document.
|
CoreNLPProtos.Document.Builder |
clearMentionsForCoref()
coref mentions for entire document *
|
CoreNLPProtos.Document.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CoreNLPProtos.Document.Builder |
clearQuote()
repeated .edu.stanford.nlp.pipeline.Quote quote = 6; |
CoreNLPProtos.Document.Builder |
clearSections()
repeated .edu.stanford.nlp.pipeline.Section sections = 12; |
CoreNLPProtos.Document.Builder |
clearSentence()
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2; |
CoreNLPProtos.Document.Builder |
clearSentencelessToken()
A peculiar field, for the corner case when a Document is
serialized without any sentences.
|
CoreNLPProtos.Document.Builder |
clearText()
required string text = 1; |
CoreNLPProtos.Document.Builder |
clearXmlDoc()
xml information
|
CoreNLPProtos.Document.Builder |
clone() |
long |
getCalendar()
optional uint64 calendar = 8; |
CoreNLPProtos.Token |
getCharacter(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 10; |
CoreNLPProtos.Token.Builder |
getCharacterBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 10; |
java.util.List<CoreNLPProtos.Token.Builder> |
getCharacterBuilderList()
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; |
CoreNLPProtos.CorefChain.Builder |
getCorefChainBuilder(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3; |
java.util.List<CoreNLPProtos.CorefChain.Builder> |
getCorefChainBuilderList()
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; |
CoreNLPProtos.Document |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
CoreNLPProtos.NERMention.Builder |
getMentionsBuilder(int index)
This field is for entity mentions across the document.
|
java.util.List<CoreNLPProtos.NERMention.Builder> |
getMentionsBuilderList()
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 *
|
CoreNLPProtos.Mention.Builder |
getMentionsForCorefBuilder(int index)
coref mentions for entire document *
|
java.util.List<CoreNLPProtos.Mention.Builder> |
getMentionsForCorefBuilderList()
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; |
CoreNLPProtos.Quote.Builder |
getQuoteBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6; |
java.util.List<CoreNLPProtos.Quote.Builder> |
getQuoteBuilderList()
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; |
CoreNLPProtos.Section.Builder |
getSectionsBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Section sections = 12; |
java.util.List<CoreNLPProtos.Section.Builder> |
getSectionsBuilderList()
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; |
CoreNLPProtos.Sentence.Builder |
getSentenceBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2; |
java.util.List<CoreNLPProtos.Sentence.Builder> |
getSentenceBuilderList()
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.
|
CoreNLPProtos.Token.Builder |
getSentencelessTokenBuilder(int index)
A peculiar field, for the corner case when a Document is
serialized without any sentences.
|
java.util.List<CoreNLPProtos.Token.Builder> |
getSentencelessTokenBuilderList()
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
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CoreNLPProtos.Document.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CoreNLPProtos.Document.Builder |
mergeFrom(CoreNLPProtos.Document other) |
CoreNLPProtos.Document.Builder |
mergeFrom(com.google.protobuf.Message other) |
CoreNLPProtos.Document.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CoreNLPProtos.Document.Builder |
removeCharacter(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 10; |
CoreNLPProtos.Document.Builder |
removeCorefChain(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3; |
CoreNLPProtos.Document.Builder |
removeMentions(int index)
This field is for entity mentions across the document.
|
CoreNLPProtos.Document.Builder |
removeMentionsForCoref(int index)
coref mentions for entire document *
|
CoreNLPProtos.Document.Builder |
removeQuote(int index)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6; |
CoreNLPProtos.Document.Builder |
removeSections(int index)
repeated .edu.stanford.nlp.pipeline.Section sections = 12; |
CoreNLPProtos.Document.Builder |
removeSentence(int index)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2; |
CoreNLPProtos.Document.Builder |
removeSentencelessToken(int index)
A peculiar field, for the corner case when a Document is
serialized without any sentences.
|
CoreNLPProtos.Document.Builder |
setCalendar(long value)
optional uint64 calendar = 8; |
CoreNLPProtos.Document.Builder |
setCharacter(int index,
CoreNLPProtos.Token.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Token character = 10; |
CoreNLPProtos.Document.Builder |
setCharacter(int index,
CoreNLPProtos.Token value)
repeated .edu.stanford.nlp.pipeline.Token character = 10; |
CoreNLPProtos.Document.Builder |
setCorefChain(int index,
CoreNLPProtos.CorefChain.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3; |
CoreNLPProtos.Document.Builder |
setCorefChain(int index,
CoreNLPProtos.CorefChain value)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3; |
CoreNLPProtos.Document.Builder |
setCorefMentionToEntityMentionMappings(int index,
int value)
repeated int32 corefMentionToEntityMentionMappings = 17; |
CoreNLPProtos.Document.Builder |
setDocDate(java.lang.String value)
optional string docDate = 7; |
CoreNLPProtos.Document.Builder |
setDocDateBytes(com.google.protobuf.ByteString value)
optional string docDate = 7; |
CoreNLPProtos.Document.Builder |
setDocID(java.lang.String value)
optional string docID = 4; |
CoreNLPProtos.Document.Builder |
setDocIDBytes(com.google.protobuf.ByteString value)
optional string docID = 4; |
CoreNLPProtos.Document.Builder |
setEntityMentionToCorefMentionMappings(int index,
int value)
repeated int32 entityMentionToCorefMentionMappings = 18; |
<Type> CoreNLPProtos.Document.Builder |
setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<CoreNLPProtos.Document,java.util.List<Type>> extension,
int index,
Type value) |
<Type> CoreNLPProtos.Document.Builder |
setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<CoreNLPProtos.Document,Type> extension,
Type value) |
CoreNLPProtos.Document.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.Document.Builder |
setHasCorefAnnotation(boolean value)
optional bool hasCorefAnnotation = 16; |
CoreNLPProtos.Document.Builder |
setHasCorefMentionAnnotation(boolean value)
optional bool hasCorefMentionAnnotation = 15; |
CoreNLPProtos.Document.Builder |
setHasEntityMentionsAnnotation(boolean value)
used to differentiate between null and empty list
|
CoreNLPProtos.Document.Builder |
setMentions(int index,
CoreNLPProtos.NERMention.Builder builderForValue)
This field is for entity mentions across the document.
|
CoreNLPProtos.Document.Builder |
setMentions(int index,
CoreNLPProtos.NERMention value)
This field is for entity mentions across the document.
|
CoreNLPProtos.Document.Builder |
setMentionsForCoref(int index,
CoreNLPProtos.Mention.Builder builderForValue)
coref mentions for entire document *
|
CoreNLPProtos.Document.Builder |
setMentionsForCoref(int index,
CoreNLPProtos.Mention value)
coref mentions for entire document *
|
CoreNLPProtos.Document.Builder |
setQuote(int index,
CoreNLPProtos.Quote.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6; |
CoreNLPProtos.Document.Builder |
setQuote(int index,
CoreNLPProtos.Quote value)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6; |
CoreNLPProtos.Document.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
CoreNLPProtos.Document.Builder |
setSections(int index,
CoreNLPProtos.Section.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Section sections = 12; |
CoreNLPProtos.Document.Builder |
setSections(int index,
CoreNLPProtos.Section value)
repeated .edu.stanford.nlp.pipeline.Section sections = 12; |
CoreNLPProtos.Document.Builder |
setSentence(int index,
CoreNLPProtos.Sentence.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2; |
CoreNLPProtos.Document.Builder |
setSentence(int index,
CoreNLPProtos.Sentence value)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2; |
CoreNLPProtos.Document.Builder |
setSentencelessToken(int index,
CoreNLPProtos.Token.Builder builderForValue)
A peculiar field, for the corner case when a Document is
serialized without any sentences.
|
CoreNLPProtos.Document.Builder |
setSentencelessToken(int index,
CoreNLPProtos.Token value)
A peculiar field, for the corner case when a Document is
serialized without any sentences.
|
CoreNLPProtos.Document.Builder |
setText(java.lang.String value)
required string text = 1; |
CoreNLPProtos.Document.Builder |
setTextBytes(com.google.protobuf.ByteString value)
required string text = 1; |
CoreNLPProtos.Document.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CoreNLPProtos.Document.Builder |
setXmlDoc(boolean value)
xml information
|
addExtension, addExtension, clearExtension, clearExtension, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getField, getFieldBuilder, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, mergeExtensionFields, newBuilderForField, parseUnknownField, setExtension, setExtension, setExtension, setExtension
getOneofFieldDescriptor, getParentForChildren, getUnknownFields, getUnknownFieldSetBuilder, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, onBuilt, onChanged, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Document.Builder>
public CoreNLPProtos.Document.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<CoreNLPProtos.Document,CoreNLPProtos.Document.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Document.Builder>
public CoreNLPProtos.Document getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<CoreNLPProtos.Document>
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CoreNLPProtos.Document build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CoreNLPProtos.Document buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CoreNLPProtos.Document.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Document.Builder>
public CoreNLPProtos.Document.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<CoreNLPProtos.Document,CoreNLPProtos.Document.Builder>
public CoreNLPProtos.Document.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<CoreNLPProtos.Document,CoreNLPProtos.Document.Builder>
public CoreNLPProtos.Document.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Document.Builder>
public CoreNLPProtos.Document.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<CoreNLPProtos.Document,CoreNLPProtos.Document.Builder>
public CoreNLPProtos.Document.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<CoreNLPProtos.Document,CoreNLPProtos.Document.Builder>
public <Type> CoreNLPProtos.Document.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<CoreNLPProtos.Document,Type> extension, Type value)
setExtension
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<CoreNLPProtos.Document,CoreNLPProtos.Document.Builder>
public <Type> CoreNLPProtos.Document.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<CoreNLPProtos.Document,java.util.List<Type>> extension, int index, Type value)
setExtension
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<CoreNLPProtos.Document,CoreNLPProtos.Document.Builder>
public <Type> CoreNLPProtos.Document.Builder addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<CoreNLPProtos.Document,java.util.List<Type>> extension, Type value)
addExtension
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<CoreNLPProtos.Document,CoreNLPProtos.Document.Builder>
public <Type> CoreNLPProtos.Document.Builder clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<CoreNLPProtos.Document,?> extension)
clearExtension
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<CoreNLPProtos.Document,CoreNLPProtos.Document.Builder>
public CoreNLPProtos.Document.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CoreNLPProtos.Document.Builder>
public CoreNLPProtos.Document.Builder mergeFrom(CoreNLPProtos.Document other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<CoreNLPProtos.Document,CoreNLPProtos.Document.Builder>
public CoreNLPProtos.Document.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CoreNLPProtos.Document.Builder>
java.io.IOException
public boolean hasText()
required string text = 1;
hasText
in interface CoreNLPProtos.DocumentOrBuilder
public java.lang.String getText()
required string text = 1;
getText
in interface CoreNLPProtos.DocumentOrBuilder
public com.google.protobuf.ByteString getTextBytes()
required string text = 1;
getTextBytes
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Document.Builder setText(java.lang.String value)
required string text = 1;
value
- The text to set.public CoreNLPProtos.Document.Builder clearText()
required string text = 1;
public CoreNLPProtos.Document.Builder setTextBytes(com.google.protobuf.ByteString value)
required string text = 1;
value
- The bytes for text to set.public java.util.List<CoreNLPProtos.Sentence> getSentenceList()
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
getSentenceList
in interface CoreNLPProtos.DocumentOrBuilder
public int getSentenceCount()
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
getSentenceCount
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Sentence getSentence(int index)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
getSentence
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Document.Builder setSentence(int index, CoreNLPProtos.Sentence value)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
public CoreNLPProtos.Document.Builder setSentence(int index, CoreNLPProtos.Sentence.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
public CoreNLPProtos.Document.Builder addSentence(CoreNLPProtos.Sentence value)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
public CoreNLPProtos.Document.Builder addSentence(int index, CoreNLPProtos.Sentence value)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
public CoreNLPProtos.Document.Builder addSentence(CoreNLPProtos.Sentence.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
public CoreNLPProtos.Document.Builder addSentence(int index, CoreNLPProtos.Sentence.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
public CoreNLPProtos.Document.Builder addAllSentence(java.lang.Iterable<? extends CoreNLPProtos.Sentence> values)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
public CoreNLPProtos.Document.Builder clearSentence()
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
public CoreNLPProtos.Document.Builder removeSentence(int index)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
public CoreNLPProtos.Sentence.Builder getSentenceBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
public CoreNLPProtos.SentenceOrBuilder getSentenceOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
getSentenceOrBuilder
in interface CoreNLPProtos.DocumentOrBuilder
public java.util.List<? extends CoreNLPProtos.SentenceOrBuilder> getSentenceOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
getSentenceOrBuilderList
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Sentence.Builder addSentenceBuilder()
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
public CoreNLPProtos.Sentence.Builder addSentenceBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
public java.util.List<CoreNLPProtos.Sentence.Builder> getSentenceBuilderList()
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;
public java.util.List<CoreNLPProtos.CorefChain> getCorefChainList()
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
getCorefChainList
in interface CoreNLPProtos.DocumentOrBuilder
public int getCorefChainCount()
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
getCorefChainCount
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.CorefChain getCorefChain(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
getCorefChain
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Document.Builder setCorefChain(int index, CoreNLPProtos.CorefChain value)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
public CoreNLPProtos.Document.Builder setCorefChain(int index, CoreNLPProtos.CorefChain.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
public CoreNLPProtos.Document.Builder addCorefChain(CoreNLPProtos.CorefChain value)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
public CoreNLPProtos.Document.Builder addCorefChain(int index, CoreNLPProtos.CorefChain value)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
public CoreNLPProtos.Document.Builder addCorefChain(CoreNLPProtos.CorefChain.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
public CoreNLPProtos.Document.Builder addCorefChain(int index, CoreNLPProtos.CorefChain.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
public CoreNLPProtos.Document.Builder addAllCorefChain(java.lang.Iterable<? extends CoreNLPProtos.CorefChain> values)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
public CoreNLPProtos.Document.Builder clearCorefChain()
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
public CoreNLPProtos.Document.Builder removeCorefChain(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
public CoreNLPProtos.CorefChain.Builder getCorefChainBuilder(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
public CoreNLPProtos.CorefChainOrBuilder getCorefChainOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
getCorefChainOrBuilder
in interface CoreNLPProtos.DocumentOrBuilder
public java.util.List<? extends CoreNLPProtos.CorefChainOrBuilder> getCorefChainOrBuilderList()
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
getCorefChainOrBuilderList
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.CorefChain.Builder addCorefChainBuilder()
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
public CoreNLPProtos.CorefChain.Builder addCorefChainBuilder(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
public java.util.List<CoreNLPProtos.CorefChain.Builder> getCorefChainBuilderList()
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;
public boolean hasDocID()
optional string docID = 4;
hasDocID
in interface CoreNLPProtos.DocumentOrBuilder
public java.lang.String getDocID()
optional string docID = 4;
getDocID
in interface CoreNLPProtos.DocumentOrBuilder
public com.google.protobuf.ByteString getDocIDBytes()
optional string docID = 4;
getDocIDBytes
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Document.Builder setDocID(java.lang.String value)
optional string docID = 4;
value
- The docID to set.public CoreNLPProtos.Document.Builder clearDocID()
optional string docID = 4;
public CoreNLPProtos.Document.Builder setDocIDBytes(com.google.protobuf.ByteString value)
optional string docID = 4;
value
- The bytes for docID to set.public boolean hasDocDate()
optional string docDate = 7;
hasDocDate
in interface CoreNLPProtos.DocumentOrBuilder
public java.lang.String getDocDate()
optional string docDate = 7;
getDocDate
in interface CoreNLPProtos.DocumentOrBuilder
public com.google.protobuf.ByteString getDocDateBytes()
optional string docDate = 7;
getDocDateBytes
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Document.Builder setDocDate(java.lang.String value)
optional string docDate = 7;
value
- The docDate to set.public CoreNLPProtos.Document.Builder clearDocDate()
optional string docDate = 7;
public CoreNLPProtos.Document.Builder setDocDateBytes(com.google.protobuf.ByteString value)
optional string docDate = 7;
value
- The bytes for docDate to set.public boolean hasCalendar()
optional uint64 calendar = 8;
hasCalendar
in interface CoreNLPProtos.DocumentOrBuilder
public long getCalendar()
optional uint64 calendar = 8;
getCalendar
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Document.Builder setCalendar(long value)
optional uint64 calendar = 8;
value
- The calendar to set.public CoreNLPProtos.Document.Builder clearCalendar()
optional uint64 calendar = 8;
public 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;
getSentencelessTokenList
in interface CoreNLPProtos.DocumentOrBuilder
public 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;
getSentencelessTokenCount
in interface CoreNLPProtos.DocumentOrBuilder
public 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;
getSentencelessToken
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Document.Builder setSentencelessToken(int index, CoreNLPProtos.Token value)
A peculiar field, for the corner case when a Document is serialized without any sentences. Otherwise
repeated .edu.stanford.nlp.pipeline.Token sentencelessToken = 5;
public CoreNLPProtos.Document.Builder setSentencelessToken(int index, CoreNLPProtos.Token.Builder builderForValue)
A peculiar field, for the corner case when a Document is serialized without any sentences. Otherwise
repeated .edu.stanford.nlp.pipeline.Token sentencelessToken = 5;
public CoreNLPProtos.Document.Builder addSentencelessToken(CoreNLPProtos.Token value)
A peculiar field, for the corner case when a Document is serialized without any sentences. Otherwise
repeated .edu.stanford.nlp.pipeline.Token sentencelessToken = 5;
public CoreNLPProtos.Document.Builder addSentencelessToken(int index, CoreNLPProtos.Token value)
A peculiar field, for the corner case when a Document is serialized without any sentences. Otherwise
repeated .edu.stanford.nlp.pipeline.Token sentencelessToken = 5;
public CoreNLPProtos.Document.Builder addSentencelessToken(CoreNLPProtos.Token.Builder builderForValue)
A peculiar field, for the corner case when a Document is serialized without any sentences. Otherwise
repeated .edu.stanford.nlp.pipeline.Token sentencelessToken = 5;
public CoreNLPProtos.Document.Builder addSentencelessToken(int index, CoreNLPProtos.Token.Builder builderForValue)
A peculiar field, for the corner case when a Document is serialized without any sentences. Otherwise
repeated .edu.stanford.nlp.pipeline.Token sentencelessToken = 5;
public CoreNLPProtos.Document.Builder addAllSentencelessToken(java.lang.Iterable<? extends CoreNLPProtos.Token> values)
A peculiar field, for the corner case when a Document is serialized without any sentences. Otherwise
repeated .edu.stanford.nlp.pipeline.Token sentencelessToken = 5;
public CoreNLPProtos.Document.Builder clearSentencelessToken()
A peculiar field, for the corner case when a Document is serialized without any sentences. Otherwise
repeated .edu.stanford.nlp.pipeline.Token sentencelessToken = 5;
public CoreNLPProtos.Document.Builder removeSentencelessToken(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;
public CoreNLPProtos.Token.Builder getSentencelessTokenBuilder(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;
public 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;
getSentencelessTokenOrBuilder
in interface CoreNLPProtos.DocumentOrBuilder
public 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;
getSentencelessTokenOrBuilderList
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Token.Builder addSentencelessTokenBuilder()
A peculiar field, for the corner case when a Document is serialized without any sentences. Otherwise
repeated .edu.stanford.nlp.pipeline.Token sentencelessToken = 5;
public CoreNLPProtos.Token.Builder addSentencelessTokenBuilder(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;
public java.util.List<CoreNLPProtos.Token.Builder> getSentencelessTokenBuilderList()
A peculiar field, for the corner case when a Document is serialized without any sentences. Otherwise
repeated .edu.stanford.nlp.pipeline.Token sentencelessToken = 5;
public java.util.List<CoreNLPProtos.Token> getCharacterList()
repeated .edu.stanford.nlp.pipeline.Token character = 10;
getCharacterList
in interface CoreNLPProtos.DocumentOrBuilder
public int getCharacterCount()
repeated .edu.stanford.nlp.pipeline.Token character = 10;
getCharacterCount
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Token getCharacter(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 10;
getCharacter
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Document.Builder setCharacter(int index, CoreNLPProtos.Token value)
repeated .edu.stanford.nlp.pipeline.Token character = 10;
public CoreNLPProtos.Document.Builder setCharacter(int index, CoreNLPProtos.Token.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Token character = 10;
public CoreNLPProtos.Document.Builder addCharacter(CoreNLPProtos.Token value)
repeated .edu.stanford.nlp.pipeline.Token character = 10;
public CoreNLPProtos.Document.Builder addCharacter(int index, CoreNLPProtos.Token value)
repeated .edu.stanford.nlp.pipeline.Token character = 10;
public CoreNLPProtos.Document.Builder addCharacter(CoreNLPProtos.Token.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Token character = 10;
public CoreNLPProtos.Document.Builder addCharacter(int index, CoreNLPProtos.Token.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Token character = 10;
public CoreNLPProtos.Document.Builder addAllCharacter(java.lang.Iterable<? extends CoreNLPProtos.Token> values)
repeated .edu.stanford.nlp.pipeline.Token character = 10;
public CoreNLPProtos.Document.Builder clearCharacter()
repeated .edu.stanford.nlp.pipeline.Token character = 10;
public CoreNLPProtos.Document.Builder removeCharacter(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 10;
public CoreNLPProtos.Token.Builder getCharacterBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 10;
public CoreNLPProtos.TokenOrBuilder getCharacterOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 10;
getCharacterOrBuilder
in interface CoreNLPProtos.DocumentOrBuilder
public java.util.List<? extends CoreNLPProtos.TokenOrBuilder> getCharacterOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Token character = 10;
getCharacterOrBuilderList
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Token.Builder addCharacterBuilder()
repeated .edu.stanford.nlp.pipeline.Token character = 10;
public CoreNLPProtos.Token.Builder addCharacterBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 10;
public java.util.List<CoreNLPProtos.Token.Builder> getCharacterBuilderList()
repeated .edu.stanford.nlp.pipeline.Token character = 10;
public java.util.List<CoreNLPProtos.Quote> getQuoteList()
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
getQuoteList
in interface CoreNLPProtos.DocumentOrBuilder
public int getQuoteCount()
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
getQuoteCount
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Quote getQuote(int index)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
getQuote
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Document.Builder setQuote(int index, CoreNLPProtos.Quote value)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
public CoreNLPProtos.Document.Builder setQuote(int index, CoreNLPProtos.Quote.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
public CoreNLPProtos.Document.Builder addQuote(CoreNLPProtos.Quote value)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
public CoreNLPProtos.Document.Builder addQuote(int index, CoreNLPProtos.Quote value)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
public CoreNLPProtos.Document.Builder addQuote(CoreNLPProtos.Quote.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
public CoreNLPProtos.Document.Builder addQuote(int index, CoreNLPProtos.Quote.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
public CoreNLPProtos.Document.Builder addAllQuote(java.lang.Iterable<? extends CoreNLPProtos.Quote> values)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
public CoreNLPProtos.Document.Builder clearQuote()
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
public CoreNLPProtos.Document.Builder removeQuote(int index)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
public CoreNLPProtos.Quote.Builder getQuoteBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
public CoreNLPProtos.QuoteOrBuilder getQuoteOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
getQuoteOrBuilder
in interface CoreNLPProtos.DocumentOrBuilder
public java.util.List<? extends CoreNLPProtos.QuoteOrBuilder> getQuoteOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
getQuoteOrBuilderList
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Quote.Builder addQuoteBuilder()
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
public CoreNLPProtos.Quote.Builder addQuoteBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
public java.util.List<CoreNLPProtos.Quote.Builder> getQuoteBuilderList()
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
public java.util.List<CoreNLPProtos.NERMention> getMentionsList()
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
getMentionsList
in interface CoreNLPProtos.DocumentOrBuilder
public int getMentionsCount()
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
getMentionsCount
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.NERMention getMentions(int index)
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
getMentions
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Document.Builder setMentions(int index, CoreNLPProtos.NERMention value)
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
public CoreNLPProtos.Document.Builder setMentions(int index, CoreNLPProtos.NERMention.Builder builderForValue)
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
public CoreNLPProtos.Document.Builder addMentions(CoreNLPProtos.NERMention value)
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
public CoreNLPProtos.Document.Builder addMentions(int index, CoreNLPProtos.NERMention value)
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
public CoreNLPProtos.Document.Builder addMentions(CoreNLPProtos.NERMention.Builder builderForValue)
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
public CoreNLPProtos.Document.Builder addMentions(int index, CoreNLPProtos.NERMention.Builder builderForValue)
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
public CoreNLPProtos.Document.Builder addAllMentions(java.lang.Iterable<? extends CoreNLPProtos.NERMention> values)
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
public CoreNLPProtos.Document.Builder clearMentions()
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
public CoreNLPProtos.Document.Builder removeMentions(int index)
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
public CoreNLPProtos.NERMention.Builder getMentionsBuilder(int index)
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
public CoreNLPProtos.NERMentionOrBuilder getMentionsOrBuilder(int index)
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
getMentionsOrBuilder
in interface CoreNLPProtos.DocumentOrBuilder
public java.util.List<? extends CoreNLPProtos.NERMentionOrBuilder> getMentionsOrBuilderList()
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
getMentionsOrBuilderList
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.NERMention.Builder addMentionsBuilder()
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
public CoreNLPProtos.NERMention.Builder addMentionsBuilder(int index)
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
public java.util.List<CoreNLPProtos.NERMention.Builder> getMentionsBuilderList()
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;
public boolean hasHasEntityMentionsAnnotation()
used to differentiate between null and empty list
optional bool hasEntityMentionsAnnotation = 13;
hasHasEntityMentionsAnnotation
in interface CoreNLPProtos.DocumentOrBuilder
public boolean getHasEntityMentionsAnnotation()
used to differentiate between null and empty list
optional bool hasEntityMentionsAnnotation = 13;
getHasEntityMentionsAnnotation
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Document.Builder setHasEntityMentionsAnnotation(boolean value)
used to differentiate between null and empty list
optional bool hasEntityMentionsAnnotation = 13;
value
- The hasEntityMentionsAnnotation to set.public CoreNLPProtos.Document.Builder clearHasEntityMentionsAnnotation()
used to differentiate between null and empty list
optional bool hasEntityMentionsAnnotation = 13;
public boolean hasXmlDoc()
xml information
optional bool xmlDoc = 11;
hasXmlDoc
in interface CoreNLPProtos.DocumentOrBuilder
public boolean getXmlDoc()
xml information
optional bool xmlDoc = 11;
getXmlDoc
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Document.Builder setXmlDoc(boolean value)
xml information
optional bool xmlDoc = 11;
value
- The xmlDoc to set.public CoreNLPProtos.Document.Builder clearXmlDoc()
xml information
optional bool xmlDoc = 11;
public java.util.List<CoreNLPProtos.Section> getSectionsList()
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
getSectionsList
in interface CoreNLPProtos.DocumentOrBuilder
public int getSectionsCount()
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
getSectionsCount
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Section getSections(int index)
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
getSections
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Document.Builder setSections(int index, CoreNLPProtos.Section value)
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
public CoreNLPProtos.Document.Builder setSections(int index, CoreNLPProtos.Section.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
public CoreNLPProtos.Document.Builder addSections(CoreNLPProtos.Section value)
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
public CoreNLPProtos.Document.Builder addSections(int index, CoreNLPProtos.Section value)
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
public CoreNLPProtos.Document.Builder addSections(CoreNLPProtos.Section.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
public CoreNLPProtos.Document.Builder addSections(int index, CoreNLPProtos.Section.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
public CoreNLPProtos.Document.Builder addAllSections(java.lang.Iterable<? extends CoreNLPProtos.Section> values)
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
public CoreNLPProtos.Document.Builder clearSections()
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
public CoreNLPProtos.Document.Builder removeSections(int index)
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
public CoreNLPProtos.Section.Builder getSectionsBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
public CoreNLPProtos.SectionOrBuilder getSectionsOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
getSectionsOrBuilder
in interface CoreNLPProtos.DocumentOrBuilder
public java.util.List<? extends CoreNLPProtos.SectionOrBuilder> getSectionsOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
getSectionsOrBuilderList
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Section.Builder addSectionsBuilder()
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
public CoreNLPProtos.Section.Builder addSectionsBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
public java.util.List<CoreNLPProtos.Section.Builder> getSectionsBuilderList()
repeated .edu.stanford.nlp.pipeline.Section sections = 12;
public java.util.List<CoreNLPProtos.Mention> getMentionsForCorefList()
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
getMentionsForCorefList
in interface CoreNLPProtos.DocumentOrBuilder
public int getMentionsForCorefCount()
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
getMentionsForCorefCount
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Mention getMentionsForCoref(int index)
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
getMentionsForCoref
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Document.Builder setMentionsForCoref(int index, CoreNLPProtos.Mention value)
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
public CoreNLPProtos.Document.Builder setMentionsForCoref(int index, CoreNLPProtos.Mention.Builder builderForValue)
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
public CoreNLPProtos.Document.Builder addMentionsForCoref(CoreNLPProtos.Mention value)
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
public CoreNLPProtos.Document.Builder addMentionsForCoref(int index, CoreNLPProtos.Mention value)
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
public CoreNLPProtos.Document.Builder addMentionsForCoref(CoreNLPProtos.Mention.Builder builderForValue)
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
public CoreNLPProtos.Document.Builder addMentionsForCoref(int index, CoreNLPProtos.Mention.Builder builderForValue)
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
public CoreNLPProtos.Document.Builder addAllMentionsForCoref(java.lang.Iterable<? extends CoreNLPProtos.Mention> values)
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
public CoreNLPProtos.Document.Builder clearMentionsForCoref()
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
public CoreNLPProtos.Document.Builder removeMentionsForCoref(int index)
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
public CoreNLPProtos.Mention.Builder getMentionsForCorefBuilder(int index)
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
public CoreNLPProtos.MentionOrBuilder getMentionsForCorefOrBuilder(int index)
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
getMentionsForCorefOrBuilder
in interface CoreNLPProtos.DocumentOrBuilder
public java.util.List<? extends CoreNLPProtos.MentionOrBuilder> getMentionsForCorefOrBuilderList()
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
getMentionsForCorefOrBuilderList
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Mention.Builder addMentionsForCorefBuilder()
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
public CoreNLPProtos.Mention.Builder addMentionsForCorefBuilder(int index)
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
public java.util.List<CoreNLPProtos.Mention.Builder> getMentionsForCorefBuilderList()
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;
public boolean hasHasCorefMentionAnnotation()
optional bool hasCorefMentionAnnotation = 15;
hasHasCorefMentionAnnotation
in interface CoreNLPProtos.DocumentOrBuilder
public boolean getHasCorefMentionAnnotation()
optional bool hasCorefMentionAnnotation = 15;
getHasCorefMentionAnnotation
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Document.Builder setHasCorefMentionAnnotation(boolean value)
optional bool hasCorefMentionAnnotation = 15;
value
- The hasCorefMentionAnnotation to set.public CoreNLPProtos.Document.Builder clearHasCorefMentionAnnotation()
optional bool hasCorefMentionAnnotation = 15;
public boolean hasHasCorefAnnotation()
optional bool hasCorefAnnotation = 16;
hasHasCorefAnnotation
in interface CoreNLPProtos.DocumentOrBuilder
public boolean getHasCorefAnnotation()
optional bool hasCorefAnnotation = 16;
getHasCorefAnnotation
in interface CoreNLPProtos.DocumentOrBuilder
public CoreNLPProtos.Document.Builder setHasCorefAnnotation(boolean value)
optional bool hasCorefAnnotation = 16;
value
- The hasCorefAnnotation to set.public CoreNLPProtos.Document.Builder clearHasCorefAnnotation()
optional bool hasCorefAnnotation = 16;
public java.util.List<java.lang.Integer> getCorefMentionToEntityMentionMappingsList()
repeated int32 corefMentionToEntityMentionMappings = 17;
getCorefMentionToEntityMentionMappingsList
in interface CoreNLPProtos.DocumentOrBuilder
public int getCorefMentionToEntityMentionMappingsCount()
repeated int32 corefMentionToEntityMentionMappings = 17;
getCorefMentionToEntityMentionMappingsCount
in interface CoreNLPProtos.DocumentOrBuilder
public int getCorefMentionToEntityMentionMappings(int index)
repeated int32 corefMentionToEntityMentionMappings = 17;
getCorefMentionToEntityMentionMappings
in interface CoreNLPProtos.DocumentOrBuilder
index
- The index of the element to return.public CoreNLPProtos.Document.Builder setCorefMentionToEntityMentionMappings(int index, int value)
repeated int32 corefMentionToEntityMentionMappings = 17;
index
- The index to set the value at.value
- The corefMentionToEntityMentionMappings to set.public CoreNLPProtos.Document.Builder addCorefMentionToEntityMentionMappings(int value)
repeated int32 corefMentionToEntityMentionMappings = 17;
value
- The corefMentionToEntityMentionMappings to add.public CoreNLPProtos.Document.Builder addAllCorefMentionToEntityMentionMappings(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 corefMentionToEntityMentionMappings = 17;
values
- The corefMentionToEntityMentionMappings to add.public CoreNLPProtos.Document.Builder clearCorefMentionToEntityMentionMappings()
repeated int32 corefMentionToEntityMentionMappings = 17;
public java.util.List<java.lang.Integer> getEntityMentionToCorefMentionMappingsList()
repeated int32 entityMentionToCorefMentionMappings = 18;
getEntityMentionToCorefMentionMappingsList
in interface CoreNLPProtos.DocumentOrBuilder
public int getEntityMentionToCorefMentionMappingsCount()
repeated int32 entityMentionToCorefMentionMappings = 18;
getEntityMentionToCorefMentionMappingsCount
in interface CoreNLPProtos.DocumentOrBuilder
public int getEntityMentionToCorefMentionMappings(int index)
repeated int32 entityMentionToCorefMentionMappings = 18;
getEntityMentionToCorefMentionMappings
in interface CoreNLPProtos.DocumentOrBuilder
index
- The index of the element to return.public CoreNLPProtos.Document.Builder setEntityMentionToCorefMentionMappings(int index, int value)
repeated int32 entityMentionToCorefMentionMappings = 18;
index
- The index to set the value at.value
- The entityMentionToCorefMentionMappings to set.public CoreNLPProtos.Document.Builder addEntityMentionToCorefMentionMappings(int value)
repeated int32 entityMentionToCorefMentionMappings = 18;
value
- The entityMentionToCorefMentionMappings to add.public CoreNLPProtos.Document.Builder addAllEntityMentionToCorefMentionMappings(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 entityMentionToCorefMentionMappings = 18;
values
- The entityMentionToCorefMentionMappings to add.public CoreNLPProtos.Document.Builder clearEntityMentionToCorefMentionMappings()
repeated int32 entityMentionToCorefMentionMappings = 18;
public final CoreNLPProtos.Document.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Document.Builder>
public final CoreNLPProtos.Document.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Document.Builder>