public static final class CoreNLPProtos.NERMention extends com.google.protobuf.GeneratedMessageV3 implements CoreNLPProtos.NERMentionOrBuilder
An NER mention in the textProtobuf type
edu.stanford.nlp.pipeline.NERMention| Modifier and Type | Class and Description |
|---|---|
static class |
CoreNLPProtos.NERMention.Builder
An NER mention in the text
|
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 | Field and Description |
|---|---|
static int |
CANONICALENTITYMENTIONINDEX_FIELD_NUMBER |
static int |
ENTITYMENTIONINDEX_FIELD_NUMBER |
static int |
ENTITYMENTIONTEXT_FIELD_NUMBER |
static int |
ENTITYTYPE_FIELD_NUMBER |
static int |
GENDER_FIELD_NUMBER |
static int |
NER_FIELD_NUMBER |
static int |
NORMALIZEDNER_FIELD_NUMBER |
static com.google.protobuf.Parser<CoreNLPProtos.NERMention> |
PARSER
Deprecated.
|
static int |
SENTENCEINDEX_FIELD_NUMBER |
static int |
TIMEX_FIELD_NUMBER |
static int |
TOKENENDINSENTENCEEXCLUSIVE_FIELD_NUMBER |
static int |
TOKENSTARTINSENTENCEINCLUSIVE_FIELD_NUMBER |
static int |
WIKIPEDIAENTITY_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
getCanonicalEntityMentionIndex()
optional uint32 canonicalEntityMentionIndex = 11; |
static CoreNLPProtos.NERMention |
getDefaultInstance() |
CoreNLPProtos.NERMention |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getEntityMentionIndex()
optional uint32 entityMentionIndex = 10; |
java.lang.String |
getEntityMentionText()
optional string entityMentionText = 12; |
com.google.protobuf.ByteString |
getEntityMentionTextBytes()
optional string entityMentionText = 12; |
java.lang.String |
getEntityType()
optional string entityType = 6; |
com.google.protobuf.ByteString |
getEntityTypeBytes()
optional string entityType = 6; |
java.lang.String |
getGender()
optional string gender = 9; |
com.google.protobuf.ByteString |
getGenderBytes()
optional string gender = 9; |
java.lang.String |
getNer()
required string ner = 4; |
com.google.protobuf.ByteString |
getNerBytes()
required string ner = 4; |
java.lang.String |
getNormalizedNER()
optional string normalizedNER = 5; |
com.google.protobuf.ByteString |
getNormalizedNERBytes()
optional string normalizedNER = 5; |
com.google.protobuf.Parser<CoreNLPProtos.NERMention> |
getParserForType() |
int |
getSentenceIndex()
optional uint32 sentenceIndex = 1; |
int |
getSerializedSize() |
CoreNLPProtos.Timex |
getTimex()
optional .edu.stanford.nlp.pipeline.Timex timex = 7; |
CoreNLPProtos.TimexOrBuilder |
getTimexOrBuilder()
optional .edu.stanford.nlp.pipeline.Timex timex = 7; |
int |
getTokenEndInSentenceExclusive()
required uint32 tokenEndInSentenceExclusive = 3; |
int |
getTokenStartInSentenceInclusive()
required uint32 tokenStartInSentenceInclusive = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
java.lang.String |
getWikipediaEntity()
optional string wikipediaEntity = 8; |
com.google.protobuf.ByteString |
getWikipediaEntityBytes()
optional string wikipediaEntity = 8; |
boolean |
hasCanonicalEntityMentionIndex()
optional uint32 canonicalEntityMentionIndex = 11; |
boolean |
hasEntityMentionIndex()
optional uint32 entityMentionIndex = 10; |
boolean |
hasEntityMentionText()
optional string entityMentionText = 12; |
boolean |
hasEntityType()
optional string entityType = 6; |
boolean |
hasGender()
optional string gender = 9; |
int |
hashCode() |
boolean |
hasNer()
required string ner = 4; |
boolean |
hasNormalizedNER()
optional string normalizedNER = 5; |
boolean |
hasSentenceIndex()
optional uint32 sentenceIndex = 1; |
boolean |
hasTimex()
optional .edu.stanford.nlp.pipeline.Timex timex = 7; |
boolean |
hasTokenEndInSentenceExclusive()
required uint32 tokenEndInSentenceExclusive = 3; |
boolean |
hasTokenStartInSentenceInclusive()
required uint32 tokenStartInSentenceInclusive = 2; |
boolean |
hasWikipediaEntity()
optional string wikipediaEntity = 8; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CoreNLPProtos.NERMention.Builder |
newBuilder() |
static CoreNLPProtos.NERMention.Builder |
newBuilder(CoreNLPProtos.NERMention prototype) |
CoreNLPProtos.NERMention.Builder |
newBuilderForType() |
protected CoreNLPProtos.NERMention.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static CoreNLPProtos.NERMention |
parseDelimitedFrom(java.io.InputStream input) |
static CoreNLPProtos.NERMention |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.NERMention |
parseFrom(byte[] data) |
static CoreNLPProtos.NERMention |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.NERMention |
parseFrom(java.nio.ByteBuffer data) |
static CoreNLPProtos.NERMention |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.NERMention |
parseFrom(com.google.protobuf.ByteString data) |
static CoreNLPProtos.NERMention |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.NERMention |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CoreNLPProtos.NERMention |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.NERMention |
parseFrom(java.io.InputStream input) |
static CoreNLPProtos.NERMention |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CoreNLPProtos.NERMention> |
parser() |
CoreNLPProtos.NERMention.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, 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, waitpublic static final int SENTENCEINDEX_FIELD_NUMBER
public static final int TOKENSTARTINSENTENCEINCLUSIVE_FIELD_NUMBER
public static final int TOKENENDINSENTENCEEXCLUSIVE_FIELD_NUMBER
public static final int NER_FIELD_NUMBER
public static final int NORMALIZEDNER_FIELD_NUMBER
public static final int ENTITYTYPE_FIELD_NUMBER
public static final int TIMEX_FIELD_NUMBER
public static final int WIKIPEDIAENTITY_FIELD_NUMBER
public static final int GENDER_FIELD_NUMBER
public static final int ENTITYMENTIONINDEX_FIELD_NUMBER
public static final int CANONICALENTITYMENTIONINDEX_FIELD_NUMBER
public static final int ENTITYMENTIONTEXT_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<CoreNLPProtos.NERMention> 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 hasSentenceIndex()
optional uint32 sentenceIndex = 1;hasSentenceIndex in interface CoreNLPProtos.NERMentionOrBuilderpublic int getSentenceIndex()
optional uint32 sentenceIndex = 1;getSentenceIndex in interface CoreNLPProtos.NERMentionOrBuilderpublic boolean hasTokenStartInSentenceInclusive()
required uint32 tokenStartInSentenceInclusive = 2;hasTokenStartInSentenceInclusive in interface CoreNLPProtos.NERMentionOrBuilderpublic int getTokenStartInSentenceInclusive()
required uint32 tokenStartInSentenceInclusive = 2;getTokenStartInSentenceInclusive in interface CoreNLPProtos.NERMentionOrBuilderpublic boolean hasTokenEndInSentenceExclusive()
required uint32 tokenEndInSentenceExclusive = 3;hasTokenEndInSentenceExclusive in interface CoreNLPProtos.NERMentionOrBuilderpublic int getTokenEndInSentenceExclusive()
required uint32 tokenEndInSentenceExclusive = 3;getTokenEndInSentenceExclusive in interface CoreNLPProtos.NERMentionOrBuilderpublic boolean hasNer()
required string ner = 4;hasNer in interface CoreNLPProtos.NERMentionOrBuilderpublic java.lang.String getNer()
required string ner = 4;getNer in interface CoreNLPProtos.NERMentionOrBuilderpublic com.google.protobuf.ByteString getNerBytes()
required string ner = 4;getNerBytes in interface CoreNLPProtos.NERMentionOrBuilderpublic boolean hasNormalizedNER()
optional string normalizedNER = 5;hasNormalizedNER in interface CoreNLPProtos.NERMentionOrBuilderpublic java.lang.String getNormalizedNER()
optional string normalizedNER = 5;getNormalizedNER in interface CoreNLPProtos.NERMentionOrBuilderpublic com.google.protobuf.ByteString getNormalizedNERBytes()
optional string normalizedNER = 5;getNormalizedNERBytes in interface CoreNLPProtos.NERMentionOrBuilderpublic boolean hasEntityType()
optional string entityType = 6;hasEntityType in interface CoreNLPProtos.NERMentionOrBuilderpublic java.lang.String getEntityType()
optional string entityType = 6;getEntityType in interface CoreNLPProtos.NERMentionOrBuilderpublic com.google.protobuf.ByteString getEntityTypeBytes()
optional string entityType = 6;getEntityTypeBytes in interface CoreNLPProtos.NERMentionOrBuilderpublic boolean hasTimex()
optional .edu.stanford.nlp.pipeline.Timex timex = 7;hasTimex in interface CoreNLPProtos.NERMentionOrBuilderpublic CoreNLPProtos.Timex getTimex()
optional .edu.stanford.nlp.pipeline.Timex timex = 7;getTimex in interface CoreNLPProtos.NERMentionOrBuilderpublic CoreNLPProtos.TimexOrBuilder getTimexOrBuilder()
optional .edu.stanford.nlp.pipeline.Timex timex = 7;getTimexOrBuilder in interface CoreNLPProtos.NERMentionOrBuilderpublic boolean hasWikipediaEntity()
optional string wikipediaEntity = 8;hasWikipediaEntity in interface CoreNLPProtos.NERMentionOrBuilderpublic java.lang.String getWikipediaEntity()
optional string wikipediaEntity = 8;getWikipediaEntity in interface CoreNLPProtos.NERMentionOrBuilderpublic com.google.protobuf.ByteString getWikipediaEntityBytes()
optional string wikipediaEntity = 8;getWikipediaEntityBytes in interface CoreNLPProtos.NERMentionOrBuilderpublic boolean hasGender()
optional string gender = 9;hasGender in interface CoreNLPProtos.NERMentionOrBuilderpublic java.lang.String getGender()
optional string gender = 9;getGender in interface CoreNLPProtos.NERMentionOrBuilderpublic com.google.protobuf.ByteString getGenderBytes()
optional string gender = 9;getGenderBytes in interface CoreNLPProtos.NERMentionOrBuilderpublic boolean hasEntityMentionIndex()
optional uint32 entityMentionIndex = 10;hasEntityMentionIndex in interface CoreNLPProtos.NERMentionOrBuilderpublic int getEntityMentionIndex()
optional uint32 entityMentionIndex = 10;getEntityMentionIndex in interface CoreNLPProtos.NERMentionOrBuilderpublic boolean hasCanonicalEntityMentionIndex()
optional uint32 canonicalEntityMentionIndex = 11;hasCanonicalEntityMentionIndex in interface CoreNLPProtos.NERMentionOrBuilderpublic int getCanonicalEntityMentionIndex()
optional uint32 canonicalEntityMentionIndex = 11;getCanonicalEntityMentionIndex in interface CoreNLPProtos.NERMentionOrBuilderpublic boolean hasEntityMentionText()
optional string entityMentionText = 12;hasEntityMentionText in interface CoreNLPProtos.NERMentionOrBuilderpublic java.lang.String getEntityMentionText()
optional string entityMentionText = 12;getEntityMentionText in interface CoreNLPProtos.NERMentionOrBuilderpublic com.google.protobuf.ByteString getEntityMentionTextBytes()
optional string entityMentionText = 12;getEntityMentionTextBytes in interface CoreNLPProtos.NERMentionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public 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.NERMention parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.NERMention parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.NERMention parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.NERMention parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.NERMention parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.NERMention parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.NERMention parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.NERMention parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.NERMention parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.NERMention parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.NERMention parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CoreNLPProtos.NERMention parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic CoreNLPProtos.NERMention.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CoreNLPProtos.NERMention.Builder newBuilder()
public static CoreNLPProtos.NERMention.Builder newBuilder(CoreNLPProtos.NERMention prototype)
public CoreNLPProtos.NERMention.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CoreNLPProtos.NERMention.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CoreNLPProtos.NERMention getDefaultInstance()
public static com.google.protobuf.Parser<CoreNLPProtos.NERMention> parser()
public com.google.protobuf.Parser<CoreNLPProtos.NERMention> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CoreNLPProtos.NERMention getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder