public NlpEngineModelBuilder
Model builder to implement for nlp engines.
@NotNull TokenizerModelHolder buildTokenizerModel(@NotNull ai.tock.nlp.model.TokenizerContext context, @NotNull ai.tock.nlp.core.configuration.NlpApplicationConfiguration configuration, @NotNull java.util.List<ai.tock.nlp.core.sample.SampleExpression> expressions)
Builds a tokenizer model.
@NotNull IntentModelHolder buildIntentModel(@NotNull ai.tock.nlp.model.IntentContext context, @NotNull ai.tock.nlp.core.configuration.NlpApplicationConfiguration configuration, @NotNull java.util.List<ai.tock.nlp.core.sample.SampleExpression> expressions)
Builds an intent model.
@Nullable EntityModelHolder buildEntityModel(@NotNull ai.tock.nlp.model.EntityBuildContext context, @NotNull ai.tock.nlp.core.configuration.NlpApplicationConfiguration configuration, @NotNull java.util.List<ai.tock.nlp.core.sample.SampleExpression> expressions)
Builds an entity model.
@NotNull ai.tock.nlp.core.configuration.NlpModelConfiguration getDefaultTokenizerConfiguration()
Default tokenizer properties for the nlp engine.
@NotNull ai.tock.nlp.core.configuration.NlpModelConfiguration getDefaultIntentClassifierConfiguration()
Default intent classifier properties for the nlp engine.
@NotNull ai.tock.nlp.core.configuration.NlpModelConfiguration getDefaultEntityClassifierConfiguration()
Default entity classifier properties for the nlp engine.
@NotNull ai.tock.nlp.core.configuration.NlpApplicationConfiguration defaultNlpApplicationConfiguration()
Helper method.