public NlpCore
The main entry point for NLP.
@NotNull java.util.Set<java.lang.String> getBuiltInEntityTypes()
Returns all built-in entities.
@NotNull ParsingResult parse(@NotNull CallContext context, @NotNull java.lang.String text, @NotNull IntentSelector intentSelector)
Parse text with NLP engine.
@NotNull java.util.Set<ai.tock.nlp.core.NlpEngineType> supportedNlpEngineTypes()
Supported nlp engines.
@NotNull
java.util.List<ai.tock.nlp.core.EntityRecognition> evaluateEntities(@NotNull
CallContext context,
@NotNull
java.lang.String text,
@NotNull
java.util.List<ai.tock.nlp.core.EntityRecognition> entities)
Evaluate entity values.
context - the call contexttext - the queryentities - the not yet evaluated identified entitiesboolean supportValuesMerge(@NotNull
EntityType entityType)
Does the given class EntityType supports values merge?
class EntityType@Nullable ValueDescriptor mergeValues(@NotNull CallContext context, @NotNull Entity entity, @NotNull java.util.List<ai.tock.nlp.core.merge.ValueDescriptor> values)
Merge two or more values for the given class Entity.
class Entityboolean healthcheck()
Check engines availability.