Package 

Interface EntityTypeEvaluator

    • Method Summary

      Modifier and Type Method Description
      abstract EvaluationResult evaluate(EntityCallContextForEntity context, String text) Evaluates a text from the given entity context.
      ValueDescriptor merge(EntityCallContextForEntity context, List<ValueDescriptor> values) Merge two or more ValueDescriptor.
      • Methods inherited from class ai.tock.nlp.core.service.entity.EntityTypeEvaluator

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • evaluate

         abstract EvaluationResult evaluate(EntityCallContextForEntity context, String text)

        Evaluates a text from the given entity context.

        Parameters:
        context - to know the entity to evaluate
        text - the text to evaluate
      • merge

         ValueDescriptor merge(EntityCallContextForEntity context, List<ValueDescriptor> values)

        Merge two or more ValueDescriptor. Returns null if the merge is not applicable.