public class EntityTypeRecognition
| Constructor and Description |
|---|
EntityTypeRecognition(EntityTypeValue value,
double probability) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ai.tock.nlp.core.IntOpenRange other) |
EntityTypeValue |
component1() |
double |
component2() |
EntityTypeRecognition |
copy(EntityTypeValue value,
double probability) |
boolean |
equals(java.lang.Object p) |
int |
getEnd() |
ai.tock.nlp.core.EntityType |
getEntityType() |
double |
getProbability() |
int |
getStart() |
EntityTypeValue |
getValue() |
int |
hashCode() |
boolean |
isSameRange(ai.tock.nlp.core.IntOpenRange range) |
boolean |
overlap(ai.tock.nlp.core.IntOpenRange range) |
boolean |
overlap(int start,
int end) |
int |
size() |
java.lang.String |
textValue(java.lang.String originalText) |
ai.tock.nlp.core.EntityRecognition |
toEntityRecognition(java.lang.String role) |
java.lang.String |
toString() |
public EntityTypeRecognition(@NotNull
EntityTypeValue value,
double probability)
@NotNull public ai.tock.nlp.core.EntityType getEntityType()
@NotNull
public ai.tock.nlp.core.EntityRecognition toEntityRecognition(@NotNull
java.lang.String role)
@NotNull public EntityTypeValue getValue()
public double getProbability()
public int getEnd()
public int getStart()
public int compareTo(@NotNull
ai.tock.nlp.core.IntOpenRange other)
public boolean isSameRange(@NotNull
ai.tock.nlp.core.IntOpenRange range)
public boolean overlap(@NotNull
ai.tock.nlp.core.IntOpenRange range)
public boolean overlap(int start,
int end)
public int size()
@NotNull
public java.lang.String textValue(@NotNull
java.lang.String originalText)
@NotNull public EntityTypeValue component1()
public double component2()
@NotNull public EntityTypeRecognition copy(@NotNull EntityTypeValue value, double probability)
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)