-
- All Implemented Interfaces:
-
ai.tock.nlp.core.IntOpenRange,kotlin.Comparable
public final class EntityRecognition implements IntOpenRange
-
-
Field Summary
Fields Modifier and Type Field Description private final transient EntityTypeentityTypeprivate final transient Stringroleprivate final EntityValuevalueprivate final Doubleprobabilityprivate final Integerstartprivate final Integerend
-
Constructor Summary
Constructors Constructor Description EntityRecognition(EntityValue value, Double probability)
-
Method Summary
Modifier and Type Method Description final BooleanhasSubEntities()final EntityValuecomponent1()final Doublecomponent2()final EntityRecognitioncopy(EntityValue value, Double probability)final EntityTypegetEntityType()final StringgetRole()final EntityValuegetValue()final DoublegetProbability()IntegergetStart()IntegergetEnd()-
Methods inherited from class ai.tock.nlp.core.EntityRecognition
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
-
EntityRecognition
EntityRecognition(EntityValue value, Double probability)
-
-
Method Detail
-
hasSubEntities
final Boolean hasSubEntities()
-
component1
final EntityValue component1()
-
component2
final Double component2()
-
copy
final EntityRecognition copy(EntityValue value, Double probability)
-
getEntityType
final EntityType getEntityType()
-
getValue
final EntityValue getValue()
-
getProbability
final Double getProbability()
-
-
-
-