public static final class CoreNLPProtos.Token extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<CoreNLPProtos.Token> implements CoreNLPProtos.TokenOrBuilder
The serialized version of a Token (a CoreLabel).Protobuf type
edu.stanford.nlp.pipeline.Token
Modifier and Type | Class and Description |
---|---|
static class |
CoreNLPProtos.Token.Builder
The serialized version of a Token (a CoreLabel).
|
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriter
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
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.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.MapStringStringOrBuilder |
getConllUSecondaryDepsOrBuilder()
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36; |
CoreNLPProtos.Span |
getConllUTokenSpan()
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
|
static CoreNLPProtos.Token |
getDefaultInstance() |
CoreNLPProtos.Token |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.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
|
com.google.protobuf.Parser<CoreNLPProtos.Token> |
getParserForType() |
CoreNLPProtos.Polarity |
getPolarity()
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
|
int |
getSerializedSize() |
CoreNLPProtos.Span |
getSpan()
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.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
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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
|
int |
hashCode() |
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() |
static CoreNLPProtos.Token.Builder |
newBuilder() |
static CoreNLPProtos.Token.Builder |
newBuilder(CoreNLPProtos.Token prototype) |
CoreNLPProtos.Token.Builder |
newBuilderForType() |
protected CoreNLPProtos.Token.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CoreNLPProtos.Token |
parseDelimitedFrom(java.io.InputStream input) |
static CoreNLPProtos.Token |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Token |
parseFrom(byte[] data) |
static CoreNLPProtos.Token |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Token |
parseFrom(java.nio.ByteBuffer data) |
static CoreNLPProtos.Token |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Token |
parseFrom(com.google.protobuf.ByteString data) |
static CoreNLPProtos.Token |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Token |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CoreNLPProtos.Token |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Token |
parseFrom(java.io.InputStream input) |
static CoreNLPProtos.Token |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CoreNLPProtos.Token> |
parser() |
CoreNLPProtos.Token.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldProto3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, isStringEmpty, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
public static final int WORD_FIELD_NUMBER
public static final int POS_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int CATEGORY_FIELD_NUMBER
public static final int BEFORE_FIELD_NUMBER
public static final int AFTER_FIELD_NUMBER
public static final int ORIGINALTEXT_FIELD_NUMBER
public static final int NER_FIELD_NUMBER
public static final int COARSENER_FIELD_NUMBER
public static final int FINEGRAINEDNER_FIELD_NUMBER
public static final int NERLABELPROBS_FIELD_NUMBER
public static final int NORMALIZEDNER_FIELD_NUMBER
public static final int LEMMA_FIELD_NUMBER
public static final int BEGINCHAR_FIELD_NUMBER
public static final int ENDCHAR_FIELD_NUMBER
public static final int UTTERANCE_FIELD_NUMBER
public static final int SPEAKER_FIELD_NUMBER
public static final int SPEAKERTYPE_FIELD_NUMBER
public static final int BEGININDEX_FIELD_NUMBER
public static final int ENDINDEX_FIELD_NUMBER
public static final int TOKENBEGININDEX_FIELD_NUMBER
public static final int TOKENENDINDEX_FIELD_NUMBER
public static final int TIMEXVALUE_FIELD_NUMBER
public static final int HASXMLCONTEXT_FIELD_NUMBER
public static final int XMLCONTEXT_FIELD_NUMBER
public static final int COREFCLUSTERID_FIELD_NUMBER
public static final int ANSWER_FIELD_NUMBER
public static final int HEADWORDINDEX_FIELD_NUMBER
public static final int OPERATOR_FIELD_NUMBER
public static final int POLARITY_FIELD_NUMBER
public static final int POLARITY_DIR_FIELD_NUMBER
public static final int SPAN_FIELD_NUMBER
public static final int SENTIMENT_FIELD_NUMBER
public static final int QUOTATIONINDEX_FIELD_NUMBER
public static final int CONLLUFEATURES_FIELD_NUMBER
public static final int COARSETAG_FIELD_NUMBER
public static final int CONLLUTOKENSPAN_FIELD_NUMBER
public static final int CONLLUMISC_FIELD_NUMBER
public static final int CONLLUSECONDARYDEPS_FIELD_NUMBER
public static final int WIKIPEDIAENTITY_FIELD_NUMBER
public static final int ISNEWLINE_FIELD_NUMBER
public static final int GENDER_FIELD_NUMBER
public static final int TRUECASE_FIELD_NUMBER
public static final int TRUECASETEXT_FIELD_NUMBER
public static final int CHINESECHAR_FIELD_NUMBER
public static final int CHINESESEG_FIELD_NUMBER
public static final int CHINESEXMLCHAR_FIELD_NUMBER
public static final int ARABICSEG_FIELD_NUMBER
public static final int SECTIONNAME_FIELD_NUMBER
public static final int SECTIONAUTHOR_FIELD_NUMBER
public static final int SECTIONDATE_FIELD_NUMBER
public static final int SECTIONENDLABEL_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
public static final int COREFMENTIONINDEX_FIELD_NUMBER
public static final int ENTITYMENTIONINDEX_FIELD_NUMBER
public static final int ISMWT_FIELD_NUMBER
public static final int ISFIRSTMWT_FIELD_NUMBER
public static final int MWTTEXT_FIELD_NUMBER
public static final int NUMERICVALUE_FIELD_NUMBER
public static final int NUMERICTYPE_FIELD_NUMBER
public static final int NUMERICCOMPOSITEVALUE_FIELD_NUMBER
public static final int NUMERICCOMPOSITETYPE_FIELD_NUMBER
public static final int CODEPOINTOFFSETBEGIN_FIELD_NUMBER
public static final int CODEPOINTOFFSETEND_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<CoreNLPProtos.Token> PARSER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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.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 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 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 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 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 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.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.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 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.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 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 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.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 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.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 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.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 boolean hasIsNewline()
optional bool isNewline = 38;
hasIsNewline
in interface CoreNLPProtos.TokenOrBuilder
public boolean getIsNewline()
optional bool isNewline = 38;
getIsNewline
in interface CoreNLPProtos.TokenOrBuilder
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 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 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 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 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 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 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 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 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 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 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 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 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 boolean hasEntityMentionIndex()
optional uint32 entityMentionIndex = 65;
hasEntityMentionIndex
in interface CoreNLPProtos.TokenOrBuilder
public int getEntityMentionIndex()
optional uint32 entityMentionIndex = 65;
getEntityMentionIndex
in interface CoreNLPProtos.TokenOrBuilder
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 boolean hasIsFirstMWT()
optional bool isFirstMWT = 68;
hasIsFirstMWT
in interface CoreNLPProtos.TokenOrBuilder
public boolean getIsFirstMWT()
optional bool isFirstMWT = 68;
getIsFirstMWT
in interface CoreNLPProtos.TokenOrBuilder
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 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 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 boolean hasNumericCompositeValue()
optional uint64 numericCompositeValue = 72;
hasNumericCompositeValue
in interface CoreNLPProtos.TokenOrBuilder
public long getNumericCompositeValue()
optional uint64 numericCompositeValue = 72;
getNumericCompositeValue
in interface CoreNLPProtos.TokenOrBuilder
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 boolean hasCodepointOffsetBegin()
optional uint32 codepointOffsetBegin = 74;
hasCodepointOffsetBegin
in interface CoreNLPProtos.TokenOrBuilder
public int getCodepointOffsetBegin()
optional uint32 codepointOffsetBegin = 74;
getCodepointOffsetBegin
in interface CoreNLPProtos.TokenOrBuilder
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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.ExtendableMessage<CoreNLPProtos.Token>
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static CoreNLPProtos.Token parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Token parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Token parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Token parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Token parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Token parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.Token parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Token parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Token parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Token parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Token parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.Token parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public CoreNLPProtos.Token.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static CoreNLPProtos.Token.Builder newBuilder()
public static CoreNLPProtos.Token.Builder newBuilder(CoreNLPProtos.Token prototype)
public CoreNLPProtos.Token.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected CoreNLPProtos.Token.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static CoreNLPProtos.Token getDefaultInstance()
public static com.google.protobuf.Parser<CoreNLPProtos.Token> parser()
public com.google.protobuf.Parser<CoreNLPProtos.Token> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
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