public static final class CoreNLPProtos.Token.Builder extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<CoreNLPProtos.Token,CoreNLPProtos.Token.Builder> implements CoreNLPProtos.TokenOrBuilder
The serialized version of a Token (a CoreLabel).Protobuf type
edu.stanford.nlp.pipeline.Token
Modifier and Type | Method and Description |
---|---|
CoreNLPProtos.Token.Builder |
addAllCorefMentionIndex(java.lang.Iterable<? extends java.lang.Integer> values)
mention index info
|
CoreNLPProtos.Token.Builder |
addAllNerLabelProbs(java.lang.Iterable<java.lang.String> values)
listing of probs
|
CoreNLPProtos.Token.Builder |
addAllXmlContext(java.lang.Iterable<java.lang.String> values)
Used by clean xml annotator
|
CoreNLPProtos.Token.Builder |
addCorefMentionIndex(int value)
mention index info
|
<Type> CoreNLPProtos.Token.Builder |
addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<CoreNLPProtos.Token,java.util.List<Type>> extension,
Type value) |
CoreNLPProtos.Token.Builder |
addNerLabelProbs(java.lang.String value)
listing of probs
|
CoreNLPProtos.Token.Builder |
addNerLabelProbsBytes(com.google.protobuf.ByteString value)
listing of probs
|
CoreNLPProtos.Token.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.Token.Builder |
addXmlContext(java.lang.String value)
Used by clean xml annotator
|
CoreNLPProtos.Token.Builder |
addXmlContextBytes(com.google.protobuf.ByteString value)
Used by clean xml annotator
|
CoreNLPProtos.Token |
build() |
CoreNLPProtos.Token |
buildPartial() |
CoreNLPProtos.Token.Builder |
clear() |
CoreNLPProtos.Token.Builder |
clearAfter()
The whitespace/xml after the token
|
CoreNLPProtos.Token.Builder |
clearAnswer()
A temporary annotation which is occasionally left in
|
CoreNLPProtos.Token.Builder |
clearArabicSeg()
Arabic character info
|
CoreNLPProtos.Token.Builder |
clearBefore()
The whitespace/xml before the token
|
CoreNLPProtos.Token.Builder |
clearBeginChar()
The character offset begin, in the document
|
CoreNLPProtos.Token.Builder |
clearBeginIndex()
The begin index of, e.g., a span
|
CoreNLPProtos.Token.Builder |
clearCategory()
The word's 'category' (e.g., parse tree node)
|
CoreNLPProtos.Token.Builder |
clearChineseChar()
Chinese character info
|
CoreNLPProtos.Token.Builder |
clearChineseSeg()
optional string chineseSeg = 55; |
CoreNLPProtos.Token.Builder |
clearChineseXMLChar()
optional string chineseXMLChar = 60; |
CoreNLPProtos.Token.Builder |
clearCoarseNER()
The word's coarse NER tag
|
CoreNLPProtos.Token.Builder |
clearCoarseTag()
The coarse POS tag (used to store the UPOS tag)
|
CoreNLPProtos.Token.Builder |
clearCodepointOffsetBegin()
optional uint32 codepointOffsetBegin = 74; |
CoreNLPProtos.Token.Builder |
clearCodepointOffsetEnd()
optional uint32 codepointOffsetEnd = 75; |
CoreNLPProtos.Token.Builder |
clearConllUFeatures()
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32; |
CoreNLPProtos.Token.Builder |
clearConllUMisc()
optional string conllUMisc = 35; |
CoreNLPProtos.Token.Builder |
clearConllUSecondaryDeps()
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36; |
CoreNLPProtos.Token.Builder |
clearConllUTokenSpan()
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34; |
CoreNLPProtos.Token.Builder |
clearCorefClusterID()
The [primary] cluster id for this token
|
CoreNLPProtos.Token.Builder |
clearCorefMentionIndex()
mention index info
|
CoreNLPProtos.Token.Builder |
clearEndChar()
The character offset end, in the document
|
CoreNLPProtos.Token.Builder |
clearEndIndex()
The begin index of, e.g., a span
|
CoreNLPProtos.Token.Builder |
clearEntityMentionIndex()
optional uint32 entityMentionIndex = 65; |
<Type> CoreNLPProtos.Token.Builder |
clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<CoreNLPProtos.Token,?> extension) |
CoreNLPProtos.Token.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CoreNLPProtos.Token.Builder |
clearFineGrainedNER()
The word's fine-grained NER tag
|
CoreNLPProtos.Token.Builder |
clearGender()
Fields set by other annotators in CoreNLP
|
CoreNLPProtos.Token.Builder |
clearHasXmlContext()
Used by clean xml annotator
|
CoreNLPProtos.Token.Builder |
clearHeadWordIndex()
optional string projectedCategory = 25; // The syntactic category of the maximal constituent headed by the word.
|
CoreNLPProtos.Token.Builder |
clearIsFirstMWT()
optional bool isFirstMWT = 68; |
CoreNLPProtos.Token.Builder |
clearIsMWT()
mwt stuff
|
CoreNLPProtos.Token.Builder |
clearIsNewline()
optional bool isNewline = 38; |
CoreNLPProtos.Token.Builder |
clearLemma()
The word's lemma
|
CoreNLPProtos.Token.Builder |
clearMwtText()
optional string mwtText = 69; |
CoreNLPProtos.Token.Builder |
clearNer()
The word's NER tag
|
CoreNLPProtos.Token.Builder |
clearNerLabelProbs()
listing of probs
|
CoreNLPProtos.Token.Builder |
clearNormalizedNER()
The word's normalized NER tag
|
CoreNLPProtos.Token.Builder |
clearNumericCompositeType()
optional string numericCompositeType = 73; |
CoreNLPProtos.Token.Builder |
clearNumericCompositeValue()
optional uint64 numericCompositeValue = 72; |
CoreNLPProtos.Token.Builder |
clearNumericType()
optional string numericType = 71; |
CoreNLPProtos.Token.Builder |
clearNumericValue()
number info
|
CoreNLPProtos.Token.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CoreNLPProtos.Token.Builder |
clearOperator()
If this is an operator, which one is it and what is its scope (as per Natural Logic)?
|
CoreNLPProtos.Token.Builder |
clearOriginalText()
The original text for this token
|
CoreNLPProtos.Token.Builder |
clearParent()
French tokens have parents
|
CoreNLPProtos.Token.Builder |
clearPolarity()
The polarity of this word, according to Natural Logic
|
CoreNLPProtos.Token.Builder |
clearPolarityDir()
The polarity of this word, either "up", "down", or "flat"
|
CoreNLPProtos.Token.Builder |
clearPos()
The word's part of speech tag
|
CoreNLPProtos.Token.Builder |
clearQuotationIndex()
The index of the quotation this token refers to
|
CoreNLPProtos.Token.Builder |
clearSectionAuthor()
optional string sectionAuthor = 57; |
CoreNLPProtos.Token.Builder |
clearSectionDate()
optional string sectionDate = 58; |
CoreNLPProtos.Token.Builder |
clearSectionEndLabel()
optional string sectionEndLabel = 59; |
CoreNLPProtos.Token.Builder |
clearSectionName()
Section info
|
CoreNLPProtos.Token.Builder |
clearSentiment()
The final sentiment of the sentence
|
CoreNLPProtos.Token.Builder |
clearSpan()
The span of a leaf node of a tree
|
CoreNLPProtos.Token.Builder |
clearSpeaker()
The speaker speaking this word
|
CoreNLPProtos.Token.Builder |
clearSpeakerType()
The type of speaker speaking this word
|
CoreNLPProtos.Token.Builder |
clearTimexValue()
The time this word refers to
|
CoreNLPProtos.Token.Builder |
clearTokenBeginIndex()
The begin index of the token
|
CoreNLPProtos.Token.Builder |
clearTokenEndIndex()
The end index of the token
|
CoreNLPProtos.Token.Builder |
clearTrueCase()
true case type of token
|
CoreNLPProtos.Token.Builder |
clearTrueCaseText()
true case gloss of token
|
CoreNLPProtos.Token.Builder |
clearUtterance()
The utterance tag used in dcoref
|
CoreNLPProtos.Token.Builder |
clearValue()
The word's 'value', (e.g., parse tree node)
|
CoreNLPProtos.Token.Builder |
clearWikipediaEntity()
optional string wikipediaEntity = 37; |
CoreNLPProtos.Token.Builder |
clearWord()
Fields set by the default annotators [new CoreNLP(new Properties())]
|
CoreNLPProtos.Token.Builder |
clearXmlContext()
Used by clean xml annotator
|
CoreNLPProtos.Token.Builder |
clone() |
java.lang.String |
getAfter()
The whitespace/xml after the token
|
com.google.protobuf.ByteString |
getAfterBytes()
The whitespace/xml after the token
|
java.lang.String |
getAnswer()
A temporary annotation which is occasionally left in
|
com.google.protobuf.ByteString |
getAnswerBytes()
A temporary annotation which is occasionally left in
|
java.lang.String |
getArabicSeg()
Arabic character info
|
com.google.protobuf.ByteString |
getArabicSegBytes()
Arabic character info
|
java.lang.String |
getBefore()
The whitespace/xml before the token
|
com.google.protobuf.ByteString |
getBeforeBytes()
The whitespace/xml before the token
|
int |
getBeginChar()
The character offset begin, in the document
|
int |
getBeginIndex()
The begin index of, e.g., a span
|
java.lang.String |
getCategory()
The word's 'category' (e.g., parse tree node)
|
com.google.protobuf.ByteString |
getCategoryBytes()
The word's 'category' (e.g., parse tree node)
|
java.lang.String |
getChineseChar()
Chinese character info
|
com.google.protobuf.ByteString |
getChineseCharBytes()
Chinese character info
|
java.lang.String |
getChineseSeg()
optional string chineseSeg = 55; |
com.google.protobuf.ByteString |
getChineseSegBytes()
optional string chineseSeg = 55; |
java.lang.String |
getChineseXMLChar()
optional string chineseXMLChar = 60; |
com.google.protobuf.ByteString |
getChineseXMLCharBytes()
optional string chineseXMLChar = 60; |
java.lang.String |
getCoarseNER()
The word's coarse NER tag
|
com.google.protobuf.ByteString |
getCoarseNERBytes()
The word's coarse NER tag
|
java.lang.String |
getCoarseTag()
The coarse POS tag (used to store the UPOS tag)
|
com.google.protobuf.ByteString |
getCoarseTagBytes()
The coarse POS tag (used to store the UPOS tag)
|
int |
getCodepointOffsetBegin()
optional uint32 codepointOffsetBegin = 74; |
int |
getCodepointOffsetEnd()
optional uint32 codepointOffsetEnd = 75; |
CoreNLPProtos.MapStringString |
getConllUFeatures()
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32; |
CoreNLPProtos.MapStringString.Builder |
getConllUFeaturesBuilder()
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32; |
CoreNLPProtos.MapStringStringOrBuilder |
getConllUFeaturesOrBuilder()
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32; |
java.lang.String |
getConllUMisc()
optional string conllUMisc = 35; |
com.google.protobuf.ByteString |
getConllUMiscBytes()
optional string conllUMisc = 35; |
CoreNLPProtos.MapStringString |
getConllUSecondaryDeps()
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36; |
CoreNLPProtos.MapStringString.Builder |
getConllUSecondaryDepsBuilder()
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36; |
CoreNLPProtos.MapStringStringOrBuilder |
getConllUSecondaryDepsOrBuilder()
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36; |
CoreNLPProtos.Span |
getConllUTokenSpan()
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34; |
CoreNLPProtos.Span.Builder |
getConllUTokenSpanBuilder()
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34; |
CoreNLPProtos.SpanOrBuilder |
getConllUTokenSpanOrBuilder()
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34; |
int |
getCorefClusterID()
The [primary] cluster id for this token
|
int |
getCorefMentionIndex(int index)
mention index info
|
int |
getCorefMentionIndexCount()
mention index info
|
java.util.List<java.lang.Integer> |
getCorefMentionIndexList()
mention index info
|
CoreNLPProtos.Token |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getEndChar()
The character offset end, in the document
|
int |
getEndIndex()
The begin index of, e.g., a span
|
int |
getEntityMentionIndex()
optional uint32 entityMentionIndex = 65; |
java.lang.String |
getFineGrainedNER()
The word's fine-grained NER tag
|
com.google.protobuf.ByteString |
getFineGrainedNERBytes()
The word's fine-grained NER tag
|
java.lang.String |
getGender()
Fields set by other annotators in CoreNLP
|
com.google.protobuf.ByteString |
getGenderBytes()
Fields set by other annotators in CoreNLP
|
boolean |
getHasXmlContext()
Used by clean xml annotator
|
int |
getHeadWordIndex()
optional string projectedCategory = 25; // The syntactic category of the maximal constituent headed by the word.
|
boolean |
getIsFirstMWT()
optional bool isFirstMWT = 68; |
boolean |
getIsMWT()
mwt stuff
|
boolean |
getIsNewline()
optional bool isNewline = 38; |
java.lang.String |
getLemma()
The word's lemma
|
com.google.protobuf.ByteString |
getLemmaBytes()
The word's lemma
|
java.lang.String |
getMwtText()
optional string mwtText = 69; |
com.google.protobuf.ByteString |
getMwtTextBytes()
optional string mwtText = 69; |
java.lang.String |
getNer()
The word's NER tag
|
com.google.protobuf.ByteString |
getNerBytes()
The word's NER tag
|
java.lang.String |
getNerLabelProbs(int index)
listing of probs
|
com.google.protobuf.ByteString |
getNerLabelProbsBytes(int index)
listing of probs
|
int |
getNerLabelProbsCount()
listing of probs
|
com.google.protobuf.ProtocolStringList |
getNerLabelProbsList()
listing of probs
|
java.lang.String |
getNormalizedNER()
The word's normalized NER tag
|
com.google.protobuf.ByteString |
getNormalizedNERBytes()
The word's normalized NER tag
|
java.lang.String |
getNumericCompositeType()
optional string numericCompositeType = 73; |
com.google.protobuf.ByteString |
getNumericCompositeTypeBytes()
optional string numericCompositeType = 73; |
long |
getNumericCompositeValue()
optional uint64 numericCompositeValue = 72; |
java.lang.String |
getNumericType()
optional string numericType = 71; |
com.google.protobuf.ByteString |
getNumericTypeBytes()
optional string numericType = 71; |
long |
getNumericValue()
number info
|
CoreNLPProtos.Operator |
getOperator()
If this is an operator, which one is it and what is its scope (as per Natural Logic)?
|
CoreNLPProtos.Operator.Builder |
getOperatorBuilder()
If this is an operator, which one is it and what is its scope (as per Natural Logic)?
|
CoreNLPProtos.OperatorOrBuilder |
getOperatorOrBuilder()
If this is an operator, which one is it and what is its scope (as per Natural Logic)?
|
java.lang.String |
getOriginalText()
The original text for this token
|
com.google.protobuf.ByteString |
getOriginalTextBytes()
The original text for this token
|
java.lang.String |
getParent()
French tokens have parents
|
com.google.protobuf.ByteString |
getParentBytes()
French tokens have parents
|
CoreNLPProtos.Polarity |
getPolarity()
The polarity of this word, according to Natural Logic
|
CoreNLPProtos.Polarity.Builder |
getPolarityBuilder()
The polarity of this word, according to Natural Logic
|
java.lang.String |
getPolarityDir()
The polarity of this word, either "up", "down", or "flat"
|
com.google.protobuf.ByteString |
getPolarityDirBytes()
The polarity of this word, either "up", "down", or "flat"
|
CoreNLPProtos.PolarityOrBuilder |
getPolarityOrBuilder()
The polarity of this word, according to Natural Logic
|
java.lang.String |
getPos()
The word's part of speech tag
|
com.google.protobuf.ByteString |
getPosBytes()
The word's part of speech tag
|
int |
getQuotationIndex()
The index of the quotation this token refers to
|
java.lang.String |
getSectionAuthor()
optional string sectionAuthor = 57; |
com.google.protobuf.ByteString |
getSectionAuthorBytes()
optional string sectionAuthor = 57; |
java.lang.String |
getSectionDate()
optional string sectionDate = 58; |
com.google.protobuf.ByteString |
getSectionDateBytes()
optional string sectionDate = 58; |
java.lang.String |
getSectionEndLabel()
optional string sectionEndLabel = 59; |
com.google.protobuf.ByteString |
getSectionEndLabelBytes()
optional string sectionEndLabel = 59; |
java.lang.String |
getSectionName()
Section info
|
com.google.protobuf.ByteString |
getSectionNameBytes()
Section info
|
java.lang.String |
getSentiment()
The final sentiment of the sentence
|
com.google.protobuf.ByteString |
getSentimentBytes()
The final sentiment of the sentence
|
CoreNLPProtos.Span |
getSpan()
The span of a leaf node of a tree
|
CoreNLPProtos.Span.Builder |
getSpanBuilder()
The span of a leaf node of a tree
|
CoreNLPProtos.SpanOrBuilder |
getSpanOrBuilder()
The span of a leaf node of a tree
|
java.lang.String |
getSpeaker()
The speaker speaking this word
|
com.google.protobuf.ByteString |
getSpeakerBytes()
The speaker speaking this word
|
java.lang.String |
getSpeakerType()
The type of speaker speaking this word
|
com.google.protobuf.ByteString |
getSpeakerTypeBytes()
The type of speaker speaking this word
|
CoreNLPProtos.Timex |
getTimexValue()
The time this word refers to
|
CoreNLPProtos.Timex.Builder |
getTimexValueBuilder()
The time this word refers to
|
CoreNLPProtos.TimexOrBuilder |
getTimexValueOrBuilder()
The time this word refers to
|
int |
getTokenBeginIndex()
The begin index of the token
|
int |
getTokenEndIndex()
The end index of the token
|
java.lang.String |
getTrueCase()
true case type of token
|
com.google.protobuf.ByteString |
getTrueCaseBytes()
true case type of token
|
java.lang.String |
getTrueCaseText()
true case gloss of token
|
com.google.protobuf.ByteString |
getTrueCaseTextBytes()
true case gloss of token
|
int |
getUtterance()
The utterance tag used in dcoref
|
java.lang.String |
getValue()
The word's 'value', (e.g., parse tree node)
|
com.google.protobuf.ByteString |
getValueBytes()
The word's 'value', (e.g., parse tree node)
|
java.lang.String |
getWikipediaEntity()
optional string wikipediaEntity = 37; |
com.google.protobuf.ByteString |
getWikipediaEntityBytes()
optional string wikipediaEntity = 37; |
java.lang.String |
getWord()
Fields set by the default annotators [new CoreNLP(new Properties())]
|
com.google.protobuf.ByteString |
getWordBytes()
Fields set by the default annotators [new CoreNLP(new Properties())]
|
java.lang.String |
getXmlContext(int index)
Used by clean xml annotator
|
com.google.protobuf.ByteString |
getXmlContextBytes(int index)
Used by clean xml annotator
|
int |
getXmlContextCount()
Used by clean xml annotator
|
com.google.protobuf.ProtocolStringList |
getXmlContextList()
Used by clean xml annotator
|
boolean |
hasAfter()
The whitespace/xml after the token
|
boolean |
hasAnswer()
A temporary annotation which is occasionally left in
|
boolean |
hasArabicSeg()
Arabic character info
|
boolean |
hasBefore()
The whitespace/xml before the token
|
boolean |
hasBeginChar()
The character offset begin, in the document
|
boolean |
hasBeginIndex()
The begin index of, e.g., a span
|
boolean |
hasCategory()
The word's 'category' (e.g., parse tree node)
|
boolean |
hasChineseChar()
Chinese character info
|
boolean |
hasChineseSeg()
optional string chineseSeg = 55; |
boolean |
hasChineseXMLChar()
optional string chineseXMLChar = 60; |
boolean |
hasCoarseNER()
The word's coarse NER tag
|
boolean |
hasCoarseTag()
The coarse POS tag (used to store the UPOS tag)
|
boolean |
hasCodepointOffsetBegin()
optional uint32 codepointOffsetBegin = 74; |
boolean |
hasCodepointOffsetEnd()
optional uint32 codepointOffsetEnd = 75; |
boolean |
hasConllUFeatures()
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32; |
boolean |
hasConllUMisc()
optional string conllUMisc = 35; |
boolean |
hasConllUSecondaryDeps()
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36; |
boolean |
hasConllUTokenSpan()
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34; |
boolean |
hasCorefClusterID()
The [primary] cluster id for this token
|
boolean |
hasEndChar()
The character offset end, in the document
|
boolean |
hasEndIndex()
The begin index of, e.g., a span
|
boolean |
hasEntityMentionIndex()
optional uint32 entityMentionIndex = 65; |
boolean |
hasFineGrainedNER()
The word's fine-grained NER tag
|
boolean |
hasGender()
Fields set by other annotators in CoreNLP
|
boolean |
hasHasXmlContext()
Used by clean xml annotator
|
boolean |
hasHeadWordIndex()
optional string projectedCategory = 25; // The syntactic category of the maximal constituent headed by the word.
|
boolean |
hasIsFirstMWT()
optional bool isFirstMWT = 68; |
boolean |
hasIsMWT()
mwt stuff
|
boolean |
hasIsNewline()
optional bool isNewline = 38; |
boolean |
hasLemma()
The word's lemma
|
boolean |
hasMwtText()
optional string mwtText = 69; |
boolean |
hasNer()
The word's NER tag
|
boolean |
hasNormalizedNER()
The word's normalized NER tag
|
boolean |
hasNumericCompositeType()
optional string numericCompositeType = 73; |
boolean |
hasNumericCompositeValue()
optional uint64 numericCompositeValue = 72; |
boolean |
hasNumericType()
optional string numericType = 71; |
boolean |
hasNumericValue()
number info
|
boolean |
hasOperator()
If this is an operator, which one is it and what is its scope (as per Natural Logic)?
|
boolean |
hasOriginalText()
The original text for this token
|
boolean |
hasParent()
French tokens have parents
|
boolean |
hasPolarity()
The polarity of this word, according to Natural Logic
|
boolean |
hasPolarityDir()
The polarity of this word, either "up", "down", or "flat"
|
boolean |
hasPos()
The word's part of speech tag
|
boolean |
hasQuotationIndex()
The index of the quotation this token refers to
|
boolean |
hasSectionAuthor()
optional string sectionAuthor = 57; |
boolean |
hasSectionDate()
optional string sectionDate = 58; |
boolean |
hasSectionEndLabel()
optional string sectionEndLabel = 59; |
boolean |
hasSectionName()
Section info
|
boolean |
hasSentiment()
The final sentiment of the sentence
|
boolean |
hasSpan()
The span of a leaf node of a tree
|
boolean |
hasSpeaker()
The speaker speaking this word
|
boolean |
hasSpeakerType()
The type of speaker speaking this word
|
boolean |
hasTimexValue()
The time this word refers to
|
boolean |
hasTokenBeginIndex()
The begin index of the token
|
boolean |
hasTokenEndIndex()
The end index of the token
|
boolean |
hasTrueCase()
true case type of token
|
boolean |
hasTrueCaseText()
true case gloss of token
|
boolean |
hasUtterance()
The utterance tag used in dcoref
|
boolean |
hasValue()
The word's 'value', (e.g., parse tree node)
|
boolean |
hasWikipediaEntity()
optional string wikipediaEntity = 37; |
boolean |
hasWord()
Fields set by the default annotators [new CoreNLP(new Properties())]
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CoreNLPProtos.Token.Builder |
mergeConllUFeatures(CoreNLPProtos.MapStringString value)
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32; |
CoreNLPProtos.Token.Builder |
mergeConllUSecondaryDeps(CoreNLPProtos.MapStringString value)
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36; |
CoreNLPProtos.Token.Builder |
mergeConllUTokenSpan(CoreNLPProtos.Span value)
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34; |
CoreNLPProtos.Token.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CoreNLPProtos.Token.Builder |
mergeFrom(CoreNLPProtos.Token other) |
CoreNLPProtos.Token.Builder |
mergeFrom(com.google.protobuf.Message other) |
CoreNLPProtos.Token.Builder |
mergeOperator(CoreNLPProtos.Operator value)
If this is an operator, which one is it and what is its scope (as per Natural Logic)?
|
CoreNLPProtos.Token.Builder |
mergePolarity(CoreNLPProtos.Polarity value)
The polarity of this word, according to Natural Logic
|
CoreNLPProtos.Token.Builder |
mergeSpan(CoreNLPProtos.Span value)
The span of a leaf node of a tree
|
CoreNLPProtos.Token.Builder |
mergeTimexValue(CoreNLPProtos.Timex value)
The time this word refers to
|
CoreNLPProtos.Token.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CoreNLPProtos.Token.Builder |
setAfter(java.lang.String value)
The whitespace/xml after the token
|
CoreNLPProtos.Token.Builder |
setAfterBytes(com.google.protobuf.ByteString value)
The whitespace/xml after the token
|
CoreNLPProtos.Token.Builder |
setAnswer(java.lang.String value)
A temporary annotation which is occasionally left in
|
CoreNLPProtos.Token.Builder |
setAnswerBytes(com.google.protobuf.ByteString value)
A temporary annotation which is occasionally left in
|
CoreNLPProtos.Token.Builder |
setArabicSeg(java.lang.String value)
Arabic character info
|
CoreNLPProtos.Token.Builder |
setArabicSegBytes(com.google.protobuf.ByteString value)
Arabic character info
|
CoreNLPProtos.Token.Builder |
setBefore(java.lang.String value)
The whitespace/xml before the token
|
CoreNLPProtos.Token.Builder |
setBeforeBytes(com.google.protobuf.ByteString value)
The whitespace/xml before the token
|
CoreNLPProtos.Token.Builder |
setBeginChar(int value)
The character offset begin, in the document
|
CoreNLPProtos.Token.Builder |
setBeginIndex(int value)
The begin index of, e.g., a span
|
CoreNLPProtos.Token.Builder |
setCategory(java.lang.String value)
The word's 'category' (e.g., parse tree node)
|
CoreNLPProtos.Token.Builder |
setCategoryBytes(com.google.protobuf.ByteString value)
The word's 'category' (e.g., parse tree node)
|
CoreNLPProtos.Token.Builder |
setChineseChar(java.lang.String value)
Chinese character info
|
CoreNLPProtos.Token.Builder |
setChineseCharBytes(com.google.protobuf.ByteString value)
Chinese character info
|
CoreNLPProtos.Token.Builder |
setChineseSeg(java.lang.String value)
optional string chineseSeg = 55; |
CoreNLPProtos.Token.Builder |
setChineseSegBytes(com.google.protobuf.ByteString value)
optional string chineseSeg = 55; |
CoreNLPProtos.Token.Builder |
setChineseXMLChar(java.lang.String value)
optional string chineseXMLChar = 60; |
CoreNLPProtos.Token.Builder |
setChineseXMLCharBytes(com.google.protobuf.ByteString value)
optional string chineseXMLChar = 60; |
CoreNLPProtos.Token.Builder |
setCoarseNER(java.lang.String value)
The word's coarse NER tag
|
CoreNLPProtos.Token.Builder |
setCoarseNERBytes(com.google.protobuf.ByteString value)
The word's coarse NER tag
|
CoreNLPProtos.Token.Builder |
setCoarseTag(java.lang.String value)
The coarse POS tag (used to store the UPOS tag)
|
CoreNLPProtos.Token.Builder |
setCoarseTagBytes(com.google.protobuf.ByteString value)
The coarse POS tag (used to store the UPOS tag)
|
CoreNLPProtos.Token.Builder |
setCodepointOffsetBegin(int value)
optional uint32 codepointOffsetBegin = 74; |
CoreNLPProtos.Token.Builder |
setCodepointOffsetEnd(int value)
optional uint32 codepointOffsetEnd = 75; |
CoreNLPProtos.Token.Builder |
setConllUFeatures(CoreNLPProtos.MapStringString.Builder builderForValue)
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32; |
CoreNLPProtos.Token.Builder |
setConllUFeatures(CoreNLPProtos.MapStringString value)
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32; |
CoreNLPProtos.Token.Builder |
setConllUMisc(java.lang.String value)
optional string conllUMisc = 35; |
CoreNLPProtos.Token.Builder |
setConllUMiscBytes(com.google.protobuf.ByteString value)
optional string conllUMisc = 35; |
CoreNLPProtos.Token.Builder |
setConllUSecondaryDeps(CoreNLPProtos.MapStringString.Builder builderForValue)
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36; |
CoreNLPProtos.Token.Builder |
setConllUSecondaryDeps(CoreNLPProtos.MapStringString value)
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36; |
CoreNLPProtos.Token.Builder |
setConllUTokenSpan(CoreNLPProtos.Span.Builder builderForValue)
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34; |
CoreNLPProtos.Token.Builder |
setConllUTokenSpan(CoreNLPProtos.Span value)
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34; |
CoreNLPProtos.Token.Builder |
setCorefClusterID(int value)
The [primary] cluster id for this token
|
CoreNLPProtos.Token.Builder |
setCorefMentionIndex(int index,
int value)
mention index info
|
CoreNLPProtos.Token.Builder |
setEndChar(int value)
The character offset end, in the document
|
CoreNLPProtos.Token.Builder |
setEndIndex(int value)
The begin index of, e.g., a span
|
CoreNLPProtos.Token.Builder |
setEntityMentionIndex(int value)
optional uint32 entityMentionIndex = 65; |
<Type> CoreNLPProtos.Token.Builder |
setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<CoreNLPProtos.Token,java.util.List<Type>> extension,
int index,
Type value) |
<Type> CoreNLPProtos.Token.Builder |
setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<CoreNLPProtos.Token,Type> extension,
Type value) |
CoreNLPProtos.Token.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.Token.Builder |
setFineGrainedNER(java.lang.String value)
The word's fine-grained NER tag
|
CoreNLPProtos.Token.Builder |
setFineGrainedNERBytes(com.google.protobuf.ByteString value)
The word's fine-grained NER tag
|
CoreNLPProtos.Token.Builder |
setGender(java.lang.String value)
Fields set by other annotators in CoreNLP
|
CoreNLPProtos.Token.Builder |
setGenderBytes(com.google.protobuf.ByteString value)
Fields set by other annotators in CoreNLP
|
CoreNLPProtos.Token.Builder |
setHasXmlContext(boolean value)
Used by clean xml annotator
|
CoreNLPProtos.Token.Builder |
setHeadWordIndex(int value)
optional string projectedCategory = 25; // The syntactic category of the maximal constituent headed by the word.
|
CoreNLPProtos.Token.Builder |
setIsFirstMWT(boolean value)
optional bool isFirstMWT = 68; |
CoreNLPProtos.Token.Builder |
setIsMWT(boolean value)
mwt stuff
|
CoreNLPProtos.Token.Builder |
setIsNewline(boolean value)
optional bool isNewline = 38; |
CoreNLPProtos.Token.Builder |
setLemma(java.lang.String value)
The word's lemma
|
CoreNLPProtos.Token.Builder |
setLemmaBytes(com.google.protobuf.ByteString value)
The word's lemma
|
CoreNLPProtos.Token.Builder |
setMwtText(java.lang.String value)
optional string mwtText = 69; |
CoreNLPProtos.Token.Builder |
setMwtTextBytes(com.google.protobuf.ByteString value)
optional string mwtText = 69; |
CoreNLPProtos.Token.Builder |
setNer(java.lang.String value)
The word's NER tag
|
CoreNLPProtos.Token.Builder |
setNerBytes(com.google.protobuf.ByteString value)
The word's NER tag
|
CoreNLPProtos.Token.Builder |
setNerLabelProbs(int index,
java.lang.String value)
listing of probs
|
CoreNLPProtos.Token.Builder |
setNormalizedNER(java.lang.String value)
The word's normalized NER tag
|
CoreNLPProtos.Token.Builder |
setNormalizedNERBytes(com.google.protobuf.ByteString value)
The word's normalized NER tag
|
CoreNLPProtos.Token.Builder |
setNumericCompositeType(java.lang.String value)
optional string numericCompositeType = 73; |
CoreNLPProtos.Token.Builder |
setNumericCompositeTypeBytes(com.google.protobuf.ByteString value)
optional string numericCompositeType = 73; |
CoreNLPProtos.Token.Builder |
setNumericCompositeValue(long value)
optional uint64 numericCompositeValue = 72; |
CoreNLPProtos.Token.Builder |
setNumericType(java.lang.String value)
optional string numericType = 71; |
CoreNLPProtos.Token.Builder |
setNumericTypeBytes(com.google.protobuf.ByteString value)
optional string numericType = 71; |
CoreNLPProtos.Token.Builder |
setNumericValue(long value)
number info
|
CoreNLPProtos.Token.Builder |
setOperator(CoreNLPProtos.Operator.Builder builderForValue)
If this is an operator, which one is it and what is its scope (as per Natural Logic)?
|
CoreNLPProtos.Token.Builder |
setOperator(CoreNLPProtos.Operator value)
If this is an operator, which one is it and what is its scope (as per Natural Logic)?
|
CoreNLPProtos.Token.Builder |
setOriginalText(java.lang.String value)
The original text for this token
|
CoreNLPProtos.Token.Builder |
setOriginalTextBytes(com.google.protobuf.ByteString value)
The original text for this token
|
CoreNLPProtos.Token.Builder |
setParent(java.lang.String value)
French tokens have parents
|
CoreNLPProtos.Token.Builder |
setParentBytes(com.google.protobuf.ByteString value)
French tokens have parents
|
CoreNLPProtos.Token.Builder |
setPolarity(CoreNLPProtos.Polarity.Builder builderForValue)
The polarity of this word, according to Natural Logic
|
CoreNLPProtos.Token.Builder |
setPolarity(CoreNLPProtos.Polarity value)
The polarity of this word, according to Natural Logic
|
CoreNLPProtos.Token.Builder |
setPolarityDir(java.lang.String value)
The polarity of this word, either "up", "down", or "flat"
|
CoreNLPProtos.Token.Builder |
setPolarityDirBytes(com.google.protobuf.ByteString value)
The polarity of this word, either "up", "down", or "flat"
|
CoreNLPProtos.Token.Builder |
setPos(java.lang.String value)
The word's part of speech tag
|
CoreNLPProtos.Token.Builder |
setPosBytes(com.google.protobuf.ByteString value)
The word's part of speech tag
|
CoreNLPProtos.Token.Builder |
setQuotationIndex(int value)
The index of the quotation this token refers to
|
CoreNLPProtos.Token.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
CoreNLPProtos.Token.Builder |
setSectionAuthor(java.lang.String value)
optional string sectionAuthor = 57; |
CoreNLPProtos.Token.Builder |
setSectionAuthorBytes(com.google.protobuf.ByteString value)
optional string sectionAuthor = 57; |
CoreNLPProtos.Token.Builder |
setSectionDate(java.lang.String value)
optional string sectionDate = 58; |
CoreNLPProtos.Token.Builder |
setSectionDateBytes(com.google.protobuf.ByteString value)
optional string sectionDate = 58; |
CoreNLPProtos.Token.Builder |
setSectionEndLabel(java.lang.String value)
optional string sectionEndLabel = 59; |
CoreNLPProtos.Token.Builder |
setSectionEndLabelBytes(com.google.protobuf.ByteString value)
optional string sectionEndLabel = 59; |
CoreNLPProtos.Token.Builder |
setSectionName(java.lang.String value)
Section info
|
CoreNLPProtos.Token.Builder |
setSectionNameBytes(com.google.protobuf.ByteString value)
Section info
|
CoreNLPProtos.Token.Builder |
setSentiment(java.lang.String value)
The final sentiment of the sentence
|
CoreNLPProtos.Token.Builder |
setSentimentBytes(com.google.protobuf.ByteString value)
The final sentiment of the sentence
|
CoreNLPProtos.Token.Builder |
setSpan(CoreNLPProtos.Span.Builder builderForValue)
The span of a leaf node of a tree
|
CoreNLPProtos.Token.Builder |
setSpan(CoreNLPProtos.Span value)
The span of a leaf node of a tree
|
CoreNLPProtos.Token.Builder |
setSpeaker(java.lang.String value)
The speaker speaking this word
|
CoreNLPProtos.Token.Builder |
setSpeakerBytes(com.google.protobuf.ByteString value)
The speaker speaking this word
|
CoreNLPProtos.Token.Builder |
setSpeakerType(java.lang.String value)
The type of speaker speaking this word
|
CoreNLPProtos.Token.Builder |
setSpeakerTypeBytes(com.google.protobuf.ByteString value)
The type of speaker speaking this word
|
CoreNLPProtos.Token.Builder |
setTimexValue(CoreNLPProtos.Timex.Builder builderForValue)
The time this word refers to
|
CoreNLPProtos.Token.Builder |
setTimexValue(CoreNLPProtos.Timex value)
The time this word refers to
|
CoreNLPProtos.Token.Builder |
setTokenBeginIndex(int value)
The begin index of the token
|
CoreNLPProtos.Token.Builder |
setTokenEndIndex(int value)
The end index of the token
|
CoreNLPProtos.Token.Builder |
setTrueCase(java.lang.String value)
true case type of token
|
CoreNLPProtos.Token.Builder |
setTrueCaseBytes(com.google.protobuf.ByteString value)
true case type of token
|
CoreNLPProtos.Token.Builder |
setTrueCaseText(java.lang.String value)
true case gloss of token
|
CoreNLPProtos.Token.Builder |
setTrueCaseTextBytes(com.google.protobuf.ByteString value)
true case gloss of token
|
CoreNLPProtos.Token.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CoreNLPProtos.Token.Builder |
setUtterance(int value)
The utterance tag used in dcoref
|
CoreNLPProtos.Token.Builder |
setValue(java.lang.String value)
The word's 'value', (e.g., parse tree node)
|
CoreNLPProtos.Token.Builder |
setValueBytes(com.google.protobuf.ByteString value)
The word's 'value', (e.g., parse tree node)
|
CoreNLPProtos.Token.Builder |
setWikipediaEntity(java.lang.String value)
optional string wikipediaEntity = 37; |
CoreNLPProtos.Token.Builder |
setWikipediaEntityBytes(com.google.protobuf.ByteString value)
optional string wikipediaEntity = 37; |
CoreNLPProtos.Token.Builder |
setWord(java.lang.String value)
Fields set by the default annotators [new CoreNLP(new Properties())]
|
CoreNLPProtos.Token.Builder |
setWordBytes(com.google.protobuf.ByteString value)
Fields set by the default annotators [new CoreNLP(new Properties())]
|
CoreNLPProtos.Token.Builder |
setXmlContext(int index,
java.lang.String value)
Used by clean xml annotator
|
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.Token.Builder>
public CoreNLPProtos.Token.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.Token,CoreNLPProtos.Token.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.Token.Builder>
public CoreNLPProtos.Token getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<CoreNLPProtos.Token>
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CoreNLPProtos.Token build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CoreNLPProtos.Token buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CoreNLPProtos.Token.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.Token.Builder>
public CoreNLPProtos.Token.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.Token,CoreNLPProtos.Token.Builder>
public CoreNLPProtos.Token.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.Token,CoreNLPProtos.Token.Builder>
public CoreNLPProtos.Token.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.Token.Builder>
public CoreNLPProtos.Token.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.Token,CoreNLPProtos.Token.Builder>
public CoreNLPProtos.Token.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.Token,CoreNLPProtos.Token.Builder>
public <Type> CoreNLPProtos.Token.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<CoreNLPProtos.Token,Type> extension, Type value)
setExtension
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<CoreNLPProtos.Token,CoreNLPProtos.Token.Builder>
public <Type> CoreNLPProtos.Token.Builder setExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<CoreNLPProtos.Token,java.util.List<Type>> extension, int index, Type value)
setExtension
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<CoreNLPProtos.Token,CoreNLPProtos.Token.Builder>
public <Type> CoreNLPProtos.Token.Builder addExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<CoreNLPProtos.Token,java.util.List<Type>> extension, Type value)
addExtension
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<CoreNLPProtos.Token,CoreNLPProtos.Token.Builder>
public <Type> CoreNLPProtos.Token.Builder clearExtension(com.google.protobuf.GeneratedMessage.GeneratedExtension<CoreNLPProtos.Token,?> extension)
clearExtension
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<CoreNLPProtos.Token,CoreNLPProtos.Token.Builder>
public CoreNLPProtos.Token.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CoreNLPProtos.Token.Builder>
public CoreNLPProtos.Token.Builder mergeFrom(CoreNLPProtos.Token other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<CoreNLPProtos.Token,CoreNLPProtos.Token.Builder>
public CoreNLPProtos.Token.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.Token.Builder>
java.io.IOException
public boolean hasWord()
Fields set by the default annotators [new CoreNLP(new Properties())]
optional string word = 1;
hasWord
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getWord()
Fields set by the default annotators [new CoreNLP(new Properties())]
optional string word = 1;
getWord
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getWordBytes()
Fields set by the default annotators [new CoreNLP(new Properties())]
optional string word = 1;
getWordBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setWord(java.lang.String value)
Fields set by the default annotators [new CoreNLP(new Properties())]
optional string word = 1;
value
- The word to set.public CoreNLPProtos.Token.Builder clearWord()
Fields set by the default annotators [new CoreNLP(new Properties())]
optional string word = 1;
public CoreNLPProtos.Token.Builder setWordBytes(com.google.protobuf.ByteString value)
Fields set by the default annotators [new CoreNLP(new Properties())]
optional string word = 1;
value
- The bytes for word to set.public boolean hasPos()
The word's part of speech tag
optional string pos = 2;
hasPos
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getPos()
The word's part of speech tag
optional string pos = 2;
getPos
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getPosBytes()
The word's part of speech tag
optional string pos = 2;
getPosBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setPos(java.lang.String value)
The word's part of speech tag
optional string pos = 2;
value
- The pos to set.public CoreNLPProtos.Token.Builder clearPos()
The word's part of speech tag
optional string pos = 2;
public CoreNLPProtos.Token.Builder setPosBytes(com.google.protobuf.ByteString value)
The word's part of speech tag
optional string pos = 2;
value
- The bytes for pos to set.public boolean hasValue()
The word's 'value', (e.g., parse tree node)
optional string value = 3;
hasValue
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getValue()
The word's 'value', (e.g., parse tree node)
optional string value = 3;
getValue
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getValueBytes()
The word's 'value', (e.g., parse tree node)
optional string value = 3;
getValueBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setValue(java.lang.String value)
The word's 'value', (e.g., parse tree node)
optional string value = 3;
value
- The value to set.public CoreNLPProtos.Token.Builder clearValue()
The word's 'value', (e.g., parse tree node)
optional string value = 3;
public CoreNLPProtos.Token.Builder setValueBytes(com.google.protobuf.ByteString value)
The word's 'value', (e.g., parse tree node)
optional string value = 3;
value
- The bytes for value to set.public boolean hasCategory()
The word's 'category' (e.g., parse tree node)
optional string category = 4;
hasCategory
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getCategory()
The word's 'category' (e.g., parse tree node)
optional string category = 4;
getCategory
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getCategoryBytes()
The word's 'category' (e.g., parse tree node)
optional string category = 4;
getCategoryBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setCategory(java.lang.String value)
The word's 'category' (e.g., parse tree node)
optional string category = 4;
value
- The category to set.public CoreNLPProtos.Token.Builder clearCategory()
The word's 'category' (e.g., parse tree node)
optional string category = 4;
public CoreNLPProtos.Token.Builder setCategoryBytes(com.google.protobuf.ByteString value)
The word's 'category' (e.g., parse tree node)
optional string category = 4;
value
- The bytes for category to set.public boolean hasBefore()
The whitespace/xml before the token
optional string before = 5;
hasBefore
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getBefore()
The whitespace/xml before the token
optional string before = 5;
getBefore
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getBeforeBytes()
The whitespace/xml before the token
optional string before = 5;
getBeforeBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setBefore(java.lang.String value)
The whitespace/xml before the token
optional string before = 5;
value
- The before to set.public CoreNLPProtos.Token.Builder clearBefore()
The whitespace/xml before the token
optional string before = 5;
public CoreNLPProtos.Token.Builder setBeforeBytes(com.google.protobuf.ByteString value)
The whitespace/xml before the token
optional string before = 5;
value
- The bytes for before to set.public boolean hasAfter()
The whitespace/xml after the token
optional string after = 6;
hasAfter
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getAfter()
The whitespace/xml after the token
optional string after = 6;
getAfter
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getAfterBytes()
The whitespace/xml after the token
optional string after = 6;
getAfterBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setAfter(java.lang.String value)
The whitespace/xml after the token
optional string after = 6;
value
- The after to set.public CoreNLPProtos.Token.Builder clearAfter()
The whitespace/xml after the token
optional string after = 6;
public CoreNLPProtos.Token.Builder setAfterBytes(com.google.protobuf.ByteString value)
The whitespace/xml after the token
optional string after = 6;
value
- The bytes for after to set.public boolean hasOriginalText()
The original text for this token
optional string originalText = 7;
hasOriginalText
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getOriginalText()
The original text for this token
optional string originalText = 7;
getOriginalText
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getOriginalTextBytes()
The original text for this token
optional string originalText = 7;
getOriginalTextBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setOriginalText(java.lang.String value)
The original text for this token
optional string originalText = 7;
value
- The originalText to set.public CoreNLPProtos.Token.Builder clearOriginalText()
The original text for this token
optional string originalText = 7;
public CoreNLPProtos.Token.Builder setOriginalTextBytes(com.google.protobuf.ByteString value)
The original text for this token
optional string originalText = 7;
value
- The bytes for originalText to set.public boolean hasNer()
The word's NER tag
optional string ner = 8;
hasNer
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getNer()
The word's NER tag
optional string ner = 8;
getNer
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getNerBytes()
The word's NER tag
optional string ner = 8;
getNerBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setNer(java.lang.String value)
The word's NER tag
optional string ner = 8;
value
- The ner to set.public CoreNLPProtos.Token.Builder clearNer()
The word's NER tag
optional string ner = 8;
public CoreNLPProtos.Token.Builder setNerBytes(com.google.protobuf.ByteString value)
The word's NER tag
optional string ner = 8;
value
- The bytes for ner to set.public boolean hasCoarseNER()
The word's coarse NER tag
optional string coarseNER = 62;
hasCoarseNER
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getCoarseNER()
The word's coarse NER tag
optional string coarseNER = 62;
getCoarseNER
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getCoarseNERBytes()
The word's coarse NER tag
optional string coarseNER = 62;
getCoarseNERBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setCoarseNER(java.lang.String value)
The word's coarse NER tag
optional string coarseNER = 62;
value
- The coarseNER to set.public CoreNLPProtos.Token.Builder clearCoarseNER()
The word's coarse NER tag
optional string coarseNER = 62;
public CoreNLPProtos.Token.Builder setCoarseNERBytes(com.google.protobuf.ByteString value)
The word's coarse NER tag
optional string coarseNER = 62;
value
- The bytes for coarseNER to set.public boolean hasFineGrainedNER()
The word's fine-grained NER tag
optional string fineGrainedNER = 63;
hasFineGrainedNER
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getFineGrainedNER()
The word's fine-grained NER tag
optional string fineGrainedNER = 63;
getFineGrainedNER
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getFineGrainedNERBytes()
The word's fine-grained NER tag
optional string fineGrainedNER = 63;
getFineGrainedNERBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setFineGrainedNER(java.lang.String value)
The word's fine-grained NER tag
optional string fineGrainedNER = 63;
value
- The fineGrainedNER to set.public CoreNLPProtos.Token.Builder clearFineGrainedNER()
The word's fine-grained NER tag
optional string fineGrainedNER = 63;
public CoreNLPProtos.Token.Builder setFineGrainedNERBytes(com.google.protobuf.ByteString value)
The word's fine-grained NER tag
optional string fineGrainedNER = 63;
value
- The bytes for fineGrainedNER to set.public com.google.protobuf.ProtocolStringList getNerLabelProbsList()
listing of probs
repeated string nerLabelProbs = 66;
getNerLabelProbsList
in interface CoreNLPProtos.TokenOrBuilder
public int getNerLabelProbsCount()
listing of probs
repeated string nerLabelProbs = 66;
getNerLabelProbsCount
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getNerLabelProbs(int index)
listing of probs
repeated string nerLabelProbs = 66;
getNerLabelProbs
in interface CoreNLPProtos.TokenOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getNerLabelProbsBytes(int index)
listing of probs
repeated string nerLabelProbs = 66;
getNerLabelProbsBytes
in interface CoreNLPProtos.TokenOrBuilder
index
- The index of the value to return.public CoreNLPProtos.Token.Builder setNerLabelProbs(int index, java.lang.String value)
listing of probs
repeated string nerLabelProbs = 66;
index
- The index to set the value at.value
- The nerLabelProbs to set.public CoreNLPProtos.Token.Builder addNerLabelProbs(java.lang.String value)
listing of probs
repeated string nerLabelProbs = 66;
value
- The nerLabelProbs to add.public CoreNLPProtos.Token.Builder addAllNerLabelProbs(java.lang.Iterable<java.lang.String> values)
listing of probs
repeated string nerLabelProbs = 66;
values
- The nerLabelProbs to add.public CoreNLPProtos.Token.Builder clearNerLabelProbs()
listing of probs
repeated string nerLabelProbs = 66;
public CoreNLPProtos.Token.Builder addNerLabelProbsBytes(com.google.protobuf.ByteString value)
listing of probs
repeated string nerLabelProbs = 66;
value
- The bytes of the nerLabelProbs to add.public boolean hasNormalizedNER()
The word's normalized NER tag
optional string normalizedNER = 9;
hasNormalizedNER
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getNormalizedNER()
The word's normalized NER tag
optional string normalizedNER = 9;
getNormalizedNER
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getNormalizedNERBytes()
The word's normalized NER tag
optional string normalizedNER = 9;
getNormalizedNERBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setNormalizedNER(java.lang.String value)
The word's normalized NER tag
optional string normalizedNER = 9;
value
- The normalizedNER to set.public CoreNLPProtos.Token.Builder clearNormalizedNER()
The word's normalized NER tag
optional string normalizedNER = 9;
public CoreNLPProtos.Token.Builder setNormalizedNERBytes(com.google.protobuf.ByteString value)
The word's normalized NER tag
optional string normalizedNER = 9;
value
- The bytes for normalizedNER to set.public boolean hasLemma()
The word's lemma
optional string lemma = 10;
hasLemma
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getLemma()
The word's lemma
optional string lemma = 10;
getLemma
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getLemmaBytes()
The word's lemma
optional string lemma = 10;
getLemmaBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setLemma(java.lang.String value)
The word's lemma
optional string lemma = 10;
value
- The lemma to set.public CoreNLPProtos.Token.Builder clearLemma()
The word's lemma
optional string lemma = 10;
public CoreNLPProtos.Token.Builder setLemmaBytes(com.google.protobuf.ByteString value)
The word's lemma
optional string lemma = 10;
value
- The bytes for lemma to set.public boolean hasBeginChar()
The character offset begin, in the document
optional uint32 beginChar = 11;
hasBeginChar
in interface CoreNLPProtos.TokenOrBuilder
public int getBeginChar()
The character offset begin, in the document
optional uint32 beginChar = 11;
getBeginChar
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setBeginChar(int value)
The character offset begin, in the document
optional uint32 beginChar = 11;
value
- The beginChar to set.public CoreNLPProtos.Token.Builder clearBeginChar()
The character offset begin, in the document
optional uint32 beginChar = 11;
public boolean hasEndChar()
The character offset end, in the document
optional uint32 endChar = 12;
hasEndChar
in interface CoreNLPProtos.TokenOrBuilder
public int getEndChar()
The character offset end, in the document
optional uint32 endChar = 12;
getEndChar
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setEndChar(int value)
The character offset end, in the document
optional uint32 endChar = 12;
value
- The endChar to set.public CoreNLPProtos.Token.Builder clearEndChar()
The character offset end, in the document
optional uint32 endChar = 12;
public boolean hasUtterance()
The utterance tag used in dcoref
optional uint32 utterance = 13;
hasUtterance
in interface CoreNLPProtos.TokenOrBuilder
public int getUtterance()
The utterance tag used in dcoref
optional uint32 utterance = 13;
getUtterance
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setUtterance(int value)
The utterance tag used in dcoref
optional uint32 utterance = 13;
value
- The utterance to set.public CoreNLPProtos.Token.Builder clearUtterance()
The utterance tag used in dcoref
optional uint32 utterance = 13;
public boolean hasSpeaker()
The speaker speaking this word
optional string speaker = 14;
hasSpeaker
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getSpeaker()
The speaker speaking this word
optional string speaker = 14;
getSpeaker
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getSpeakerBytes()
The speaker speaking this word
optional string speaker = 14;
getSpeakerBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setSpeaker(java.lang.String value)
The speaker speaking this word
optional string speaker = 14;
value
- The speaker to set.public CoreNLPProtos.Token.Builder clearSpeaker()
The speaker speaking this word
optional string speaker = 14;
public CoreNLPProtos.Token.Builder setSpeakerBytes(com.google.protobuf.ByteString value)
The speaker speaking this word
optional string speaker = 14;
value
- The bytes for speaker to set.public boolean hasSpeakerType()
The type of speaker speaking this word
optional string speakerType = 77;
hasSpeakerType
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getSpeakerType()
The type of speaker speaking this word
optional string speakerType = 77;
getSpeakerType
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getSpeakerTypeBytes()
The type of speaker speaking this word
optional string speakerType = 77;
getSpeakerTypeBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setSpeakerType(java.lang.String value)
The type of speaker speaking this word
optional string speakerType = 77;
value
- The speakerType to set.public CoreNLPProtos.Token.Builder clearSpeakerType()
The type of speaker speaking this word
optional string speakerType = 77;
public CoreNLPProtos.Token.Builder setSpeakerTypeBytes(com.google.protobuf.ByteString value)
The type of speaker speaking this word
optional string speakerType = 77;
value
- The bytes for speakerType to set.public boolean hasBeginIndex()
The begin index of, e.g., a span
optional uint32 beginIndex = 15;
hasBeginIndex
in interface CoreNLPProtos.TokenOrBuilder
public int getBeginIndex()
The begin index of, e.g., a span
optional uint32 beginIndex = 15;
getBeginIndex
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setBeginIndex(int value)
The begin index of, e.g., a span
optional uint32 beginIndex = 15;
value
- The beginIndex to set.public CoreNLPProtos.Token.Builder clearBeginIndex()
The begin index of, e.g., a span
optional uint32 beginIndex = 15;
public boolean hasEndIndex()
The begin index of, e.g., a span
optional uint32 endIndex = 16;
hasEndIndex
in interface CoreNLPProtos.TokenOrBuilder
public int getEndIndex()
The begin index of, e.g., a span
optional uint32 endIndex = 16;
getEndIndex
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setEndIndex(int value)
The begin index of, e.g., a span
optional uint32 endIndex = 16;
value
- The endIndex to set.public CoreNLPProtos.Token.Builder clearEndIndex()
The begin index of, e.g., a span
optional uint32 endIndex = 16;
public boolean hasTokenBeginIndex()
The begin index of the token
optional uint32 tokenBeginIndex = 17;
hasTokenBeginIndex
in interface CoreNLPProtos.TokenOrBuilder
public int getTokenBeginIndex()
The begin index of the token
optional uint32 tokenBeginIndex = 17;
getTokenBeginIndex
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setTokenBeginIndex(int value)
The begin index of the token
optional uint32 tokenBeginIndex = 17;
value
- The tokenBeginIndex to set.public CoreNLPProtos.Token.Builder clearTokenBeginIndex()
The begin index of the token
optional uint32 tokenBeginIndex = 17;
public boolean hasTokenEndIndex()
The end index of the token
optional uint32 tokenEndIndex = 18;
hasTokenEndIndex
in interface CoreNLPProtos.TokenOrBuilder
public int getTokenEndIndex()
The end index of the token
optional uint32 tokenEndIndex = 18;
getTokenEndIndex
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setTokenEndIndex(int value)
The end index of the token
optional uint32 tokenEndIndex = 18;
value
- The tokenEndIndex to set.public CoreNLPProtos.Token.Builder clearTokenEndIndex()
The end index of the token
optional uint32 tokenEndIndex = 18;
public boolean hasTimexValue()
The time this word refers to
optional .edu.stanford.nlp.pipeline.Timex timexValue = 19;
hasTimexValue
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Timex getTimexValue()
The time this word refers to
optional .edu.stanford.nlp.pipeline.Timex timexValue = 19;
getTimexValue
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setTimexValue(CoreNLPProtos.Timex value)
The time this word refers to
optional .edu.stanford.nlp.pipeline.Timex timexValue = 19;
public CoreNLPProtos.Token.Builder setTimexValue(CoreNLPProtos.Timex.Builder builderForValue)
The time this word refers to
optional .edu.stanford.nlp.pipeline.Timex timexValue = 19;
public CoreNLPProtos.Token.Builder mergeTimexValue(CoreNLPProtos.Timex value)
The time this word refers to
optional .edu.stanford.nlp.pipeline.Timex timexValue = 19;
public CoreNLPProtos.Token.Builder clearTimexValue()
The time this word refers to
optional .edu.stanford.nlp.pipeline.Timex timexValue = 19;
public CoreNLPProtos.Timex.Builder getTimexValueBuilder()
The time this word refers to
optional .edu.stanford.nlp.pipeline.Timex timexValue = 19;
public CoreNLPProtos.TimexOrBuilder getTimexValueOrBuilder()
The time this word refers to
optional .edu.stanford.nlp.pipeline.Timex timexValue = 19;
getTimexValueOrBuilder
in interface CoreNLPProtos.TokenOrBuilder
public boolean hasHasXmlContext()
Used by clean xml annotator
optional bool hasXmlContext = 21;
hasHasXmlContext
in interface CoreNLPProtos.TokenOrBuilder
public boolean getHasXmlContext()
Used by clean xml annotator
optional bool hasXmlContext = 21;
getHasXmlContext
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setHasXmlContext(boolean value)
Used by clean xml annotator
optional bool hasXmlContext = 21;
value
- The hasXmlContext to set.public CoreNLPProtos.Token.Builder clearHasXmlContext()
Used by clean xml annotator
optional bool hasXmlContext = 21;
public com.google.protobuf.ProtocolStringList getXmlContextList()
Used by clean xml annotator
repeated string xmlContext = 22;
getXmlContextList
in interface CoreNLPProtos.TokenOrBuilder
public int getXmlContextCount()
Used by clean xml annotator
repeated string xmlContext = 22;
getXmlContextCount
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getXmlContext(int index)
Used by clean xml annotator
repeated string xmlContext = 22;
getXmlContext
in interface CoreNLPProtos.TokenOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getXmlContextBytes(int index)
Used by clean xml annotator
repeated string xmlContext = 22;
getXmlContextBytes
in interface CoreNLPProtos.TokenOrBuilder
index
- The index of the value to return.public CoreNLPProtos.Token.Builder setXmlContext(int index, java.lang.String value)
Used by clean xml annotator
repeated string xmlContext = 22;
index
- The index to set the value at.value
- The xmlContext to set.public CoreNLPProtos.Token.Builder addXmlContext(java.lang.String value)
Used by clean xml annotator
repeated string xmlContext = 22;
value
- The xmlContext to add.public CoreNLPProtos.Token.Builder addAllXmlContext(java.lang.Iterable<java.lang.String> values)
Used by clean xml annotator
repeated string xmlContext = 22;
values
- The xmlContext to add.public CoreNLPProtos.Token.Builder clearXmlContext()
Used by clean xml annotator
repeated string xmlContext = 22;
public CoreNLPProtos.Token.Builder addXmlContextBytes(com.google.protobuf.ByteString value)
Used by clean xml annotator
repeated string xmlContext = 22;
value
- The bytes of the xmlContext to add.public boolean hasCorefClusterID()
The [primary] cluster id for this token
optional uint32 corefClusterID = 23;
hasCorefClusterID
in interface CoreNLPProtos.TokenOrBuilder
public int getCorefClusterID()
The [primary] cluster id for this token
optional uint32 corefClusterID = 23;
getCorefClusterID
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setCorefClusterID(int value)
The [primary] cluster id for this token
optional uint32 corefClusterID = 23;
value
- The corefClusterID to set.public CoreNLPProtos.Token.Builder clearCorefClusterID()
The [primary] cluster id for this token
optional uint32 corefClusterID = 23;
public boolean hasAnswer()
A temporary annotation which is occasionally left in
optional string answer = 24;
hasAnswer
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getAnswer()
A temporary annotation which is occasionally left in
optional string answer = 24;
getAnswer
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getAnswerBytes()
A temporary annotation which is occasionally left in
optional string answer = 24;
getAnswerBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setAnswer(java.lang.String value)
A temporary annotation which is occasionally left in
optional string answer = 24;
value
- The answer to set.public CoreNLPProtos.Token.Builder clearAnswer()
A temporary annotation which is occasionally left in
optional string answer = 24;
public CoreNLPProtos.Token.Builder setAnswerBytes(com.google.protobuf.ByteString value)
A temporary annotation which is occasionally left in
optional string answer = 24;
value
- The bytes for answer to set.public boolean hasHeadWordIndex()
optional string projectedCategory = 25; // The syntactic category of the maximal constituent headed by the word. Not used anywhere, so deleted.
optional uint32 headWordIndex = 26;
hasHeadWordIndex
in interface CoreNLPProtos.TokenOrBuilder
public int getHeadWordIndex()
optional string projectedCategory = 25; // The syntactic category of the maximal constituent headed by the word. Not used anywhere, so deleted.
optional uint32 headWordIndex = 26;
getHeadWordIndex
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setHeadWordIndex(int value)
optional string projectedCategory = 25; // The syntactic category of the maximal constituent headed by the word. Not used anywhere, so deleted.
optional uint32 headWordIndex = 26;
value
- The headWordIndex to set.public CoreNLPProtos.Token.Builder clearHeadWordIndex()
optional string projectedCategory = 25; // The syntactic category of the maximal constituent headed by the word. Not used anywhere, so deleted.
optional uint32 headWordIndex = 26;
public boolean hasOperator()
If this is an operator, which one is it and what is its scope (as per Natural Logic)?
optional .edu.stanford.nlp.pipeline.Operator operator = 27;
hasOperator
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Operator getOperator()
If this is an operator, which one is it and what is its scope (as per Natural Logic)?
optional .edu.stanford.nlp.pipeline.Operator operator = 27;
getOperator
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setOperator(CoreNLPProtos.Operator value)
If this is an operator, which one is it and what is its scope (as per Natural Logic)?
optional .edu.stanford.nlp.pipeline.Operator operator = 27;
public CoreNLPProtos.Token.Builder setOperator(CoreNLPProtos.Operator.Builder builderForValue)
If this is an operator, which one is it and what is its scope (as per Natural Logic)?
optional .edu.stanford.nlp.pipeline.Operator operator = 27;
public CoreNLPProtos.Token.Builder mergeOperator(CoreNLPProtos.Operator value)
If this is an operator, which one is it and what is its scope (as per Natural Logic)?
optional .edu.stanford.nlp.pipeline.Operator operator = 27;
public CoreNLPProtos.Token.Builder clearOperator()
If this is an operator, which one is it and what is its scope (as per Natural Logic)?
optional .edu.stanford.nlp.pipeline.Operator operator = 27;
public CoreNLPProtos.Operator.Builder getOperatorBuilder()
If this is an operator, which one is it and what is its scope (as per Natural Logic)?
optional .edu.stanford.nlp.pipeline.Operator operator = 27;
public CoreNLPProtos.OperatorOrBuilder getOperatorOrBuilder()
If this is an operator, which one is it and what is its scope (as per Natural Logic)?
optional .edu.stanford.nlp.pipeline.Operator operator = 27;
getOperatorOrBuilder
in interface CoreNLPProtos.TokenOrBuilder
public boolean hasPolarity()
The polarity of this word, according to Natural Logic
optional .edu.stanford.nlp.pipeline.Polarity polarity = 28;
hasPolarity
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Polarity getPolarity()
The polarity of this word, according to Natural Logic
optional .edu.stanford.nlp.pipeline.Polarity polarity = 28;
getPolarity
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setPolarity(CoreNLPProtos.Polarity value)
The polarity of this word, according to Natural Logic
optional .edu.stanford.nlp.pipeline.Polarity polarity = 28;
public CoreNLPProtos.Token.Builder setPolarity(CoreNLPProtos.Polarity.Builder builderForValue)
The polarity of this word, according to Natural Logic
optional .edu.stanford.nlp.pipeline.Polarity polarity = 28;
public CoreNLPProtos.Token.Builder mergePolarity(CoreNLPProtos.Polarity value)
The polarity of this word, according to Natural Logic
optional .edu.stanford.nlp.pipeline.Polarity polarity = 28;
public CoreNLPProtos.Token.Builder clearPolarity()
The polarity of this word, according to Natural Logic
optional .edu.stanford.nlp.pipeline.Polarity polarity = 28;
public CoreNLPProtos.Polarity.Builder getPolarityBuilder()
The polarity of this word, according to Natural Logic
optional .edu.stanford.nlp.pipeline.Polarity polarity = 28;
public CoreNLPProtos.PolarityOrBuilder getPolarityOrBuilder()
The polarity of this word, according to Natural Logic
optional .edu.stanford.nlp.pipeline.Polarity polarity = 28;
getPolarityOrBuilder
in interface CoreNLPProtos.TokenOrBuilder
public boolean hasPolarityDir()
The polarity of this word, either "up", "down", or "flat"
optional string polarity_dir = 39;
hasPolarityDir
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getPolarityDir()
The polarity of this word, either "up", "down", or "flat"
optional string polarity_dir = 39;
getPolarityDir
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getPolarityDirBytes()
The polarity of this word, either "up", "down", or "flat"
optional string polarity_dir = 39;
getPolarityDirBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setPolarityDir(java.lang.String value)
The polarity of this word, either "up", "down", or "flat"
optional string polarity_dir = 39;
value
- The polarityDir to set.public CoreNLPProtos.Token.Builder clearPolarityDir()
The polarity of this word, either "up", "down", or "flat"
optional string polarity_dir = 39;
public CoreNLPProtos.Token.Builder setPolarityDirBytes(com.google.protobuf.ByteString value)
The polarity of this word, either "up", "down", or "flat"
optional string polarity_dir = 39;
value
- The bytes for polarityDir to set.public boolean hasSpan()
The span of a leaf node of a tree
optional .edu.stanford.nlp.pipeline.Span span = 29;
hasSpan
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Span getSpan()
The span of a leaf node of a tree
optional .edu.stanford.nlp.pipeline.Span span = 29;
getSpan
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setSpan(CoreNLPProtos.Span value)
The span of a leaf node of a tree
optional .edu.stanford.nlp.pipeline.Span span = 29;
public CoreNLPProtos.Token.Builder setSpan(CoreNLPProtos.Span.Builder builderForValue)
The span of a leaf node of a tree
optional .edu.stanford.nlp.pipeline.Span span = 29;
public CoreNLPProtos.Token.Builder mergeSpan(CoreNLPProtos.Span value)
The span of a leaf node of a tree
optional .edu.stanford.nlp.pipeline.Span span = 29;
public CoreNLPProtos.Token.Builder clearSpan()
The span of a leaf node of a tree
optional .edu.stanford.nlp.pipeline.Span span = 29;
public CoreNLPProtos.Span.Builder getSpanBuilder()
The span of a leaf node of a tree
optional .edu.stanford.nlp.pipeline.Span span = 29;
public CoreNLPProtos.SpanOrBuilder getSpanOrBuilder()
The span of a leaf node of a tree
optional .edu.stanford.nlp.pipeline.Span span = 29;
getSpanOrBuilder
in interface CoreNLPProtos.TokenOrBuilder
public boolean hasSentiment()
The final sentiment of the sentence
optional string sentiment = 30;
hasSentiment
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getSentiment()
The final sentiment of the sentence
optional string sentiment = 30;
getSentiment
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getSentimentBytes()
The final sentiment of the sentence
optional string sentiment = 30;
getSentimentBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setSentiment(java.lang.String value)
The final sentiment of the sentence
optional string sentiment = 30;
value
- The sentiment to set.public CoreNLPProtos.Token.Builder clearSentiment()
The final sentiment of the sentence
optional string sentiment = 30;
public CoreNLPProtos.Token.Builder setSentimentBytes(com.google.protobuf.ByteString value)
The final sentiment of the sentence
optional string sentiment = 30;
value
- The bytes for sentiment to set.public boolean hasQuotationIndex()
The index of the quotation this token refers to
optional int32 quotationIndex = 31;
hasQuotationIndex
in interface CoreNLPProtos.TokenOrBuilder
public int getQuotationIndex()
The index of the quotation this token refers to
optional int32 quotationIndex = 31;
getQuotationIndex
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setQuotationIndex(int value)
The index of the quotation this token refers to
optional int32 quotationIndex = 31;
value
- The quotationIndex to set.public CoreNLPProtos.Token.Builder clearQuotationIndex()
The index of the quotation this token refers to
optional int32 quotationIndex = 31;
public boolean hasConllUFeatures()
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32;
hasConllUFeatures
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.MapStringString getConllUFeatures()
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32;
getConllUFeatures
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setConllUFeatures(CoreNLPProtos.MapStringString value)
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32;
public CoreNLPProtos.Token.Builder setConllUFeatures(CoreNLPProtos.MapStringString.Builder builderForValue)
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32;
public CoreNLPProtos.Token.Builder mergeConllUFeatures(CoreNLPProtos.MapStringString value)
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32;
public CoreNLPProtos.Token.Builder clearConllUFeatures()
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32;
public CoreNLPProtos.MapStringString.Builder getConllUFeaturesBuilder()
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32;
public CoreNLPProtos.MapStringStringOrBuilder getConllUFeaturesOrBuilder()
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32;
getConllUFeaturesOrBuilder
in interface CoreNLPProtos.TokenOrBuilder
public boolean hasCoarseTag()
The coarse POS tag (used to store the UPOS tag)
optional string coarseTag = 33;
hasCoarseTag
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getCoarseTag()
The coarse POS tag (used to store the UPOS tag)
optional string coarseTag = 33;
getCoarseTag
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getCoarseTagBytes()
The coarse POS tag (used to store the UPOS tag)
optional string coarseTag = 33;
getCoarseTagBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setCoarseTag(java.lang.String value)
The coarse POS tag (used to store the UPOS tag)
optional string coarseTag = 33;
value
- The coarseTag to set.public CoreNLPProtos.Token.Builder clearCoarseTag()
The coarse POS tag (used to store the UPOS tag)
optional string coarseTag = 33;
public CoreNLPProtos.Token.Builder setCoarseTagBytes(com.google.protobuf.ByteString value)
The coarse POS tag (used to store the UPOS tag)
optional string coarseTag = 33;
value
- The bytes for coarseTag to set.public boolean hasConllUTokenSpan()
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34;
hasConllUTokenSpan
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Span getConllUTokenSpan()
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34;
getConllUTokenSpan
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setConllUTokenSpan(CoreNLPProtos.Span value)
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34;
public CoreNLPProtos.Token.Builder setConllUTokenSpan(CoreNLPProtos.Span.Builder builderForValue)
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34;
public CoreNLPProtos.Token.Builder mergeConllUTokenSpan(CoreNLPProtos.Span value)
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34;
public CoreNLPProtos.Token.Builder clearConllUTokenSpan()
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34;
public CoreNLPProtos.Span.Builder getConllUTokenSpanBuilder()
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34;
public CoreNLPProtos.SpanOrBuilder getConllUTokenSpanOrBuilder()
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34;
getConllUTokenSpanOrBuilder
in interface CoreNLPProtos.TokenOrBuilder
public boolean hasConllUMisc()
optional string conllUMisc = 35;
hasConllUMisc
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getConllUMisc()
optional string conllUMisc = 35;
getConllUMisc
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getConllUMiscBytes()
optional string conllUMisc = 35;
getConllUMiscBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setConllUMisc(java.lang.String value)
optional string conllUMisc = 35;
value
- The conllUMisc to set.public CoreNLPProtos.Token.Builder clearConllUMisc()
optional string conllUMisc = 35;
public CoreNLPProtos.Token.Builder setConllUMiscBytes(com.google.protobuf.ByteString value)
optional string conllUMisc = 35;
value
- The bytes for conllUMisc to set.public boolean hasConllUSecondaryDeps()
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36;
hasConllUSecondaryDeps
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.MapStringString getConllUSecondaryDeps()
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36;
getConllUSecondaryDeps
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setConllUSecondaryDeps(CoreNLPProtos.MapStringString value)
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36;
public CoreNLPProtos.Token.Builder setConllUSecondaryDeps(CoreNLPProtos.MapStringString.Builder builderForValue)
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36;
public CoreNLPProtos.Token.Builder mergeConllUSecondaryDeps(CoreNLPProtos.MapStringString value)
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36;
public CoreNLPProtos.Token.Builder clearConllUSecondaryDeps()
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36;
public CoreNLPProtos.MapStringString.Builder getConllUSecondaryDepsBuilder()
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36;
public CoreNLPProtos.MapStringStringOrBuilder getConllUSecondaryDepsOrBuilder()
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36;
getConllUSecondaryDepsOrBuilder
in interface CoreNLPProtos.TokenOrBuilder
public boolean hasWikipediaEntity()
optional string wikipediaEntity = 37;
hasWikipediaEntity
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getWikipediaEntity()
optional string wikipediaEntity = 37;
getWikipediaEntity
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getWikipediaEntityBytes()
optional string wikipediaEntity = 37;
getWikipediaEntityBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setWikipediaEntity(java.lang.String value)
optional string wikipediaEntity = 37;
value
- The wikipediaEntity to set.public CoreNLPProtos.Token.Builder clearWikipediaEntity()
optional string wikipediaEntity = 37;
public CoreNLPProtos.Token.Builder setWikipediaEntityBytes(com.google.protobuf.ByteString value)
optional string wikipediaEntity = 37;
value
- The bytes for wikipediaEntity to set.public boolean hasIsNewline()
optional bool isNewline = 38;
hasIsNewline
in interface CoreNLPProtos.TokenOrBuilder
public boolean getIsNewline()
optional bool isNewline = 38;
getIsNewline
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setIsNewline(boolean value)
optional bool isNewline = 38;
value
- The isNewline to set.public CoreNLPProtos.Token.Builder clearIsNewline()
optional bool isNewline = 38;
public boolean hasGender()
Fields set by other annotators in CoreNLP
optional string gender = 51;
hasGender
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getGender()
Fields set by other annotators in CoreNLP
optional string gender = 51;
getGender
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getGenderBytes()
Fields set by other annotators in CoreNLP
optional string gender = 51;
getGenderBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setGender(java.lang.String value)
Fields set by other annotators in CoreNLP
optional string gender = 51;
value
- The gender to set.public CoreNLPProtos.Token.Builder clearGender()
Fields set by other annotators in CoreNLP
optional string gender = 51;
public CoreNLPProtos.Token.Builder setGenderBytes(com.google.protobuf.ByteString value)
Fields set by other annotators in CoreNLP
optional string gender = 51;
value
- The bytes for gender to set.public boolean hasTrueCase()
true case type of token
optional string trueCase = 52;
hasTrueCase
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getTrueCase()
true case type of token
optional string trueCase = 52;
getTrueCase
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getTrueCaseBytes()
true case type of token
optional string trueCase = 52;
getTrueCaseBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setTrueCase(java.lang.String value)
true case type of token
optional string trueCase = 52;
value
- The trueCase to set.public CoreNLPProtos.Token.Builder clearTrueCase()
true case type of token
optional string trueCase = 52;
public CoreNLPProtos.Token.Builder setTrueCaseBytes(com.google.protobuf.ByteString value)
true case type of token
optional string trueCase = 52;
value
- The bytes for trueCase to set.public boolean hasTrueCaseText()
true case gloss of token
optional string trueCaseText = 53;
hasTrueCaseText
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getTrueCaseText()
true case gloss of token
optional string trueCaseText = 53;
getTrueCaseText
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getTrueCaseTextBytes()
true case gloss of token
optional string trueCaseText = 53;
getTrueCaseTextBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setTrueCaseText(java.lang.String value)
true case gloss of token
optional string trueCaseText = 53;
value
- The trueCaseText to set.public CoreNLPProtos.Token.Builder clearTrueCaseText()
true case gloss of token
optional string trueCaseText = 53;
public CoreNLPProtos.Token.Builder setTrueCaseTextBytes(com.google.protobuf.ByteString value)
true case gloss of token
optional string trueCaseText = 53;
value
- The bytes for trueCaseText to set.public boolean hasChineseChar()
Chinese character info
optional string chineseChar = 54;
hasChineseChar
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getChineseChar()
Chinese character info
optional string chineseChar = 54;
getChineseChar
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getChineseCharBytes()
Chinese character info
optional string chineseChar = 54;
getChineseCharBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setChineseChar(java.lang.String value)
Chinese character info
optional string chineseChar = 54;
value
- The chineseChar to set.public CoreNLPProtos.Token.Builder clearChineseChar()
Chinese character info
optional string chineseChar = 54;
public CoreNLPProtos.Token.Builder setChineseCharBytes(com.google.protobuf.ByteString value)
Chinese character info
optional string chineseChar = 54;
value
- The bytes for chineseChar to set.public boolean hasChineseSeg()
optional string chineseSeg = 55;
hasChineseSeg
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getChineseSeg()
optional string chineseSeg = 55;
getChineseSeg
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getChineseSegBytes()
optional string chineseSeg = 55;
getChineseSegBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setChineseSeg(java.lang.String value)
optional string chineseSeg = 55;
value
- The chineseSeg to set.public CoreNLPProtos.Token.Builder clearChineseSeg()
optional string chineseSeg = 55;
public CoreNLPProtos.Token.Builder setChineseSegBytes(com.google.protobuf.ByteString value)
optional string chineseSeg = 55;
value
- The bytes for chineseSeg to set.public boolean hasChineseXMLChar()
optional string chineseXMLChar = 60;
hasChineseXMLChar
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getChineseXMLChar()
optional string chineseXMLChar = 60;
getChineseXMLChar
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getChineseXMLCharBytes()
optional string chineseXMLChar = 60;
getChineseXMLCharBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setChineseXMLChar(java.lang.String value)
optional string chineseXMLChar = 60;
value
- The chineseXMLChar to set.public CoreNLPProtos.Token.Builder clearChineseXMLChar()
optional string chineseXMLChar = 60;
public CoreNLPProtos.Token.Builder setChineseXMLCharBytes(com.google.protobuf.ByteString value)
optional string chineseXMLChar = 60;
value
- The bytes for chineseXMLChar to set.public boolean hasArabicSeg()
Arabic character info
optional string arabicSeg = 76;
hasArabicSeg
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getArabicSeg()
Arabic character info
optional string arabicSeg = 76;
getArabicSeg
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getArabicSegBytes()
Arabic character info
optional string arabicSeg = 76;
getArabicSegBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setArabicSeg(java.lang.String value)
Arabic character info
optional string arabicSeg = 76;
value
- The arabicSeg to set.public CoreNLPProtos.Token.Builder clearArabicSeg()
Arabic character info
optional string arabicSeg = 76;
public CoreNLPProtos.Token.Builder setArabicSegBytes(com.google.protobuf.ByteString value)
Arabic character info
optional string arabicSeg = 76;
value
- The bytes for arabicSeg to set.public boolean hasSectionName()
Section info
optional string sectionName = 56;
hasSectionName
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getSectionName()
Section info
optional string sectionName = 56;
getSectionName
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getSectionNameBytes()
Section info
optional string sectionName = 56;
getSectionNameBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setSectionName(java.lang.String value)
Section info
optional string sectionName = 56;
value
- The sectionName to set.public CoreNLPProtos.Token.Builder clearSectionName()
Section info
optional string sectionName = 56;
public CoreNLPProtos.Token.Builder setSectionNameBytes(com.google.protobuf.ByteString value)
Section info
optional string sectionName = 56;
value
- The bytes for sectionName to set.public boolean hasSectionAuthor()
optional string sectionAuthor = 57;
hasSectionAuthor
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getSectionAuthor()
optional string sectionAuthor = 57;
getSectionAuthor
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getSectionAuthorBytes()
optional string sectionAuthor = 57;
getSectionAuthorBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setSectionAuthor(java.lang.String value)
optional string sectionAuthor = 57;
value
- The sectionAuthor to set.public CoreNLPProtos.Token.Builder clearSectionAuthor()
optional string sectionAuthor = 57;
public CoreNLPProtos.Token.Builder setSectionAuthorBytes(com.google.protobuf.ByteString value)
optional string sectionAuthor = 57;
value
- The bytes for sectionAuthor to set.public boolean hasSectionDate()
optional string sectionDate = 58;
hasSectionDate
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getSectionDate()
optional string sectionDate = 58;
getSectionDate
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getSectionDateBytes()
optional string sectionDate = 58;
getSectionDateBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setSectionDate(java.lang.String value)
optional string sectionDate = 58;
value
- The sectionDate to set.public CoreNLPProtos.Token.Builder clearSectionDate()
optional string sectionDate = 58;
public CoreNLPProtos.Token.Builder setSectionDateBytes(com.google.protobuf.ByteString value)
optional string sectionDate = 58;
value
- The bytes for sectionDate to set.public boolean hasSectionEndLabel()
optional string sectionEndLabel = 59;
hasSectionEndLabel
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getSectionEndLabel()
optional string sectionEndLabel = 59;
getSectionEndLabel
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getSectionEndLabelBytes()
optional string sectionEndLabel = 59;
getSectionEndLabelBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setSectionEndLabel(java.lang.String value)
optional string sectionEndLabel = 59;
value
- The sectionEndLabel to set.public CoreNLPProtos.Token.Builder clearSectionEndLabel()
optional string sectionEndLabel = 59;
public CoreNLPProtos.Token.Builder setSectionEndLabelBytes(com.google.protobuf.ByteString value)
optional string sectionEndLabel = 59;
value
- The bytes for sectionEndLabel to set.public boolean hasParent()
French tokens have parents
optional string parent = 61;
hasParent
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getParent()
French tokens have parents
optional string parent = 61;
getParent
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getParentBytes()
French tokens have parents
optional string parent = 61;
getParentBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setParent(java.lang.String value)
French tokens have parents
optional string parent = 61;
value
- The parent to set.public CoreNLPProtos.Token.Builder clearParent()
French tokens have parents
optional string parent = 61;
public CoreNLPProtos.Token.Builder setParentBytes(com.google.protobuf.ByteString value)
French tokens have parents
optional string parent = 61;
value
- The bytes for parent to set.public java.util.List<java.lang.Integer> getCorefMentionIndexList()
mention index info
repeated uint32 corefMentionIndex = 64;
getCorefMentionIndexList
in interface CoreNLPProtos.TokenOrBuilder
public int getCorefMentionIndexCount()
mention index info
repeated uint32 corefMentionIndex = 64;
getCorefMentionIndexCount
in interface CoreNLPProtos.TokenOrBuilder
public int getCorefMentionIndex(int index)
mention index info
repeated uint32 corefMentionIndex = 64;
getCorefMentionIndex
in interface CoreNLPProtos.TokenOrBuilder
index
- The index of the element to return.public CoreNLPProtos.Token.Builder setCorefMentionIndex(int index, int value)
mention index info
repeated uint32 corefMentionIndex = 64;
index
- The index to set the value at.value
- The corefMentionIndex to set.public CoreNLPProtos.Token.Builder addCorefMentionIndex(int value)
mention index info
repeated uint32 corefMentionIndex = 64;
value
- The corefMentionIndex to add.public CoreNLPProtos.Token.Builder addAllCorefMentionIndex(java.lang.Iterable<? extends java.lang.Integer> values)
mention index info
repeated uint32 corefMentionIndex = 64;
values
- The corefMentionIndex to add.public CoreNLPProtos.Token.Builder clearCorefMentionIndex()
mention index info
repeated uint32 corefMentionIndex = 64;
public boolean hasEntityMentionIndex()
optional uint32 entityMentionIndex = 65;
hasEntityMentionIndex
in interface CoreNLPProtos.TokenOrBuilder
public int getEntityMentionIndex()
optional uint32 entityMentionIndex = 65;
getEntityMentionIndex
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setEntityMentionIndex(int value)
optional uint32 entityMentionIndex = 65;
value
- The entityMentionIndex to set.public CoreNLPProtos.Token.Builder clearEntityMentionIndex()
optional uint32 entityMentionIndex = 65;
public boolean hasIsMWT()
mwt stuff
optional bool isMWT = 67;
hasIsMWT
in interface CoreNLPProtos.TokenOrBuilder
public boolean getIsMWT()
mwt stuff
optional bool isMWT = 67;
getIsMWT
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setIsMWT(boolean value)
mwt stuff
optional bool isMWT = 67;
value
- The isMWT to set.public CoreNLPProtos.Token.Builder clearIsMWT()
mwt stuff
optional bool isMWT = 67;
public boolean hasIsFirstMWT()
optional bool isFirstMWT = 68;
hasIsFirstMWT
in interface CoreNLPProtos.TokenOrBuilder
public boolean getIsFirstMWT()
optional bool isFirstMWT = 68;
getIsFirstMWT
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setIsFirstMWT(boolean value)
optional bool isFirstMWT = 68;
value
- The isFirstMWT to set.public CoreNLPProtos.Token.Builder clearIsFirstMWT()
optional bool isFirstMWT = 68;
public boolean hasMwtText()
optional string mwtText = 69;
hasMwtText
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getMwtText()
optional string mwtText = 69;
getMwtText
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getMwtTextBytes()
optional string mwtText = 69;
getMwtTextBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setMwtText(java.lang.String value)
optional string mwtText = 69;
value
- The mwtText to set.public CoreNLPProtos.Token.Builder clearMwtText()
optional string mwtText = 69;
public CoreNLPProtos.Token.Builder setMwtTextBytes(com.google.protobuf.ByteString value)
optional string mwtText = 69;
value
- The bytes for mwtText to set.public boolean hasNumericValue()
number info
optional uint64 numericValue = 70;
hasNumericValue
in interface CoreNLPProtos.TokenOrBuilder
public long getNumericValue()
number info
optional uint64 numericValue = 70;
getNumericValue
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setNumericValue(long value)
number info
optional uint64 numericValue = 70;
value
- The numericValue to set.public CoreNLPProtos.Token.Builder clearNumericValue()
number info
optional uint64 numericValue = 70;
public boolean hasNumericType()
optional string numericType = 71;
hasNumericType
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getNumericType()
optional string numericType = 71;
getNumericType
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getNumericTypeBytes()
optional string numericType = 71;
getNumericTypeBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setNumericType(java.lang.String value)
optional string numericType = 71;
value
- The numericType to set.public CoreNLPProtos.Token.Builder clearNumericType()
optional string numericType = 71;
public CoreNLPProtos.Token.Builder setNumericTypeBytes(com.google.protobuf.ByteString value)
optional string numericType = 71;
value
- The bytes for numericType to set.public boolean hasNumericCompositeValue()
optional uint64 numericCompositeValue = 72;
hasNumericCompositeValue
in interface CoreNLPProtos.TokenOrBuilder
public long getNumericCompositeValue()
optional uint64 numericCompositeValue = 72;
getNumericCompositeValue
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setNumericCompositeValue(long value)
optional uint64 numericCompositeValue = 72;
value
- The numericCompositeValue to set.public CoreNLPProtos.Token.Builder clearNumericCompositeValue()
optional uint64 numericCompositeValue = 72;
public boolean hasNumericCompositeType()
optional string numericCompositeType = 73;
hasNumericCompositeType
in interface CoreNLPProtos.TokenOrBuilder
public java.lang.String getNumericCompositeType()
optional string numericCompositeType = 73;
getNumericCompositeType
in interface CoreNLPProtos.TokenOrBuilder
public com.google.protobuf.ByteString getNumericCompositeTypeBytes()
optional string numericCompositeType = 73;
getNumericCompositeTypeBytes
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setNumericCompositeType(java.lang.String value)
optional string numericCompositeType = 73;
value
- The numericCompositeType to set.public CoreNLPProtos.Token.Builder clearNumericCompositeType()
optional string numericCompositeType = 73;
public CoreNLPProtos.Token.Builder setNumericCompositeTypeBytes(com.google.protobuf.ByteString value)
optional string numericCompositeType = 73;
value
- The bytes for numericCompositeType to set.public boolean hasCodepointOffsetBegin()
optional uint32 codepointOffsetBegin = 74;
hasCodepointOffsetBegin
in interface CoreNLPProtos.TokenOrBuilder
public int getCodepointOffsetBegin()
optional uint32 codepointOffsetBegin = 74;
getCodepointOffsetBegin
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setCodepointOffsetBegin(int value)
optional uint32 codepointOffsetBegin = 74;
value
- The codepointOffsetBegin to set.public CoreNLPProtos.Token.Builder clearCodepointOffsetBegin()
optional uint32 codepointOffsetBegin = 74;
public boolean hasCodepointOffsetEnd()
optional uint32 codepointOffsetEnd = 75;
hasCodepointOffsetEnd
in interface CoreNLPProtos.TokenOrBuilder
public int getCodepointOffsetEnd()
optional uint32 codepointOffsetEnd = 75;
getCodepointOffsetEnd
in interface CoreNLPProtos.TokenOrBuilder
public CoreNLPProtos.Token.Builder setCodepointOffsetEnd(int value)
optional uint32 codepointOffsetEnd = 75;
value
- The codepointOffsetEnd to set.public CoreNLPProtos.Token.Builder clearCodepointOffsetEnd()
optional uint32 codepointOffsetEnd = 75;
public final CoreNLPProtos.Token.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Token.Builder>
public final CoreNLPProtos.Token.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Token.Builder>