Package ai.tock.nlp.core
Class EntityValue
-
- 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 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? -
-
Method Detail
-
getSubEntities
final List<EntityRecognition> getSubEntities()
Sub entities if any.
-
getEvaluated
final Boolean getEvaluated()
Is this entity has been evaluated?
-
-
-
-