public static final class CoreNLPProtos.Sentence extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<CoreNLPProtos.Sentence> implements CoreNLPProtos.SentenceOrBuilder
The serialized version of a CoreMap representing a sentence.Protobuf type
edu.stanford.nlp.pipeline.Sentence
Modifier and Type | Class and Description |
---|---|
static class |
CoreNLPProtos.Sentence.Builder
The serialized version of a CoreMap representing a sentence.
|
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriter
com.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 | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
CoreNLPProtos.DependencyGraph |
getAlternativeDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph alternativeDependencies = 13; |
CoreNLPProtos.DependencyGraphOrBuilder |
getAlternativeDependenciesOrBuilder()
optional .edu.stanford.nlp.pipeline.DependencyGraph alternativeDependencies = 13; |
CoreNLPProtos.ParseTree |
getAnnotatedParseTree()
optional .edu.stanford.nlp.pipeline.ParseTree annotatedParseTree = 32; |
CoreNLPProtos.ParseTreeOrBuilder |
getAnnotatedParseTreeOrBuilder()
optional .edu.stanford.nlp.pipeline.ParseTree annotatedParseTree = 32; |
CoreNLPProtos.DependencyGraph |
getBasicDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph basicDependencies = 8; |
CoreNLPProtos.DependencyGraphOrBuilder |
getBasicDependenciesOrBuilder()
optional .edu.stanford.nlp.pipeline.DependencyGraph basicDependencies = 8; |
CoreNLPProtos.ParseTree |
getBinarizedParseTree()
optional .edu.stanford.nlp.pipeline.ParseTree binarizedParseTree = 31; |
CoreNLPProtos.ParseTreeOrBuilder |
getBinarizedParseTreeOrBuilder()
optional .edu.stanford.nlp.pipeline.ParseTree binarizedParseTree = 31; |
int |
getChapterIndex()
quote stuff
|
CoreNLPProtos.Token |
getCharacter(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 19; |
int |
getCharacterCount()
repeated .edu.stanford.nlp.pipeline.Token character = 19; |
java.util.List<CoreNLPProtos.Token> |
getCharacterList()
repeated .edu.stanford.nlp.pipeline.Token character = 19; |
int |
getCharacterOffsetBegin()
optional uint32 characterOffsetBegin = 5; |
int |
getCharacterOffsetEnd()
optional uint32 characterOffsetEnd = 6; |
CoreNLPProtos.TokenOrBuilder |
getCharacterOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 19; |
java.util.List<? extends CoreNLPProtos.TokenOrBuilder> |
getCharacterOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Token character = 19; |
CoreNLPProtos.DependencyGraph |
getCollapsedCCProcessedDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph collapsedCCProcessedDependencies = 10; |
CoreNLPProtos.DependencyGraphOrBuilder |
getCollapsedCCProcessedDependenciesOrBuilder()
optional .edu.stanford.nlp.pipeline.DependencyGraph collapsedCCProcessedDependencies = 10; |
CoreNLPProtos.DependencyGraph |
getCollapsedDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph collapsedDependencies = 9; |
CoreNLPProtos.DependencyGraphOrBuilder |
getCollapsedDependenciesOrBuilder()
optional .edu.stanford.nlp.pipeline.DependencyGraph collapsedDependencies = 9; |
static CoreNLPProtos.Sentence |
getDefaultInstance() |
CoreNLPProtos.Sentence |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getDocID()
doc id
|
com.google.protobuf.ByteString |
getDocIDBytes()
doc id
|
CoreNLPProtos.DependencyGraph |
getEnhancedDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedDependencies = 17; |
CoreNLPProtos.DependencyGraphOrBuilder |
getEnhancedDependenciesOrBuilder()
optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedDependencies = 17; |
CoreNLPProtos.DependencyGraph |
getEnhancedPlusPlusDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedPlusPlusDependencies = 18; |
CoreNLPProtos.DependencyGraphOrBuilder |
getEnhancedPlusPlusDependenciesOrBuilder()
optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedPlusPlusDependencies = 18; |
CoreNLPProtos.Sentence |
getEnhancedSentence()
the quote annotator can soometimes add merged sentences
|
CoreNLPProtos.SentenceOrBuilder |
getEnhancedSentenceOrBuilder()
the quote annotator can soometimes add merged sentences
|
CoreNLPProtos.SentenceFragment |
getEntailedClause(int index)
The entailed clauses, by natural logic
|
int |
getEntailedClauseCount()
The entailed clauses, by natural logic
|
java.util.List<CoreNLPProtos.SentenceFragment> |
getEntailedClauseList()
The entailed clauses, by natural logic
|
CoreNLPProtos.SentenceFragmentOrBuilder |
getEntailedClauseOrBuilder(int index)
The entailed clauses, by natural logic
|
java.util.List<? extends CoreNLPProtos.SentenceFragmentOrBuilder> |
getEntailedClauseOrBuilderList()
The entailed clauses, by natural logic
|
CoreNLPProtos.SentenceFragment |
getEntailedSentence(int index)
The entailed sentences, by natural logic
|
int |
getEntailedSentenceCount()
The entailed sentences, by natural logic
|
java.util.List<CoreNLPProtos.SentenceFragment> |
getEntailedSentenceList()
The entailed sentences, by natural logic
|
CoreNLPProtos.SentenceFragmentOrBuilder |
getEntailedSentenceOrBuilder(int index)
The entailed sentences, by natural logic
|
java.util.List<? extends CoreNLPProtos.SentenceFragmentOrBuilder> |
getEntailedSentenceOrBuilderList()
The entailed sentences, by natural logic
|
CoreNLPProtos.Entity |
getEntity(int index)
repeated .edu.stanford.nlp.pipeline.Entity entity = 52; |
int |
getEntityCount()
repeated .edu.stanford.nlp.pipeline.Entity entity = 52; |
java.util.List<CoreNLPProtos.Entity> |
getEntityList()
repeated .edu.stanford.nlp.pipeline.Entity entity = 52; |
CoreNLPProtos.EntityOrBuilder |
getEntityOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Entity entity = 52; |
java.util.List<? extends CoreNLPProtos.EntityOrBuilder> |
getEntityOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Entity entity = 52; |
boolean |
getHasCorefMentionsAnnotation()
optional bool hasCorefMentionsAnnotation = 57; |
boolean |
getHasEntityMentionsAnnotation()
check if there are entity mentions
|
boolean |
getHasKBPTriplesAnnotation()
check if there are KBP triples
|
boolean |
getHasNumerizedTokensAnnotation()
optional bool hasNumerizedTokensAnnotation = 54; |
boolean |
getHasOpenieTriplesAnnotation()
check if there are OpenIE triples
|
boolean |
getHasRelationAnnotations()
Fields set by other annotators in CoreNLP
|
CoreNLPProtos.ParseTree |
getKBestParseTrees(int index)
repeated .edu.stanford.nlp.pipeline.ParseTree kBestParseTrees = 34; |
int |
getKBestParseTreesCount()
repeated .edu.stanford.nlp.pipeline.ParseTree kBestParseTrees = 34; |
java.util.List<CoreNLPProtos.ParseTree> |
getKBestParseTreesList()
repeated .edu.stanford.nlp.pipeline.ParseTree kBestParseTrees = 34; |
CoreNLPProtos.ParseTreeOrBuilder |
getKBestParseTreesOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.ParseTree kBestParseTrees = 34; |
java.util.List<? extends CoreNLPProtos.ParseTreeOrBuilder> |
getKBestParseTreesOrBuilderList()
repeated .edu.stanford.nlp.pipeline.ParseTree kBestParseTrees = 34; |
CoreNLPProtos.RelationTriple |
getKbpTriple(int index)
The KBP triples in this sentence
|
int |
getKbpTripleCount()
The KBP triples in this sentence
|
java.util.List<CoreNLPProtos.RelationTriple> |
getKbpTripleList()
The KBP triples in this sentence
|
CoreNLPProtos.RelationTripleOrBuilder |
getKbpTripleOrBuilder(int index)
The KBP triples in this sentence
|
java.util.List<? extends CoreNLPProtos.RelationTripleOrBuilder> |
getKbpTripleOrBuilderList()
The KBP triples in this sentence
|
int |
getLineNumber()
optional uint32 lineNumber = 20; |
CoreNLPProtos.NERMention |
getMentions(int index)
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 55; |
int |
getMentionsCount()
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 55; |
CoreNLPProtos.Mention |
getMentionsForCoref(int index)
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 56; |
int |
getMentionsForCorefCount()
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 56; |
java.util.List<CoreNLPProtos.Mention> |
getMentionsForCorefList()
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 56; |
CoreNLPProtos.MentionOrBuilder |
getMentionsForCorefOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 56; |
java.util.List<? extends CoreNLPProtos.MentionOrBuilder> |
getMentionsForCorefOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 56; |
java.util.List<CoreNLPProtos.NERMention> |
getMentionsList()
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 55; |
CoreNLPProtos.NERMentionOrBuilder |
getMentionsOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 55; |
java.util.List<? extends CoreNLPProtos.NERMentionOrBuilder> |
getMentionsOrBuilderList()
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 55; |
CoreNLPProtos.RelationTriple |
getOpenieTriple(int index)
The OpenIE triples in the sentence
|
int |
getOpenieTripleCount()
The OpenIE triples in the sentence
|
java.util.List<CoreNLPProtos.RelationTriple> |
getOpenieTripleList()
The OpenIE triples in the sentence
|
CoreNLPProtos.RelationTripleOrBuilder |
getOpenieTripleOrBuilder(int index)
The OpenIE triples in the sentence
|
java.util.List<? extends CoreNLPProtos.RelationTripleOrBuilder> |
getOpenieTripleOrBuilderList()
The OpenIE triples in the sentence
|
int |
getParagraph()
optional uint32 paragraph = 11; |
int |
getParagraphIndex()
optional uint32 paragraphIndex = 67; |
com.google.protobuf.Parser<CoreNLPProtos.Sentence> |
getParserForType() |
CoreNLPProtos.ParseTree |
getParseTree()
optional .edu.stanford.nlp.pipeline.ParseTree parseTree = 7; |
CoreNLPProtos.ParseTreeOrBuilder |
getParseTreeOrBuilder()
optional .edu.stanford.nlp.pipeline.ParseTree parseTree = 7; |
CoreNLPProtos.Relation |
getRelation(int index)
repeated .edu.stanford.nlp.pipeline.Relation relation = 53; |
int |
getRelationCount()
repeated .edu.stanford.nlp.pipeline.Relation relation = 53; |
java.util.List<CoreNLPProtos.Relation> |
getRelationList()
repeated .edu.stanford.nlp.pipeline.Relation relation = 53; |
CoreNLPProtos.RelationOrBuilder |
getRelationOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Relation relation = 53; |
java.util.List<? extends CoreNLPProtos.RelationOrBuilder> |
getRelationOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Relation relation = 53; |
java.lang.String |
getSectionAuthor()
author of section
|
com.google.protobuf.ByteString |
getSectionAuthorBytes()
author of section
|
java.lang.String |
getSectionDate()
date of section
|
com.google.protobuf.ByteString |
getSectionDateBytes()
date of section
|
int |
getSectionIndex()
section index for this sentence's section
|
java.lang.String |
getSectionName()
name of section
|
com.google.protobuf.ByteString |
getSectionNameBytes()
name of section
|
boolean |
getSectionQuoted()
is this sentence in an xml quote in a post
|
java.lang.String |
getSentenceID()
Useful when storing sentences (e.g.
|
com.google.protobuf.ByteString |
getSentenceIDBytes()
Useful when storing sentences (e.g.
|
int |
getSentenceIndex()
optional uint32 sentenceIndex = 4; |
java.lang.String |
getSentiment()
optional string sentiment = 33; |
com.google.protobuf.ByteString |
getSentimentBytes()
optional string sentiment = 33; |
int |
getSerializedSize() |
java.lang.String |
getSpeaker()
speaker stuff
|
com.google.protobuf.ByteString |
getSpeakerBytes()
speaker stuff
|
java.lang.String |
getSpeakerType()
The type of speaker speaking this sentence
|
com.google.protobuf.ByteString |
getSpeakerTypeBytes()
The type of speaker speaking this sentence
|
java.lang.String |
getText()
Only needed if we're only saving the sentence.
|
com.google.protobuf.ByteString |
getTextBytes()
Only needed if we're only saving the sentence.
|
CoreNLPProtos.Token |
getToken(int index)
repeated .edu.stanford.nlp.pipeline.Token token = 1; |
int |
getTokenCount()
repeated .edu.stanford.nlp.pipeline.Token token = 1; |
java.util.List<CoreNLPProtos.Token> |
getTokenList()
repeated .edu.stanford.nlp.pipeline.Token token = 1; |
int |
getTokenOffsetBegin()
required uint32 tokenOffsetBegin = 2; |
int |
getTokenOffsetEnd()
required uint32 tokenOffsetEnd = 3; |
CoreNLPProtos.TokenOrBuilder |
getTokenOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Token token = 1; |
java.util.List<? extends CoreNLPProtos.TokenOrBuilder> |
getTokenOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Token token = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAlternativeDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph alternativeDependencies = 13; |
boolean |
hasAnnotatedParseTree()
optional .edu.stanford.nlp.pipeline.ParseTree annotatedParseTree = 32; |
boolean |
hasBasicDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph basicDependencies = 8; |
boolean |
hasBinarizedParseTree()
optional .edu.stanford.nlp.pipeline.ParseTree binarizedParseTree = 31; |
boolean |
hasChapterIndex()
quote stuff
|
boolean |
hasCharacterOffsetBegin()
optional uint32 characterOffsetBegin = 5; |
boolean |
hasCharacterOffsetEnd()
optional uint32 characterOffsetEnd = 6; |
boolean |
hasCollapsedCCProcessedDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph collapsedCCProcessedDependencies = 10; |
boolean |
hasCollapsedDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph collapsedDependencies = 9; |
boolean |
hasDocID()
doc id
|
boolean |
hasEnhancedDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedDependencies = 17; |
boolean |
hasEnhancedPlusPlusDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedPlusPlusDependencies = 18; |
boolean |
hasEnhancedSentence()
the quote annotator can soometimes add merged sentences
|
boolean |
hasHasCorefMentionsAnnotation()
optional bool hasCorefMentionsAnnotation = 57; |
boolean |
hasHasEntityMentionsAnnotation()
check if there are entity mentions
|
boolean |
hasHasKBPTriplesAnnotation()
check if there are KBP triples
|
boolean |
hasHasNumerizedTokensAnnotation()
optional bool hasNumerizedTokensAnnotation = 54; |
boolean |
hasHasOpenieTriplesAnnotation()
check if there are OpenIE triples
|
boolean |
hasHasRelationAnnotations()
Fields set by other annotators in CoreNLP
|
int |
hashCode() |
boolean |
hasLineNumber()
optional uint32 lineNumber = 20; |
boolean |
hasParagraph()
optional uint32 paragraph = 11; |
boolean |
hasParagraphIndex()
optional uint32 paragraphIndex = 67; |
boolean |
hasParseTree()
optional .edu.stanford.nlp.pipeline.ParseTree parseTree = 7; |
boolean |
hasSectionAuthor()
author of section
|
boolean |
hasSectionDate()
date of section
|
boolean |
hasSectionIndex()
section index for this sentence's section
|
boolean |
hasSectionName()
name of section
|
boolean |
hasSectionQuoted()
is this sentence in an xml quote in a post
|
boolean |
hasSentenceID()
Useful when storing sentences (e.g.
|
boolean |
hasSentenceIndex()
optional uint32 sentenceIndex = 4; |
boolean |
hasSentiment()
optional string sentiment = 33; |
boolean |
hasSpeaker()
speaker stuff
|
boolean |
hasSpeakerType()
The type of speaker speaking this sentence
|
boolean |
hasText()
Only needed if we're only saving the sentence.
|
boolean |
hasTokenOffsetBegin()
required uint32 tokenOffsetBegin = 2; |
boolean |
hasTokenOffsetEnd()
required uint32 tokenOffsetEnd = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CoreNLPProtos.Sentence.Builder |
newBuilder() |
static CoreNLPProtos.Sentence.Builder |
newBuilder(CoreNLPProtos.Sentence prototype) |
CoreNLPProtos.Sentence.Builder |
newBuilderForType() |
protected CoreNLPProtos.Sentence.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CoreNLPProtos.Sentence |
parseDelimitedFrom(java.io.InputStream input) |
static CoreNLPProtos.Sentence |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Sentence |
parseFrom(byte[] data) |
static CoreNLPProtos.Sentence |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Sentence |
parseFrom(java.nio.ByteBuffer data) |
static CoreNLPProtos.Sentence |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Sentence |
parseFrom(com.google.protobuf.ByteString data) |
static CoreNLPProtos.Sentence |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Sentence |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CoreNLPProtos.Sentence |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Sentence |
parseFrom(java.io.InputStream input) |
static CoreNLPProtos.Sentence |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CoreNLPProtos.Sentence> |
parser() |
CoreNLPProtos.Sentence.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, parseUnknownFieldProto3
canUseUnsafe, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
public static final int TOKEN_FIELD_NUMBER
public static final int TOKENOFFSETBEGIN_FIELD_NUMBER
public static final int TOKENOFFSETEND_FIELD_NUMBER
public static final int SENTENCEINDEX_FIELD_NUMBER
public static final int CHARACTEROFFSETBEGIN_FIELD_NUMBER
public static final int CHARACTEROFFSETEND_FIELD_NUMBER
public static final int PARSETREE_FIELD_NUMBER
public static final int BINARIZEDPARSETREE_FIELD_NUMBER
public static final int ANNOTATEDPARSETREE_FIELD_NUMBER
public static final int SENTIMENT_FIELD_NUMBER
public static final int KBESTPARSETREES_FIELD_NUMBER
public static final int BASICDEPENDENCIES_FIELD_NUMBER
public static final int COLLAPSEDDEPENDENCIES_FIELD_NUMBER
public static final int COLLAPSEDCCPROCESSEDDEPENDENCIES_FIELD_NUMBER
public static final int ALTERNATIVEDEPENDENCIES_FIELD_NUMBER
public static final int OPENIETRIPLE_FIELD_NUMBER
public static final int KBPTRIPLE_FIELD_NUMBER
public static final int ENTAILEDSENTENCE_FIELD_NUMBER
public static final int ENTAILEDCLAUSE_FIELD_NUMBER
public static final int ENHANCEDDEPENDENCIES_FIELD_NUMBER
public static final int ENHANCEDPLUSPLUSDEPENDENCIES_FIELD_NUMBER
public static final int CHARACTER_FIELD_NUMBER
public static final int PARAGRAPH_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
public static final int LINENUMBER_FIELD_NUMBER
public static final int HASRELATIONANNOTATIONS_FIELD_NUMBER
public static final int ENTITY_FIELD_NUMBER
public static final int RELATION_FIELD_NUMBER
public static final int HASNUMERIZEDTOKENSANNOTATION_FIELD_NUMBER
public static final int MENTIONS_FIELD_NUMBER
public static final int MENTIONSFORCOREF_FIELD_NUMBER
public static final int HASCOREFMENTIONSANNOTATION_FIELD_NUMBER
public static final int SENTENCEID_FIELD_NUMBER
public static final int SECTIONDATE_FIELD_NUMBER
public static final int SECTIONINDEX_FIELD_NUMBER
public static final int SECTIONNAME_FIELD_NUMBER
public static final int SECTIONAUTHOR_FIELD_NUMBER
public static final int DOCID_FIELD_NUMBER
public static final int SECTIONQUOTED_FIELD_NUMBER
public static final int HASENTITYMENTIONSANNOTATION_FIELD_NUMBER
public static final int HASKBPTRIPLESANNOTATION_FIELD_NUMBER
public static final int HASOPENIETRIPLESANNOTATION_FIELD_NUMBER
public static final int CHAPTERINDEX_FIELD_NUMBER
public static final int PARAGRAPHINDEX_FIELD_NUMBER
public static final int ENHANCEDSENTENCE_FIELD_NUMBER
public static final int SPEAKER_FIELD_NUMBER
public static final int SPEAKERTYPE_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<CoreNLPProtos.Sentence> PARSER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public java.util.List<CoreNLPProtos.Token> getTokenList()
repeated .edu.stanford.nlp.pipeline.Token token = 1;
getTokenList
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<? extends CoreNLPProtos.TokenOrBuilder> getTokenOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Token token = 1;
getTokenOrBuilderList
in interface CoreNLPProtos.SentenceOrBuilder
public int getTokenCount()
repeated .edu.stanford.nlp.pipeline.Token token = 1;
getTokenCount
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.Token getToken(int index)
repeated .edu.stanford.nlp.pipeline.Token token = 1;
getToken
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.TokenOrBuilder getTokenOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Token token = 1;
getTokenOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasTokenOffsetBegin()
required uint32 tokenOffsetBegin = 2;
hasTokenOffsetBegin
in interface CoreNLPProtos.SentenceOrBuilder
public int getTokenOffsetBegin()
required uint32 tokenOffsetBegin = 2;
getTokenOffsetBegin
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasTokenOffsetEnd()
required uint32 tokenOffsetEnd = 3;
hasTokenOffsetEnd
in interface CoreNLPProtos.SentenceOrBuilder
public int getTokenOffsetEnd()
required uint32 tokenOffsetEnd = 3;
getTokenOffsetEnd
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasSentenceIndex()
optional uint32 sentenceIndex = 4;
hasSentenceIndex
in interface CoreNLPProtos.SentenceOrBuilder
public int getSentenceIndex()
optional uint32 sentenceIndex = 4;
getSentenceIndex
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasCharacterOffsetBegin()
optional uint32 characterOffsetBegin = 5;
hasCharacterOffsetBegin
in interface CoreNLPProtos.SentenceOrBuilder
public int getCharacterOffsetBegin()
optional uint32 characterOffsetBegin = 5;
getCharacterOffsetBegin
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasCharacterOffsetEnd()
optional uint32 characterOffsetEnd = 6;
hasCharacterOffsetEnd
in interface CoreNLPProtos.SentenceOrBuilder
public int getCharacterOffsetEnd()
optional uint32 characterOffsetEnd = 6;
getCharacterOffsetEnd
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasParseTree()
optional .edu.stanford.nlp.pipeline.ParseTree parseTree = 7;
hasParseTree
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.ParseTree getParseTree()
optional .edu.stanford.nlp.pipeline.ParseTree parseTree = 7;
getParseTree
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.ParseTreeOrBuilder getParseTreeOrBuilder()
optional .edu.stanford.nlp.pipeline.ParseTree parseTree = 7;
getParseTreeOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasBinarizedParseTree()
optional .edu.stanford.nlp.pipeline.ParseTree binarizedParseTree = 31;
hasBinarizedParseTree
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.ParseTree getBinarizedParseTree()
optional .edu.stanford.nlp.pipeline.ParseTree binarizedParseTree = 31;
getBinarizedParseTree
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.ParseTreeOrBuilder getBinarizedParseTreeOrBuilder()
optional .edu.stanford.nlp.pipeline.ParseTree binarizedParseTree = 31;
getBinarizedParseTreeOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasAnnotatedParseTree()
optional .edu.stanford.nlp.pipeline.ParseTree annotatedParseTree = 32;
hasAnnotatedParseTree
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.ParseTree getAnnotatedParseTree()
optional .edu.stanford.nlp.pipeline.ParseTree annotatedParseTree = 32;
getAnnotatedParseTree
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.ParseTreeOrBuilder getAnnotatedParseTreeOrBuilder()
optional .edu.stanford.nlp.pipeline.ParseTree annotatedParseTree = 32;
getAnnotatedParseTreeOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasSentiment()
optional string sentiment = 33;
hasSentiment
in interface CoreNLPProtos.SentenceOrBuilder
public java.lang.String getSentiment()
optional string sentiment = 33;
getSentiment
in interface CoreNLPProtos.SentenceOrBuilder
public com.google.protobuf.ByteString getSentimentBytes()
optional string sentiment = 33;
getSentimentBytes
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<CoreNLPProtos.ParseTree> getKBestParseTreesList()
repeated .edu.stanford.nlp.pipeline.ParseTree kBestParseTrees = 34;
getKBestParseTreesList
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<? extends CoreNLPProtos.ParseTreeOrBuilder> getKBestParseTreesOrBuilderList()
repeated .edu.stanford.nlp.pipeline.ParseTree kBestParseTrees = 34;
getKBestParseTreesOrBuilderList
in interface CoreNLPProtos.SentenceOrBuilder
public int getKBestParseTreesCount()
repeated .edu.stanford.nlp.pipeline.ParseTree kBestParseTrees = 34;
getKBestParseTreesCount
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.ParseTree getKBestParseTrees(int index)
repeated .edu.stanford.nlp.pipeline.ParseTree kBestParseTrees = 34;
getKBestParseTrees
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.ParseTreeOrBuilder getKBestParseTreesOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.ParseTree kBestParseTrees = 34;
getKBestParseTreesOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasBasicDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph basicDependencies = 8;
hasBasicDependencies
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.DependencyGraph getBasicDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph basicDependencies = 8;
getBasicDependencies
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.DependencyGraphOrBuilder getBasicDependenciesOrBuilder()
optional .edu.stanford.nlp.pipeline.DependencyGraph basicDependencies = 8;
getBasicDependenciesOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasCollapsedDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph collapsedDependencies = 9;
hasCollapsedDependencies
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.DependencyGraph getCollapsedDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph collapsedDependencies = 9;
getCollapsedDependencies
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.DependencyGraphOrBuilder getCollapsedDependenciesOrBuilder()
optional .edu.stanford.nlp.pipeline.DependencyGraph collapsedDependencies = 9;
getCollapsedDependenciesOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasCollapsedCCProcessedDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph collapsedCCProcessedDependencies = 10;
hasCollapsedCCProcessedDependencies
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.DependencyGraph getCollapsedCCProcessedDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph collapsedCCProcessedDependencies = 10;
getCollapsedCCProcessedDependencies
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.DependencyGraphOrBuilder getCollapsedCCProcessedDependenciesOrBuilder()
optional .edu.stanford.nlp.pipeline.DependencyGraph collapsedCCProcessedDependencies = 10;
getCollapsedCCProcessedDependenciesOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasAlternativeDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph alternativeDependencies = 13;
hasAlternativeDependencies
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.DependencyGraph getAlternativeDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph alternativeDependencies = 13;
getAlternativeDependencies
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.DependencyGraphOrBuilder getAlternativeDependenciesOrBuilder()
optional .edu.stanford.nlp.pipeline.DependencyGraph alternativeDependencies = 13;
getAlternativeDependenciesOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<CoreNLPProtos.RelationTriple> getOpenieTripleList()
The OpenIE triples in the sentence
repeated .edu.stanford.nlp.pipeline.RelationTriple openieTriple = 14;
getOpenieTripleList
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<? extends CoreNLPProtos.RelationTripleOrBuilder> getOpenieTripleOrBuilderList()
The OpenIE triples in the sentence
repeated .edu.stanford.nlp.pipeline.RelationTriple openieTriple = 14;
getOpenieTripleOrBuilderList
in interface CoreNLPProtos.SentenceOrBuilder
public int getOpenieTripleCount()
The OpenIE triples in the sentence
repeated .edu.stanford.nlp.pipeline.RelationTriple openieTriple = 14;
getOpenieTripleCount
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.RelationTriple getOpenieTriple(int index)
The OpenIE triples in the sentence
repeated .edu.stanford.nlp.pipeline.RelationTriple openieTriple = 14;
getOpenieTriple
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.RelationTripleOrBuilder getOpenieTripleOrBuilder(int index)
The OpenIE triples in the sentence
repeated .edu.stanford.nlp.pipeline.RelationTriple openieTriple = 14;
getOpenieTripleOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<CoreNLPProtos.RelationTriple> getKbpTripleList()
The KBP triples in this sentence
repeated .edu.stanford.nlp.pipeline.RelationTriple kbpTriple = 16;
getKbpTripleList
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<? extends CoreNLPProtos.RelationTripleOrBuilder> getKbpTripleOrBuilderList()
The KBP triples in this sentence
repeated .edu.stanford.nlp.pipeline.RelationTriple kbpTriple = 16;
getKbpTripleOrBuilderList
in interface CoreNLPProtos.SentenceOrBuilder
public int getKbpTripleCount()
The KBP triples in this sentence
repeated .edu.stanford.nlp.pipeline.RelationTriple kbpTriple = 16;
getKbpTripleCount
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.RelationTriple getKbpTriple(int index)
The KBP triples in this sentence
repeated .edu.stanford.nlp.pipeline.RelationTriple kbpTriple = 16;
getKbpTriple
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.RelationTripleOrBuilder getKbpTripleOrBuilder(int index)
The KBP triples in this sentence
repeated .edu.stanford.nlp.pipeline.RelationTriple kbpTriple = 16;
getKbpTripleOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<CoreNLPProtos.SentenceFragment> getEntailedSentenceList()
The entailed sentences, by natural logic
repeated .edu.stanford.nlp.pipeline.SentenceFragment entailedSentence = 15;
getEntailedSentenceList
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<? extends CoreNLPProtos.SentenceFragmentOrBuilder> getEntailedSentenceOrBuilderList()
The entailed sentences, by natural logic
repeated .edu.stanford.nlp.pipeline.SentenceFragment entailedSentence = 15;
getEntailedSentenceOrBuilderList
in interface CoreNLPProtos.SentenceOrBuilder
public int getEntailedSentenceCount()
The entailed sentences, by natural logic
repeated .edu.stanford.nlp.pipeline.SentenceFragment entailedSentence = 15;
getEntailedSentenceCount
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.SentenceFragment getEntailedSentence(int index)
The entailed sentences, by natural logic
repeated .edu.stanford.nlp.pipeline.SentenceFragment entailedSentence = 15;
getEntailedSentence
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.SentenceFragmentOrBuilder getEntailedSentenceOrBuilder(int index)
The entailed sentences, by natural logic
repeated .edu.stanford.nlp.pipeline.SentenceFragment entailedSentence = 15;
getEntailedSentenceOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<CoreNLPProtos.SentenceFragment> getEntailedClauseList()
The entailed clauses, by natural logic
repeated .edu.stanford.nlp.pipeline.SentenceFragment entailedClause = 35;
getEntailedClauseList
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<? extends CoreNLPProtos.SentenceFragmentOrBuilder> getEntailedClauseOrBuilderList()
The entailed clauses, by natural logic
repeated .edu.stanford.nlp.pipeline.SentenceFragment entailedClause = 35;
getEntailedClauseOrBuilderList
in interface CoreNLPProtos.SentenceOrBuilder
public int getEntailedClauseCount()
The entailed clauses, by natural logic
repeated .edu.stanford.nlp.pipeline.SentenceFragment entailedClause = 35;
getEntailedClauseCount
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.SentenceFragment getEntailedClause(int index)
The entailed clauses, by natural logic
repeated .edu.stanford.nlp.pipeline.SentenceFragment entailedClause = 35;
getEntailedClause
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.SentenceFragmentOrBuilder getEntailedClauseOrBuilder(int index)
The entailed clauses, by natural logic
repeated .edu.stanford.nlp.pipeline.SentenceFragment entailedClause = 35;
getEntailedClauseOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasEnhancedDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedDependencies = 17;
hasEnhancedDependencies
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.DependencyGraph getEnhancedDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedDependencies = 17;
getEnhancedDependencies
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.DependencyGraphOrBuilder getEnhancedDependenciesOrBuilder()
optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedDependencies = 17;
getEnhancedDependenciesOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasEnhancedPlusPlusDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedPlusPlusDependencies = 18;
hasEnhancedPlusPlusDependencies
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.DependencyGraph getEnhancedPlusPlusDependencies()
optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedPlusPlusDependencies = 18;
getEnhancedPlusPlusDependencies
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.DependencyGraphOrBuilder getEnhancedPlusPlusDependenciesOrBuilder()
optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedPlusPlusDependencies = 18;
getEnhancedPlusPlusDependenciesOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<CoreNLPProtos.Token> getCharacterList()
repeated .edu.stanford.nlp.pipeline.Token character = 19;
getCharacterList
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<? extends CoreNLPProtos.TokenOrBuilder> getCharacterOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Token character = 19;
getCharacterOrBuilderList
in interface CoreNLPProtos.SentenceOrBuilder
public int getCharacterCount()
repeated .edu.stanford.nlp.pipeline.Token character = 19;
getCharacterCount
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.Token getCharacter(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 19;
getCharacter
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.TokenOrBuilder getCharacterOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Token character = 19;
getCharacterOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasParagraph()
optional uint32 paragraph = 11;
hasParagraph
in interface CoreNLPProtos.SentenceOrBuilder
public int getParagraph()
optional uint32 paragraph = 11;
getParagraph
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasText()
Only needed if we're only saving the sentence.
optional string text = 12;
hasText
in interface CoreNLPProtos.SentenceOrBuilder
public java.lang.String getText()
Only needed if we're only saving the sentence.
optional string text = 12;
getText
in interface CoreNLPProtos.SentenceOrBuilder
public com.google.protobuf.ByteString getTextBytes()
Only needed if we're only saving the sentence.
optional string text = 12;
getTextBytes
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasLineNumber()
optional uint32 lineNumber = 20;
hasLineNumber
in interface CoreNLPProtos.SentenceOrBuilder
public int getLineNumber()
optional uint32 lineNumber = 20;
getLineNumber
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasHasRelationAnnotations()
Fields set by other annotators in CoreNLP
optional bool hasRelationAnnotations = 51;
hasHasRelationAnnotations
in interface CoreNLPProtos.SentenceOrBuilder
public boolean getHasRelationAnnotations()
Fields set by other annotators in CoreNLP
optional bool hasRelationAnnotations = 51;
getHasRelationAnnotations
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<CoreNLPProtos.Entity> getEntityList()
repeated .edu.stanford.nlp.pipeline.Entity entity = 52;
getEntityList
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<? extends CoreNLPProtos.EntityOrBuilder> getEntityOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Entity entity = 52;
getEntityOrBuilderList
in interface CoreNLPProtos.SentenceOrBuilder
public int getEntityCount()
repeated .edu.stanford.nlp.pipeline.Entity entity = 52;
getEntityCount
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.Entity getEntity(int index)
repeated .edu.stanford.nlp.pipeline.Entity entity = 52;
getEntity
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.EntityOrBuilder getEntityOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Entity entity = 52;
getEntityOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<CoreNLPProtos.Relation> getRelationList()
repeated .edu.stanford.nlp.pipeline.Relation relation = 53;
getRelationList
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<? extends CoreNLPProtos.RelationOrBuilder> getRelationOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Relation relation = 53;
getRelationOrBuilderList
in interface CoreNLPProtos.SentenceOrBuilder
public int getRelationCount()
repeated .edu.stanford.nlp.pipeline.Relation relation = 53;
getRelationCount
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.Relation getRelation(int index)
repeated .edu.stanford.nlp.pipeline.Relation relation = 53;
getRelation
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.RelationOrBuilder getRelationOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Relation relation = 53;
getRelationOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasHasNumerizedTokensAnnotation()
optional bool hasNumerizedTokensAnnotation = 54;
hasHasNumerizedTokensAnnotation
in interface CoreNLPProtos.SentenceOrBuilder
public boolean getHasNumerizedTokensAnnotation()
optional bool hasNumerizedTokensAnnotation = 54;
getHasNumerizedTokensAnnotation
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<CoreNLPProtos.NERMention> getMentionsList()
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 55;
getMentionsList
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<? extends CoreNLPProtos.NERMentionOrBuilder> getMentionsOrBuilderList()
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 55;
getMentionsOrBuilderList
in interface CoreNLPProtos.SentenceOrBuilder
public int getMentionsCount()
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 55;
getMentionsCount
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.NERMention getMentions(int index)
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 55;
getMentions
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.NERMentionOrBuilder getMentionsOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.NERMention mentions = 55;
getMentionsOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<CoreNLPProtos.Mention> getMentionsForCorefList()
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 56;
getMentionsForCorefList
in interface CoreNLPProtos.SentenceOrBuilder
public java.util.List<? extends CoreNLPProtos.MentionOrBuilder> getMentionsForCorefOrBuilderList()
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 56;
getMentionsForCorefOrBuilderList
in interface CoreNLPProtos.SentenceOrBuilder
public int getMentionsForCorefCount()
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 56;
getMentionsForCorefCount
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.Mention getMentionsForCoref(int index)
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 56;
getMentionsForCoref
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.MentionOrBuilder getMentionsForCorefOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 56;
getMentionsForCorefOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasHasCorefMentionsAnnotation()
optional bool hasCorefMentionsAnnotation = 57;
hasHasCorefMentionsAnnotation
in interface CoreNLPProtos.SentenceOrBuilder
public boolean getHasCorefMentionsAnnotation()
optional bool hasCorefMentionsAnnotation = 57;
getHasCorefMentionsAnnotation
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasSentenceID()
Useful when storing sentences (e.g. ForEach)
optional string sentenceID = 58;
hasSentenceID
in interface CoreNLPProtos.SentenceOrBuilder
public java.lang.String getSentenceID()
Useful when storing sentences (e.g. ForEach)
optional string sentenceID = 58;
getSentenceID
in interface CoreNLPProtos.SentenceOrBuilder
public com.google.protobuf.ByteString getSentenceIDBytes()
Useful when storing sentences (e.g. ForEach)
optional string sentenceID = 58;
getSentenceIDBytes
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasSectionDate()
date of section
optional string sectionDate = 59;
hasSectionDate
in interface CoreNLPProtos.SentenceOrBuilder
public java.lang.String getSectionDate()
date of section
optional string sectionDate = 59;
getSectionDate
in interface CoreNLPProtos.SentenceOrBuilder
public com.google.protobuf.ByteString getSectionDateBytes()
date of section
optional string sectionDate = 59;
getSectionDateBytes
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasSectionIndex()
section index for this sentence's section
optional uint32 sectionIndex = 60;
hasSectionIndex
in interface CoreNLPProtos.SentenceOrBuilder
public int getSectionIndex()
section index for this sentence's section
optional uint32 sectionIndex = 60;
getSectionIndex
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasSectionName()
name of section
optional string sectionName = 61;
hasSectionName
in interface CoreNLPProtos.SentenceOrBuilder
public java.lang.String getSectionName()
name of section
optional string sectionName = 61;
getSectionName
in interface CoreNLPProtos.SentenceOrBuilder
public com.google.protobuf.ByteString getSectionNameBytes()
name of section
optional string sectionName = 61;
getSectionNameBytes
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasSectionAuthor()
author of section
optional string sectionAuthor = 62;
hasSectionAuthor
in interface CoreNLPProtos.SentenceOrBuilder
public java.lang.String getSectionAuthor()
author of section
optional string sectionAuthor = 62;
getSectionAuthor
in interface CoreNLPProtos.SentenceOrBuilder
public com.google.protobuf.ByteString getSectionAuthorBytes()
author of section
optional string sectionAuthor = 62;
getSectionAuthorBytes
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasDocID()
doc id
optional string docID = 63;
hasDocID
in interface CoreNLPProtos.SentenceOrBuilder
public java.lang.String getDocID()
doc id
optional string docID = 63;
getDocID
in interface CoreNLPProtos.SentenceOrBuilder
public com.google.protobuf.ByteString getDocIDBytes()
doc id
optional string docID = 63;
getDocIDBytes
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasSectionQuoted()
is this sentence in an xml quote in a post
optional bool sectionQuoted = 64;
hasSectionQuoted
in interface CoreNLPProtos.SentenceOrBuilder
public boolean getSectionQuoted()
is this sentence in an xml quote in a post
optional bool sectionQuoted = 64;
getSectionQuoted
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasHasEntityMentionsAnnotation()
check if there are entity mentions
optional bool hasEntityMentionsAnnotation = 65;
hasHasEntityMentionsAnnotation
in interface CoreNLPProtos.SentenceOrBuilder
public boolean getHasEntityMentionsAnnotation()
check if there are entity mentions
optional bool hasEntityMentionsAnnotation = 65;
getHasEntityMentionsAnnotation
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasHasKBPTriplesAnnotation()
check if there are KBP triples
optional bool hasKBPTriplesAnnotation = 68;
hasHasKBPTriplesAnnotation
in interface CoreNLPProtos.SentenceOrBuilder
public boolean getHasKBPTriplesAnnotation()
check if there are KBP triples
optional bool hasKBPTriplesAnnotation = 68;
getHasKBPTriplesAnnotation
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasHasOpenieTriplesAnnotation()
check if there are OpenIE triples
optional bool hasOpenieTriplesAnnotation = 69;
hasHasOpenieTriplesAnnotation
in interface CoreNLPProtos.SentenceOrBuilder
public boolean getHasOpenieTriplesAnnotation()
check if there are OpenIE triples
optional bool hasOpenieTriplesAnnotation = 69;
getHasOpenieTriplesAnnotation
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasChapterIndex()
quote stuff
optional uint32 chapterIndex = 66;
hasChapterIndex
in interface CoreNLPProtos.SentenceOrBuilder
public int getChapterIndex()
quote stuff
optional uint32 chapterIndex = 66;
getChapterIndex
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasParagraphIndex()
optional uint32 paragraphIndex = 67;
hasParagraphIndex
in interface CoreNLPProtos.SentenceOrBuilder
public int getParagraphIndex()
optional uint32 paragraphIndex = 67;
getParagraphIndex
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasEnhancedSentence()
the quote annotator can soometimes add merged sentences
optional .edu.stanford.nlp.pipeline.Sentence enhancedSentence = 70;
hasEnhancedSentence
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.Sentence getEnhancedSentence()
the quote annotator can soometimes add merged sentences
optional .edu.stanford.nlp.pipeline.Sentence enhancedSentence = 70;
getEnhancedSentence
in interface CoreNLPProtos.SentenceOrBuilder
public CoreNLPProtos.SentenceOrBuilder getEnhancedSentenceOrBuilder()
the quote annotator can soometimes add merged sentences
optional .edu.stanford.nlp.pipeline.Sentence enhancedSentence = 70;
getEnhancedSentenceOrBuilder
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasSpeaker()
speaker stuff
optional string speaker = 71;
hasSpeaker
in interface CoreNLPProtos.SentenceOrBuilder
public java.lang.String getSpeaker()
speaker stuff
optional string speaker = 71;
getSpeaker
in interface CoreNLPProtos.SentenceOrBuilder
public com.google.protobuf.ByteString getSpeakerBytes()
speaker stuff
optional string speaker = 71;
getSpeakerBytes
in interface CoreNLPProtos.SentenceOrBuilder
public boolean hasSpeakerType()
The type of speaker speaking this sentence
optional string speakerType = 72;
hasSpeakerType
in interface CoreNLPProtos.SentenceOrBuilder
public java.lang.String getSpeakerType()
The type of speaker speaking this sentence
optional string speakerType = 72;
getSpeakerType
in interface CoreNLPProtos.SentenceOrBuilder
public com.google.protobuf.ByteString getSpeakerTypeBytes()
The type of speaker speaking this sentence
optional string speakerType = 72;
getSpeakerTypeBytes
in interface CoreNLPProtos.SentenceOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.ExtendableMessage<CoreNLPProtos.Sentence>
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static CoreNLPProtos.Sentence parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Sentence parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Sentence parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Sentence parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Sentence parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Sentence parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Sentence parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Sentence parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Sentence parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Sentence parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Sentence parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Sentence parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public CoreNLPProtos.Sentence.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static CoreNLPProtos.Sentence.Builder newBuilder()
public static CoreNLPProtos.Sentence.Builder newBuilder(CoreNLPProtos.Sentence prototype)
public CoreNLPProtos.Sentence.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected CoreNLPProtos.Sentence.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static CoreNLPProtos.Sentence getDefaultInstance()
public static com.google.protobuf.Parser<CoreNLPProtos.Sentence> parser()
public com.google.protobuf.Parser<CoreNLPProtos.Sentence> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public CoreNLPProtos.Sentence getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<CoreNLPProtos.Sentence>
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder