public class EntityEvaluationContext
Configure entity evaluation.
public EntityEvaluationContext(@NotNull
java.time.ZonedDateTime referenceDate,
boolean mergeEntityTypes,
boolean classifyEntityTypes,
@Nullable
java.util.Map<ai.tock.nlp.core.Entity,java.time.ZonedDateTime> referenceDateByEntityMap)
Configure entity evaluation.
referenceDate - The reference date for dates.mergeEntityTypes - If merging entity type values is requested.classifyEntityTypes - If using entity type models is requested (entity disambiguation case).referenceDateByEntityMap - To manage a different date for each specified entity.public EntityEvaluationContext()
Configure entity evaluation.
@NotNull
public java.time.ZonedDateTime referenceDateForEntity(@NotNull
Entity entity)
@NotNull public java.time.ZonedDateTime getReferenceDate()
The reference date for dates.
public boolean getMergeEntityTypes()
If merging entity type values is requested.
public boolean getClassifyEntityTypes()
If using entity type models is requested
(entity disambiguation case).
@Nullable public java.util.Map<ai.tock.nlp.core.Entity,java.time.ZonedDateTime> getReferenceDateByEntityMap()
To manage a different date for each specified entity.
@NotNull public java.time.ZonedDateTime component1()
The reference date for dates.
public boolean component2()
If merging entity type values is requested.
public boolean component3()
If using entity type models is requested
(entity disambiguation case).
@Nullable public java.util.Map<ai.tock.nlp.core.Entity,java.time.ZonedDateTime> component4()
To manage a different date for each specified entity.
@NotNull public EntityEvaluationContext copy(@NotNull java.time.ZonedDateTime referenceDate, boolean mergeEntityTypes, boolean classifyEntityTypes, @Nullable java.util.Map<ai.tock.nlp.core.Entity,java.time.ZonedDateTime> referenceDateByEntityMap)
Configure entity evaluation.
@NotNull public java.lang.String toString()
Configure entity evaluation.
public int hashCode()
Configure entity evaluation.
public boolean equals(@Nullable
java.lang.Object p)
Configure entity evaluation.