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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.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 hasSentenceIndex()
optional uint32 sentenceIndex = 1;
hasSentenceIndex
in interface CoreNLPProtos.NERMentionOrBuilder
public int getSentenceIndex()
optional uint32 sentenceIndex = 1;
getSentenceIndex
in interface CoreNLPProtos.NERMentionOrBuilder
public boolean hasTokenStartInSentenceInclusive()
required uint32 tokenStartInSentenceInclusive = 2;
hasTokenStartInSentenceInclusive
in interface CoreNLPProtos.NERMentionOrBuilder
public int getTokenStartInSentenceInclusive()
required uint32 tokenStartInSentenceInclusive = 2;
getTokenStartInSentenceInclusive
in interface CoreNLPProtos.NERMentionOrBuilder
public boolean hasTokenEndInSentenceExclusive()
required uint32 tokenEndInSentenceExclusive = 3;
hasTokenEndInSentenceExclusive
in interface CoreNLPProtos.NERMentionOrBuilder
public int getTokenEndInSentenceExclusive()
required uint32 tokenEndInSentenceExclusive = 3;
getTokenEndInSentenceExclusive
in interface CoreNLPProtos.NERMentionOrBuilder
public boolean hasNer()
required string ner = 4;
hasNer
in interface CoreNLPProtos.NERMentionOrBuilder
public java.lang.String getNer()
required string ner = 4;
getNer
in interface CoreNLPProtos.NERMentionOrBuilder
public com.google.protobuf.ByteString getNerBytes()
required string ner = 4;
getNerBytes
in interface CoreNLPProtos.NERMentionOrBuilder
public boolean hasNormalizedNER()
optional string normalizedNER = 5;
hasNormalizedNER
in interface CoreNLPProtos.NERMentionOrBuilder
public java.lang.String getNormalizedNER()
optional string normalizedNER = 5;
getNormalizedNER
in interface CoreNLPProtos.NERMentionOrBuilder
public com.google.protobuf.ByteString getNormalizedNERBytes()
optional string normalizedNER = 5;
getNormalizedNERBytes
in interface CoreNLPProtos.NERMentionOrBuilder
public boolean hasEntityType()
optional string entityType = 6;
hasEntityType
in interface CoreNLPProtos.NERMentionOrBuilder
public java.lang.String getEntityType()
optional string entityType = 6;
getEntityType
in interface CoreNLPProtos.NERMentionOrBuilder
public com.google.protobuf.ByteString getEntityTypeBytes()
optional string entityType = 6;
getEntityTypeBytes
in interface CoreNLPProtos.NERMentionOrBuilder
public boolean hasTimex()
optional .edu.stanford.nlp.pipeline.Timex timex = 7;
hasTimex
in interface CoreNLPProtos.NERMentionOrBuilder
public CoreNLPProtos.Timex getTimex()
optional .edu.stanford.nlp.pipeline.Timex timex = 7;
getTimex
in interface CoreNLPProtos.NERMentionOrBuilder
public CoreNLPProtos.TimexOrBuilder getTimexOrBuilder()
optional .edu.stanford.nlp.pipeline.Timex timex = 7;
getTimexOrBuilder
in interface CoreNLPProtos.NERMentionOrBuilder
public boolean hasWikipediaEntity()
optional string wikipediaEntity = 8;
hasWikipediaEntity
in interface CoreNLPProtos.NERMentionOrBuilder
public java.lang.String getWikipediaEntity()
optional string wikipediaEntity = 8;
getWikipediaEntity
in interface CoreNLPProtos.NERMentionOrBuilder
public com.google.protobuf.ByteString getWikipediaEntityBytes()
optional string wikipediaEntity = 8;
getWikipediaEntityBytes
in interface CoreNLPProtos.NERMentionOrBuilder
public boolean hasGender()
optional string gender = 9;
hasGender
in interface CoreNLPProtos.NERMentionOrBuilder
public java.lang.String getGender()
optional string gender = 9;
getGender
in interface CoreNLPProtos.NERMentionOrBuilder
public com.google.protobuf.ByteString getGenderBytes()
optional string gender = 9;
getGenderBytes
in interface CoreNLPProtos.NERMentionOrBuilder
public boolean hasEntityMentionIndex()
optional uint32 entityMentionIndex = 10;
hasEntityMentionIndex
in interface CoreNLPProtos.NERMentionOrBuilder
public int getEntityMentionIndex()
optional uint32 entityMentionIndex = 10;
getEntityMentionIndex
in interface CoreNLPProtos.NERMentionOrBuilder
public boolean hasCanonicalEntityMentionIndex()
optional uint32 canonicalEntityMentionIndex = 11;
hasCanonicalEntityMentionIndex
in interface CoreNLPProtos.NERMentionOrBuilder
public int getCanonicalEntityMentionIndex()
optional uint32 canonicalEntityMentionIndex = 11;
getCanonicalEntityMentionIndex
in interface CoreNLPProtos.NERMentionOrBuilder
public boolean hasEntityMentionText()
optional string entityMentionText = 12;
hasEntityMentionText
in interface CoreNLPProtos.NERMentionOrBuilder
public java.lang.String getEntityMentionText()
optional string entityMentionText = 12;
getEntityMentionText
in interface CoreNLPProtos.NERMentionOrBuilder
public com.google.protobuf.ByteString getEntityMentionTextBytes()
optional string entityMentionText = 12;
getEntityMentionTextBytes
in interface CoreNLPProtos.NERMentionOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
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.NERMention parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.NERMention parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.NERMention parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.NERMention parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.NERMention parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.NERMention parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static CoreNLPProtos.NERMention parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.NERMention parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.NERMention parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.NERMention parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.NERMention parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static CoreNLPProtos.NERMention parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public CoreNLPProtos.NERMention.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected CoreNLPProtos.NERMention.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public CoreNLPProtos.NERMention getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder