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