public class EntityTypeRecognition
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 kotlin.ranges.IntRange toClosedRange()
@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)