-
- All Implemented Interfaces:
-
ai.tock.nlp.core.IntOpenRange,kotlin.Comparable
public final class EntityTypeRecognition implements IntOpenRange
-
-
Field Summary
Fields Modifier and Type Field Description private final transient EntityTypeentityTypeprivate final EntityTypeValuevalueprivate final Doubleprobabilityprivate final Integerendprivate final Integerstart
-
Constructor Summary
Constructors Constructor Description EntityTypeRecognition(EntityTypeValue value, Double probability)
-
Method Summary
Modifier and Type Method Description final EntityRecognitiontoEntityRecognition(String role)final EntityTypeValuecomponent1()final Doublecomponent2()final EntityTypeRecognitioncopy(EntityTypeValue value, Double probability)final EntityTypegetEntityType()final EntityTypeValuegetValue()final DoublegetProbability()IntegergetEnd()IntegergetStart()-
Methods inherited from class ai.tock.nlp.core.service.entity.EntityTypeRecognition
compareTo, isSameRange, overlap, overlap, size, textValue, toClosedRange -
Methods inherited from class kotlin.Comparable
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
EntityTypeRecognition
EntityTypeRecognition(EntityTypeValue value, Double probability)
-
-
Method Detail
-
toEntityRecognition
final EntityRecognition toEntityRecognition(String role)
-
component1
final EntityTypeValue component1()
-
component2
final Double component2()
-
copy
final EntityTypeRecognition copy(EntityTypeValue value, Double probability)
-
getEntityType
final EntityType getEntityType()
-
getValue
final EntityTypeValue getValue()
-
getProbability
final Double getProbability()
-
-
-
-