-
- All Implemented Interfaces:
-
ai.tock.nlp.core.IntOpenRange,kotlin.Comparable
public final class EntityValue implements IntOpenRange
An entity value.
-
-
Constructor Summary
Constructors Constructor Description EntityValue(Integer start, Integer end, Entity entity, Object value, List<EntityRecognition> subEntities, Boolean evaluated)
-
Method Summary
Modifier and Type Method Description final Integercomponent1()final Integercomponent2()final Entitycomponent3()final Objectcomponent4()final List<EntityRecognition>component5()final Booleancomponent6()final EntityValuecopy(Integer start, Integer end, Entity entity, Object value, List<EntityRecognition> subEntities, Boolean evaluated)IntegergetStart()Start (inclusive) text index of the entity. IntegergetEnd()End (exclusive) text index of the entity. final EntitygetEntity()Entity definition. final ObjectgetValue()Current value if evaluated. final List<EntityRecognition>getSubEntities()Sub entities if any. final BooleangetEvaluated()Is this entity has been evaluated? -
Methods inherited from class ai.tock.nlp.core.EntityValue
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
-
-
Method Detail
-
component1
final Integer component1()
-
component2
final Integer component2()
-
component3
final Entity component3()
-
component4
final Object component4()
-
component5
final List<EntityRecognition> component5()
-
component6
final Boolean component6()
-
copy
final EntityValue copy(Integer start, Integer end, Entity entity, Object value, List<EntityRecognition> subEntities, Boolean evaluated)
-
getSubEntities
final List<EntityRecognition> getSubEntities()
Sub entities if any.
-
getEvaluated
final Boolean getEvaluated()
Is this entity has been evaluated?
-
-
-
-