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.ExtensionWritercom.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | 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, parseUnknownFieldProto3canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, isStringEmpty, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtensionpublic static final int 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.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasWord()
Fields set by the default annotators [new CoreNLP(new Properties())]
optional string word = 1;hasWord in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getWord()
Fields set by the default annotators [new CoreNLP(new Properties())]
optional string word = 1;getWord in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getWordBytes()
Fields set by the default annotators [new CoreNLP(new Properties())]
optional string word = 1;getWordBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasPos()
The word's part of speech tag
optional string pos = 2;hasPos in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getPos()
The word's part of speech tag
optional string pos = 2;getPos in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getPosBytes()
The word's part of speech tag
optional string pos = 2;getPosBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasValue()
The word's 'value', (e.g., parse tree node)
optional string value = 3;hasValue in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getValue()
The word's 'value', (e.g., parse tree node)
optional string value = 3;getValue in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
The word's 'value', (e.g., parse tree node)
optional string value = 3;getValueBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasCategory()
The word's 'category' (e.g., parse tree node)
optional string category = 4;hasCategory in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getCategory()
The word's 'category' (e.g., parse tree node)
optional string category = 4;getCategory in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getCategoryBytes()
The word's 'category' (e.g., parse tree node)
optional string category = 4;getCategoryBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasBefore()
The whitespace/xml before the token
optional string before = 5;hasBefore in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getBefore()
The whitespace/xml before the token
optional string before = 5;getBefore in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getBeforeBytes()
The whitespace/xml before the token
optional string before = 5;getBeforeBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasAfter()
The whitespace/xml after the token
optional string after = 6;hasAfter in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getAfter()
The whitespace/xml after the token
optional string after = 6;getAfter in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getAfterBytes()
The whitespace/xml after the token
optional string after = 6;getAfterBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasOriginalText()
The original text for this token
optional string originalText = 7;hasOriginalText in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getOriginalText()
The original text for this token
optional string originalText = 7;getOriginalText in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getOriginalTextBytes()
The original text for this token
optional string originalText = 7;getOriginalTextBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasNer()
The word's NER tag
optional string ner = 8;hasNer in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getNer()
The word's NER tag
optional string ner = 8;getNer in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getNerBytes()
The word's NER tag
optional string ner = 8;getNerBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasCoarseNER()
The word's coarse NER tag
optional string coarseNER = 62;hasCoarseNER in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getCoarseNER()
The word's coarse NER tag
optional string coarseNER = 62;getCoarseNER in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getCoarseNERBytes()
The word's coarse NER tag
optional string coarseNER = 62;getCoarseNERBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasFineGrainedNER()
The word's fine-grained NER tag
optional string fineGrainedNER = 63;hasFineGrainedNER in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getFineGrainedNER()
The word's fine-grained NER tag
optional string fineGrainedNER = 63;getFineGrainedNER in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getFineGrainedNERBytes()
The word's fine-grained NER tag
optional string fineGrainedNER = 63;getFineGrainedNERBytes in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ProtocolStringList getNerLabelProbsList()
listing of probs
repeated string nerLabelProbs = 66;getNerLabelProbsList in interface CoreNLPProtos.TokenOrBuilderpublic int getNerLabelProbsCount()
listing of probs
repeated string nerLabelProbs = 66;getNerLabelProbsCount in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getNerLabelProbs(int index)
listing of probs
repeated string nerLabelProbs = 66;getNerLabelProbs in interface CoreNLPProtos.TokenOrBuilderindex - 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.TokenOrBuilderindex - The index of the value to return.public boolean hasNormalizedNER()
The word's normalized NER tag
optional string normalizedNER = 9;hasNormalizedNER in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getNormalizedNER()
The word's normalized NER tag
optional string normalizedNER = 9;getNormalizedNER in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getNormalizedNERBytes()
The word's normalized NER tag
optional string normalizedNER = 9;getNormalizedNERBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasLemma()
The word's lemma
optional string lemma = 10;hasLemma in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getLemma()
The word's lemma
optional string lemma = 10;getLemma in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getLemmaBytes()
The word's lemma
optional string lemma = 10;getLemmaBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasBeginChar()
The character offset begin, in the document
optional uint32 beginChar = 11;hasBeginChar in interface CoreNLPProtos.TokenOrBuilderpublic int getBeginChar()
The character offset begin, in the document
optional uint32 beginChar = 11;getBeginChar in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasEndChar()
The character offset end, in the document
optional uint32 endChar = 12;hasEndChar in interface CoreNLPProtos.TokenOrBuilderpublic int getEndChar()
The character offset end, in the document
optional uint32 endChar = 12;getEndChar in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasUtterance()
The utterance tag used in dcoref
optional uint32 utterance = 13;hasUtterance in interface CoreNLPProtos.TokenOrBuilderpublic int getUtterance()
The utterance tag used in dcoref
optional uint32 utterance = 13;getUtterance in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasSpeaker()
The speaker speaking this word
optional string speaker = 14;hasSpeaker in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getSpeaker()
The speaker speaking this word
optional string speaker = 14;getSpeaker in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getSpeakerBytes()
The speaker speaking this word
optional string speaker = 14;getSpeakerBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasSpeakerType()
The type of speaker speaking this word
optional string speakerType = 77;hasSpeakerType in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getSpeakerType()
The type of speaker speaking this word
optional string speakerType = 77;getSpeakerType in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getSpeakerTypeBytes()
The type of speaker speaking this word
optional string speakerType = 77;getSpeakerTypeBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasBeginIndex()
The begin index of, e.g., a span
optional uint32 beginIndex = 15;hasBeginIndex in interface CoreNLPProtos.TokenOrBuilderpublic int getBeginIndex()
The begin index of, e.g., a span
optional uint32 beginIndex = 15;getBeginIndex in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasEndIndex()
The begin index of, e.g., a span
optional uint32 endIndex = 16;hasEndIndex in interface CoreNLPProtos.TokenOrBuilderpublic int getEndIndex()
The begin index of, e.g., a span
optional uint32 endIndex = 16;getEndIndex in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasTokenBeginIndex()
The begin index of the token
optional uint32 tokenBeginIndex = 17;hasTokenBeginIndex in interface CoreNLPProtos.TokenOrBuilderpublic int getTokenBeginIndex()
The begin index of the token
optional uint32 tokenBeginIndex = 17;getTokenBeginIndex in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasTokenEndIndex()
The end index of the token
optional uint32 tokenEndIndex = 18;hasTokenEndIndex in interface CoreNLPProtos.TokenOrBuilderpublic int getTokenEndIndex()
The end index of the token
optional uint32 tokenEndIndex = 18;getTokenEndIndex in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasTimexValue()
The time this word refers to
optional .edu.stanford.nlp.pipeline.Timex timexValue = 19;hasTimexValue in interface CoreNLPProtos.TokenOrBuilderpublic CoreNLPProtos.Timex getTimexValue()
The time this word refers to
optional .edu.stanford.nlp.pipeline.Timex timexValue = 19;getTimexValue in interface CoreNLPProtos.TokenOrBuilderpublic CoreNLPProtos.TimexOrBuilder getTimexValueOrBuilder()
The time this word refers to
optional .edu.stanford.nlp.pipeline.Timex timexValue = 19;getTimexValueOrBuilder in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasHasXmlContext()
Used by clean xml annotator
optional bool hasXmlContext = 21;hasHasXmlContext in interface CoreNLPProtos.TokenOrBuilderpublic boolean getHasXmlContext()
Used by clean xml annotator
optional bool hasXmlContext = 21;getHasXmlContext in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ProtocolStringList getXmlContextList()
Used by clean xml annotator
repeated string xmlContext = 22;getXmlContextList in interface CoreNLPProtos.TokenOrBuilderpublic int getXmlContextCount()
Used by clean xml annotator
repeated string xmlContext = 22;getXmlContextCount in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getXmlContext(int index)
Used by clean xml annotator
repeated string xmlContext = 22;getXmlContext in interface CoreNLPProtos.TokenOrBuilderindex - 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.TokenOrBuilderindex - 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.TokenOrBuilderpublic int getCorefClusterID()
The [primary] cluster id for this token
optional uint32 corefClusterID = 23;getCorefClusterID in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasAnswer()
A temporary annotation which is occasionally left in
optional string answer = 24;hasAnswer in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getAnswer()
A temporary annotation which is occasionally left in
optional string answer = 24;getAnswer in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getAnswerBytes()
A temporary annotation which is occasionally left in
optional string answer = 24;getAnswerBytes in interface CoreNLPProtos.TokenOrBuilderpublic 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.TokenOrBuilderpublic 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.TokenOrBuilderpublic 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.TokenOrBuilderpublic 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.TokenOrBuilderpublic 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.TokenOrBuilderpublic boolean hasPolarity()
The polarity of this word, according to Natural Logic
optional .edu.stanford.nlp.pipeline.Polarity polarity = 28;hasPolarity in interface CoreNLPProtos.TokenOrBuilderpublic CoreNLPProtos.Polarity getPolarity()
The polarity of this word, according to Natural Logic
optional .edu.stanford.nlp.pipeline.Polarity polarity = 28;getPolarity in interface CoreNLPProtos.TokenOrBuilderpublic CoreNLPProtos.PolarityOrBuilder getPolarityOrBuilder()
The polarity of this word, according to Natural Logic
optional .edu.stanford.nlp.pipeline.Polarity polarity = 28;getPolarityOrBuilder in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasPolarityDir()
The polarity of this word, either "up", "down", or "flat"
optional string polarity_dir = 39;hasPolarityDir in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getPolarityDir()
The polarity of this word, either "up", "down", or "flat"
optional string polarity_dir = 39;getPolarityDir in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getPolarityDirBytes()
The polarity of this word, either "up", "down", or "flat"
optional string polarity_dir = 39;getPolarityDirBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasSpan()
The span of a leaf node of a tree
optional .edu.stanford.nlp.pipeline.Span span = 29;hasSpan in interface CoreNLPProtos.TokenOrBuilderpublic CoreNLPProtos.Span getSpan()
The span of a leaf node of a tree
optional .edu.stanford.nlp.pipeline.Span span = 29;getSpan in interface CoreNLPProtos.TokenOrBuilderpublic CoreNLPProtos.SpanOrBuilder getSpanOrBuilder()
The span of a leaf node of a tree
optional .edu.stanford.nlp.pipeline.Span span = 29;getSpanOrBuilder in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasSentiment()
The final sentiment of the sentence
optional string sentiment = 30;hasSentiment in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getSentiment()
The final sentiment of the sentence
optional string sentiment = 30;getSentiment in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getSentimentBytes()
The final sentiment of the sentence
optional string sentiment = 30;getSentimentBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasQuotationIndex()
The index of the quotation this token refers to
optional int32 quotationIndex = 31;hasQuotationIndex in interface CoreNLPProtos.TokenOrBuilderpublic int getQuotationIndex()
The index of the quotation this token refers to
optional int32 quotationIndex = 31;getQuotationIndex in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasConllUFeatures()
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32;hasConllUFeatures in interface CoreNLPProtos.TokenOrBuilderpublic CoreNLPProtos.MapStringString getConllUFeatures()
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32;getConllUFeatures in interface CoreNLPProtos.TokenOrBuilderpublic CoreNLPProtos.MapStringStringOrBuilder getConllUFeaturesOrBuilder()
optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32;getConllUFeaturesOrBuilder in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasCoarseTag()
The coarse POS tag (used to store the UPOS tag)
optional string coarseTag = 33;hasCoarseTag in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getCoarseTag()
The coarse POS tag (used to store the UPOS tag)
optional string coarseTag = 33;getCoarseTag in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getCoarseTagBytes()
The coarse POS tag (used to store the UPOS tag)
optional string coarseTag = 33;getCoarseTagBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasConllUTokenSpan()
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34;hasConllUTokenSpan in interface CoreNLPProtos.TokenOrBuilderpublic CoreNLPProtos.Span getConllUTokenSpan()
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34;getConllUTokenSpan in interface CoreNLPProtos.TokenOrBuilderpublic CoreNLPProtos.SpanOrBuilder getConllUTokenSpanOrBuilder()
optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34;getConllUTokenSpanOrBuilder in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasConllUMisc()
optional string conllUMisc = 35;hasConllUMisc in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getConllUMisc()
optional string conllUMisc = 35;getConllUMisc in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getConllUMiscBytes()
optional string conllUMisc = 35;getConllUMiscBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasConllUSecondaryDeps()
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36;hasConllUSecondaryDeps in interface CoreNLPProtos.TokenOrBuilderpublic CoreNLPProtos.MapStringString getConllUSecondaryDeps()
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36;getConllUSecondaryDeps in interface CoreNLPProtos.TokenOrBuilderpublic CoreNLPProtos.MapStringStringOrBuilder getConllUSecondaryDepsOrBuilder()
optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36;getConllUSecondaryDepsOrBuilder in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasWikipediaEntity()
optional string wikipediaEntity = 37;hasWikipediaEntity in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getWikipediaEntity()
optional string wikipediaEntity = 37;getWikipediaEntity in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getWikipediaEntityBytes()
optional string wikipediaEntity = 37;getWikipediaEntityBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasIsNewline()
optional bool isNewline = 38;hasIsNewline in interface CoreNLPProtos.TokenOrBuilderpublic boolean getIsNewline()
optional bool isNewline = 38;getIsNewline in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasGender()
Fields set by other annotators in CoreNLP
optional string gender = 51;hasGender in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getGender()
Fields set by other annotators in CoreNLP
optional string gender = 51;getGender in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getGenderBytes()
Fields set by other annotators in CoreNLP
optional string gender = 51;getGenderBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasTrueCase()
true case type of token
optional string trueCase = 52;hasTrueCase in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getTrueCase()
true case type of token
optional string trueCase = 52;getTrueCase in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getTrueCaseBytes()
true case type of token
optional string trueCase = 52;getTrueCaseBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasTrueCaseText()
true case gloss of token
optional string trueCaseText = 53;hasTrueCaseText in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getTrueCaseText()
true case gloss of token
optional string trueCaseText = 53;getTrueCaseText in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getTrueCaseTextBytes()
true case gloss of token
optional string trueCaseText = 53;getTrueCaseTextBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasChineseChar()
Chinese character info
optional string chineseChar = 54;hasChineseChar in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getChineseChar()
Chinese character info
optional string chineseChar = 54;getChineseChar in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getChineseCharBytes()
Chinese character info
optional string chineseChar = 54;getChineseCharBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasChineseSeg()
optional string chineseSeg = 55;hasChineseSeg in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getChineseSeg()
optional string chineseSeg = 55;getChineseSeg in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getChineseSegBytes()
optional string chineseSeg = 55;getChineseSegBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasChineseXMLChar()
optional string chineseXMLChar = 60;hasChineseXMLChar in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getChineseXMLChar()
optional string chineseXMLChar = 60;getChineseXMLChar in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getChineseXMLCharBytes()
optional string chineseXMLChar = 60;getChineseXMLCharBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasArabicSeg()
Arabic character info
optional string arabicSeg = 76;hasArabicSeg in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getArabicSeg()
Arabic character info
optional string arabicSeg = 76;getArabicSeg in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getArabicSegBytes()
Arabic character info
optional string arabicSeg = 76;getArabicSegBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasSectionName()
Section info
optional string sectionName = 56;hasSectionName in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getSectionName()
Section info
optional string sectionName = 56;getSectionName in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getSectionNameBytes()
Section info
optional string sectionName = 56;getSectionNameBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasSectionAuthor()
optional string sectionAuthor = 57;hasSectionAuthor in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getSectionAuthor()
optional string sectionAuthor = 57;getSectionAuthor in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getSectionAuthorBytes()
optional string sectionAuthor = 57;getSectionAuthorBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasSectionDate()
optional string sectionDate = 58;hasSectionDate in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getSectionDate()
optional string sectionDate = 58;getSectionDate in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getSectionDateBytes()
optional string sectionDate = 58;getSectionDateBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasSectionEndLabel()
optional string sectionEndLabel = 59;hasSectionEndLabel in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getSectionEndLabel()
optional string sectionEndLabel = 59;getSectionEndLabel in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getSectionEndLabelBytes()
optional string sectionEndLabel = 59;getSectionEndLabelBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasParent()
French tokens have parents
optional string parent = 61;hasParent in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getParent()
French tokens have parents
optional string parent = 61;getParent in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
French tokens have parents
optional string parent = 61;getParentBytes in interface CoreNLPProtos.TokenOrBuilderpublic java.util.List<java.lang.Integer> getCorefMentionIndexList()
mention index info
repeated uint32 corefMentionIndex = 64;getCorefMentionIndexList in interface CoreNLPProtos.TokenOrBuilderpublic int getCorefMentionIndexCount()
mention index info
repeated uint32 corefMentionIndex = 64;getCorefMentionIndexCount in interface CoreNLPProtos.TokenOrBuilderpublic int getCorefMentionIndex(int index)
mention index info
repeated uint32 corefMentionIndex = 64;getCorefMentionIndex in interface CoreNLPProtos.TokenOrBuilderindex - The index of the element to return.public boolean hasEntityMentionIndex()
optional uint32 entityMentionIndex = 65;hasEntityMentionIndex in interface CoreNLPProtos.TokenOrBuilderpublic int getEntityMentionIndex()
optional uint32 entityMentionIndex = 65;getEntityMentionIndex in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasIsMWT()
mwt stuff
optional bool isMWT = 67;hasIsMWT in interface CoreNLPProtos.TokenOrBuilderpublic boolean getIsMWT()
mwt stuff
optional bool isMWT = 67;getIsMWT in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasIsFirstMWT()
optional bool isFirstMWT = 68;hasIsFirstMWT in interface CoreNLPProtos.TokenOrBuilderpublic boolean getIsFirstMWT()
optional bool isFirstMWT = 68;getIsFirstMWT in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasMwtText()
optional string mwtText = 69;hasMwtText in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getMwtText()
optional string mwtText = 69;getMwtText in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getMwtTextBytes()
optional string mwtText = 69;getMwtTextBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasNumericValue()
number info
optional uint64 numericValue = 70;hasNumericValue in interface CoreNLPProtos.TokenOrBuilderpublic long getNumericValue()
number info
optional uint64 numericValue = 70;getNumericValue in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasNumericType()
optional string numericType = 71;hasNumericType in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getNumericType()
optional string numericType = 71;getNumericType in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getNumericTypeBytes()
optional string numericType = 71;getNumericTypeBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasNumericCompositeValue()
optional uint64 numericCompositeValue = 72;hasNumericCompositeValue in interface CoreNLPProtos.TokenOrBuilderpublic long getNumericCompositeValue()
optional uint64 numericCompositeValue = 72;getNumericCompositeValue in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasNumericCompositeType()
optional string numericCompositeType = 73;hasNumericCompositeType in interface CoreNLPProtos.TokenOrBuilderpublic java.lang.String getNumericCompositeType()
optional string numericCompositeType = 73;getNumericCompositeType in interface CoreNLPProtos.TokenOrBuilderpublic com.google.protobuf.ByteString getNumericCompositeTypeBytes()
optional string numericCompositeType = 73;getNumericCompositeTypeBytes in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasCodepointOffsetBegin()
optional uint32 codepointOffsetBegin = 74;hasCodepointOffsetBegin in interface CoreNLPProtos.TokenOrBuilderpublic int getCodepointOffsetBegin()
optional uint32 codepointOffsetBegin = 74;getCodepointOffsetBegin in interface CoreNLPProtos.TokenOrBuilderpublic boolean hasCodepointOffsetEnd()
optional uint32 codepointOffsetEnd = 75;hasCodepointOffsetEnd in interface CoreNLPProtos.TokenOrBuilderpublic int getCodepointOffsetEnd()
optional uint32 codepointOffsetEnd = 75;getCodepointOffsetEnd in interface CoreNLPProtos.TokenOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized 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.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static CoreNLPProtos.Token parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Token parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Token parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Token parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Token parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Token parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Token parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.Token parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.Token parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.Token parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.Token parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.Token parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic CoreNLPProtos.Token.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic 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.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CoreNLPProtos.Token.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public 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.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CoreNLPProtos.Token getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<CoreNLPProtos.Token>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder