public static class NlpEngineModelBuilder.DefaultImpls
Model builder to implement for nlp engines.
@NotNull public static TokenizerModelHolder buildTokenizerModel(NlpEngineModelBuilder $this, @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 public static ai.tock.nlp.core.configuration.NlpModelConfiguration getDefaultTokenizerConfiguration(NlpEngineModelBuilder $this)
Default tokenizer properties for the nlp engine.
@NotNull public static ai.tock.nlp.core.configuration.NlpModelConfiguration getDefaultIntentClassifierConfiguration(NlpEngineModelBuilder $this)
Default intent classifier properties for the nlp engine.
@NotNull public static ai.tock.nlp.core.configuration.NlpModelConfiguration getDefaultEntityClassifierConfiguration(NlpEngineModelBuilder $this)
Default entity classifier properties for the nlp engine.
@NotNull public static ai.tock.nlp.core.configuration.NlpApplicationConfiguration defaultNlpApplicationConfiguration(NlpEngineModelBuilder $this)
Helper method.