public static final class CoreNLPProtos.Document extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<CoreNLPProtos.Document> implements CoreNLPProtos.DocumentOrBuilder
A document; that is, the equivalent of an Annotation.Protobuf type
edu.stanford.nlp.pipeline.Document| Modifier and Type | Class and Description |
|---|---|
static class |
CoreNLPProtos.Document.Builder
A document; that is, the equivalent of an Annotation.
|
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWritercom.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CALENDAR_FIELD_NUMBER |
static int |
CHARACTER_FIELD_NUMBER |
static int |
COREFCHAIN_FIELD_NUMBER |
static int |
COREFMENTIONTOENTITYMENTIONMAPPINGS_FIELD_NUMBER |
static int |
DOCDATE_FIELD_NUMBER |
static int |
DOCID_FIELD_NUMBER |
static int |
ENTITYMENTIONTOCOREFMENTIONMAPPINGS_FIELD_NUMBER |
static int |
HASCOREFANNOTATION_FIELD_NUMBER |
static int |
HASCOREFMENTIONANNOTATION_FIELD_NUMBER |
static int |
HASENTITYMENTIONSANNOTATION_FIELD_NUMBER |
static int |
MENTIONS_FIELD_NUMBER |
static int |
MENTIONSFORCOREF_FIELD_NUMBER |
static com.google.protobuf.Parser<CoreNLPProtos.Document> |
PARSER
Deprecated.
|
static int |
QUOTE_FIELD_NUMBER |
static int |
SECTIONS_FIELD_NUMBER |
static int |
SENTENCE_FIELD_NUMBER |
static int |
SENTENCELESSTOKEN_FIELD_NUMBER |
static int |
TEXT_FIELD_NUMBER |
static int |
XMLDOC_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
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; |
static CoreNLPProtos.Document |
getDefaultInstance() |
CoreNLPProtos.Document |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<CoreNLPProtos.Document> |
getParserForType() |
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; |
int |
getSerializedSize() |
java.lang.String |
getText()
required string text = 1; |
com.google.protobuf.ByteString |
getTextBytes()
required string text = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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
|
int |
hashCode() |
boolean |
hasText()
required string text = 1; |
boolean |
hasXmlDoc()
xml information
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CoreNLPProtos.Document.Builder |
newBuilder() |
static CoreNLPProtos.Document.Builder |
newBuilder(CoreNLPProtos.Document prototype) |
CoreNLPProtos.Document.Builder |
newBuilderForType() |
protected CoreNLPProtos.Document.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CoreNLPProtos.Document |
parseDelimitedFrom(java.io.InputStream input) |
static CoreNLPProtos.Document |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Document |
parseFrom(byte[] data) |
static CoreNLPProtos.Document |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Document |
parseFrom(java.nio.ByteBuffer data) |
static CoreNLPProtos.Document |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Document |
parseFrom(com.google.protobuf.ByteString data) |
static CoreNLPProtos.Document |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Document |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CoreNLPProtos.Document |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Document |
parseFrom(java.io.InputStream input) |
static CoreNLPProtos.Document |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CoreNLPProtos.Document> |
parser() |
CoreNLPProtos.Document.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldProto3canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, isStringEmpty, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionpublic static final int TEXT_FIELD_NUMBER
public static final int SENTENCE_FIELD_NUMBER
public static final int COREFCHAIN_FIELD_NUMBER
public static final int DOCID_FIELD_NUMBER
public static final int DOCDATE_FIELD_NUMBER
public static final int CALENDAR_FIELD_NUMBER
public static final int SENTENCELESSTOKEN_FIELD_NUMBER
public static final int CHARACTER_FIELD_NUMBER
public static final int QUOTE_FIELD_NUMBER
public static final int MENTIONS_FIELD_NUMBER
public static final int HASENTITYMENTIONSANNOTATION_FIELD_NUMBER
public static final int XMLDOC_FIELD_NUMBER
public static final int SECTIONS_FIELD_NUMBER
public static final int MENTIONSFORCOREF_FIELD_NUMBER
public static final int HASCOREFMENTIONANNOTATION_FIELD_NUMBER
public static final int HASCOREFANNOTATION_FIELD_NUMBER
public static final int COREFMENTIONTOENTITYMENTIONMAPPINGS_FIELD_NUMBER
public static final int ENTITYMENTIONTOCOREFMENTIONMAPPINGS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<CoreNLPProtos.Document> PARSER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasText()
required string text = 1;hasText in interface CoreNLPProtos.DocumentOrBuilderpublic java.lang.String getText()
required string text = 1;getText in interface CoreNLPProtos.DocumentOrBuilderpublic com.google.protobuf.ByteString getTextBytes()
required string text = 1;getTextBytes in interface CoreNLPProtos.DocumentOrBuilderpublic java.util.List<CoreNLPProtos.Sentence> getSentenceList()
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;getSentenceList in interface CoreNLPProtos.DocumentOrBuilderpublic java.util.List<? extends CoreNLPProtos.SentenceOrBuilder> getSentenceOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;getSentenceOrBuilderList in interface CoreNLPProtos.DocumentOrBuilderpublic int getSentenceCount()
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;getSentenceCount in interface CoreNLPProtos.DocumentOrBuilderpublic CoreNLPProtos.Sentence getSentence(int index)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;getSentence in interface CoreNLPProtos.DocumentOrBuilderpublic CoreNLPProtos.SentenceOrBuilder getSentenceOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2;getSentenceOrBuilder in interface CoreNLPProtos.DocumentOrBuilderpublic java.util.List<CoreNLPProtos.CorefChain> getCorefChainList()
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;getCorefChainList in interface CoreNLPProtos.DocumentOrBuilderpublic java.util.List<? extends CoreNLPProtos.CorefChainOrBuilder> getCorefChainOrBuilderList()
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;getCorefChainOrBuilderList in interface CoreNLPProtos.DocumentOrBuilderpublic int getCorefChainCount()
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;getCorefChainCount in interface CoreNLPProtos.DocumentOrBuilderpublic CoreNLPProtos.CorefChain getCorefChain(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;getCorefChain in interface CoreNLPProtos.DocumentOrBuilderpublic CoreNLPProtos.CorefChainOrBuilder getCorefChainOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3;getCorefChainOrBuilder in interface CoreNLPProtos.DocumentOrBuilderpublic boolean hasDocID()
optional string docID = 4;hasDocID in interface CoreNLPProtos.DocumentOrBuilderpublic java.lang.String getDocID()
optional string docID = 4;getDocID in interface CoreNLPProtos.DocumentOrBuilderpublic com.google.protobuf.ByteString getDocIDBytes()
optional string docID = 4;getDocIDBytes in interface CoreNLPProtos.DocumentOrBuilderpublic boolean hasDocDate()
optional string docDate = 7;hasDocDate in interface CoreNLPProtos.DocumentOrBuilderpublic java.lang.String getDocDate()
optional string docDate = 7;getDocDate in interface CoreNLPProtos.DocumentOrBuilderpublic com.google.protobuf.ByteString getDocDateBytes()
optional string docDate = 7;getDocDateBytes in interface CoreNLPProtos.DocumentOrBuilderpublic boolean hasCalendar()
optional uint64 calendar = 8;hasCalendar in interface CoreNLPProtos.DocumentOrBuilderpublic long getCalendar()
optional uint64 calendar = 8;getCalendar in interface CoreNLPProtos.DocumentOrBuilderpublic 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.DocumentOrBuilderpublic 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.DocumentOrBuilderpublic 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.DocumentOrBuilderpublic 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.DocumentOrBuilderpublic 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.DocumentOrBuilderpublic java.util.List<CoreNLPProtos.Token> getCharacterList()
repeated .edu.stanford.nlp.pipeline.Token character = 10;getCharacterList in interface CoreNLPProtos.DocumentOrBuilderpublic java.util.List<? extends CoreNLPProtos.TokenOrBuilder> getCharacterOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Token character = 10;getCharacterOrBuilderList in interface CoreNLPProtos.DocumentOrBuilderpublic int getCharacterCount()
repeated .edu.stanford.nlp.pipeline.Token character = 10;getCharacterCount in interface CoreNLPProtos.DocumentOrBuilderpublic CoreNLPProtos.Token getCharacter(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 10;getCharacter in interface CoreNLPProtos.DocumentOrBuilderpublic CoreNLPProtos.TokenOrBuilder getCharacterOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 10;getCharacterOrBuilder in interface CoreNLPProtos.DocumentOrBuilderpublic java.util.List<CoreNLPProtos.Quote> getQuoteList()
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;getQuoteList in interface CoreNLPProtos.DocumentOrBuilderpublic java.util.List<? extends CoreNLPProtos.QuoteOrBuilder> getQuoteOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;getQuoteOrBuilderList in interface CoreNLPProtos.DocumentOrBuilderpublic int getQuoteCount()
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;getQuoteCount in interface CoreNLPProtos.DocumentOrBuilderpublic CoreNLPProtos.Quote getQuote(int index)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;getQuote in interface CoreNLPProtos.DocumentOrBuilderpublic CoreNLPProtos.QuoteOrBuilder getQuoteOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Quote quote = 6;getQuoteOrBuilder in interface CoreNLPProtos.DocumentOrBuilderpublic 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.DocumentOrBuilderpublic 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.DocumentOrBuilderpublic int getMentionsCount()
This field is for entity mentions across the document.
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 9;getMentionsCount in interface CoreNLPProtos.DocumentOrBuilderpublic 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.DocumentOrBuilderpublic 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.DocumentOrBuilderpublic boolean hasHasEntityMentionsAnnotation()
used to differentiate between null and empty list
optional bool hasEntityMentionsAnnotation = 13;hasHasEntityMentionsAnnotation in interface CoreNLPProtos.DocumentOrBuilderpublic boolean getHasEntityMentionsAnnotation()
used to differentiate between null and empty list
optional bool hasEntityMentionsAnnotation = 13;getHasEntityMentionsAnnotation in interface CoreNLPProtos.DocumentOrBuilderpublic boolean hasXmlDoc()
xml information
optional bool xmlDoc = 11;hasXmlDoc in interface CoreNLPProtos.DocumentOrBuilderpublic boolean getXmlDoc()
xml information
optional bool xmlDoc = 11;getXmlDoc in interface CoreNLPProtos.DocumentOrBuilderpublic java.util.List<CoreNLPProtos.Section> getSectionsList()
repeated .edu.stanford.nlp.pipeline.Section sections = 12;getSectionsList in interface CoreNLPProtos.DocumentOrBuilderpublic java.util.List<? extends CoreNLPProtos.SectionOrBuilder> getSectionsOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Section sections = 12;getSectionsOrBuilderList in interface CoreNLPProtos.DocumentOrBuilderpublic int getSectionsCount()
repeated .edu.stanford.nlp.pipeline.Section sections = 12;getSectionsCount in interface CoreNLPProtos.DocumentOrBuilderpublic CoreNLPProtos.Section getSections(int index)
repeated .edu.stanford.nlp.pipeline.Section sections = 12;getSections in interface CoreNLPProtos.DocumentOrBuilderpublic CoreNLPProtos.SectionOrBuilder getSectionsOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Section sections = 12;getSectionsOrBuilder in interface CoreNLPProtos.DocumentOrBuilderpublic java.util.List<CoreNLPProtos.Mention> getMentionsForCorefList()
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;getMentionsForCorefList in interface CoreNLPProtos.DocumentOrBuilderpublic java.util.List<? extends CoreNLPProtos.MentionOrBuilder> getMentionsForCorefOrBuilderList()
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;getMentionsForCorefOrBuilderList in interface CoreNLPProtos.DocumentOrBuilderpublic int getMentionsForCorefCount()
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;getMentionsForCorefCount in interface CoreNLPProtos.DocumentOrBuilderpublic CoreNLPProtos.Mention getMentionsForCoref(int index)
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;getMentionsForCoref in interface CoreNLPProtos.DocumentOrBuilderpublic CoreNLPProtos.MentionOrBuilder getMentionsForCorefOrBuilder(int index)
coref mentions for entire document *
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 14;getMentionsForCorefOrBuilder in interface CoreNLPProtos.DocumentOrBuilderpublic boolean hasHasCorefMentionAnnotation()
optional bool hasCorefMentionAnnotation = 15;hasHasCorefMentionAnnotation in interface CoreNLPProtos.DocumentOrBuilderpublic boolean getHasCorefMentionAnnotation()
optional bool hasCorefMentionAnnotation = 15;getHasCorefMentionAnnotation in interface CoreNLPProtos.DocumentOrBuilderpublic boolean hasHasCorefAnnotation()
optional bool hasCorefAnnotation = 16;hasHasCorefAnnotation in interface CoreNLPProtos.DocumentOrBuilderpublic boolean getHasCorefAnnotation()
optional bool hasCorefAnnotation = 16;getHasCorefAnnotation in interface CoreNLPProtos.DocumentOrBuilderpublic java.util.List<java.lang.Integer> getCorefMentionToEntityMentionMappingsList()
repeated int32 corefMentionToEntityMentionMappings = 17;getCorefMentionToEntityMentionMappingsList in interface CoreNLPProtos.DocumentOrBuilderpublic int getCorefMentionToEntityMentionMappingsCount()
repeated int32 corefMentionToEntityMentionMappings = 17;getCorefMentionToEntityMentionMappingsCount in interface CoreNLPProtos.DocumentOrBuilderpublic int getCorefMentionToEntityMentionMappings(int index)
repeated int32 corefMentionToEntityMentionMappings = 17;getCorefMentionToEntityMentionMappings in interface CoreNLPProtos.DocumentOrBuilderindex - The index of the element to return.public java.util.List<java.lang.Integer> getEntityMentionToCorefMentionMappingsList()
repeated int32 entityMentionToCorefMentionMappings = 18;getEntityMentionToCorefMentionMappingsList in interface CoreNLPProtos.DocumentOrBuilderpublic int getEntityMentionToCorefMentionMappingsCount()
repeated int32 entityMentionToCorefMentionMappings = 18;getEntityMentionToCorefMentionMappingsCount in interface CoreNLPProtos.DocumentOrBuilderpublic int getEntityMentionToCorefMentionMappings(int index)
repeated int32 entityMentionToCorefMentionMappings = 18;getEntityMentionToCorefMentionMappings in interface CoreNLPProtos.DocumentOrBuilderindex - The index of the element to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.ExtendableMessage<CoreNLPProtos.Document>public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CoreNLPProtos.Document parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Document parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Document parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Document parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Document parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Document parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Document parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.Document parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.Document parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.Document parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.Document parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.Document parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic CoreNLPProtos.Document.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CoreNLPProtos.Document.Builder newBuilder()
public static CoreNLPProtos.Document.Builder newBuilder(CoreNLPProtos.Document prototype)
public CoreNLPProtos.Document.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CoreNLPProtos.Document.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CoreNLPProtos.Document getDefaultInstance()
public static com.google.protobuf.Parser<CoreNLPProtos.Document> parser()
public com.google.protobuf.Parser<CoreNLPProtos.Document> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CoreNLPProtos.Document getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<CoreNLPProtos.Document>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder