public EntityTypeEvaluator
Evaluate a text for the specified entity.
| Modifier and Type | Interface and Description |
|---|---|
static class |
EntityTypeEvaluator.DefaultImpls
Evaluate a text for the specified entity.
|
| Modifier and Type | Method and Description |
|---|---|
EvaluationResult |
evaluate(ai.tock.nlp.model.EntityCallContextForEntity context,
java.lang.String text)
Evaluates a text from the given entity context.
|
ai.tock.nlp.core.merge.ValueDescriptor |
merge(ai.tock.nlp.model.EntityCallContextForEntity context,
java.util.List<ai.tock.nlp.core.merge.ValueDescriptor> values)
Merge two or more ValueDescriptor.
Returns null if the merge is not applicable.
|
@NotNull EvaluationResult evaluate(@NotNull ai.tock.nlp.model.EntityCallContextForEntity context, @NotNull java.lang.String text)
Evaluates a text from the given entity context.
context - to know the entity to evaluatetext - the text to evaluate@Nullable
ai.tock.nlp.core.merge.ValueDescriptor merge(@NotNull
ai.tock.nlp.model.EntityCallContextForEntity context,
@NotNull
java.util.List<ai.tock.nlp.core.merge.ValueDescriptor> values)
Merge two or more ValueDescriptor. Returns null if the merge is not applicable.