public NlpEngineProvider
Implements this interface to add a new nlp engine. The implementation is loaded at runtime, using the java java.util.ServiceLoader - you need to provide a META-INF/services/xxx file.
@NotNull ai.tock.nlp.core.NlpEngineType getType()
Type of nlp engine.
@NotNull NlpEngineModelBuilder getModelBuilder()
interface NlpEngineModelBuilder implementation for this nlp engine.
interface NlpEngineModelBuilder@NotNull NlpEngineModelIo getModelIo()
interface NlpEngineModelIo implementation for this nlp engine.
interface NlpEngineModelIo@NotNull IntentClassifier getIntentClassifier(@NotNull IntentModelHolder model)
Returns the intent classifier from this class IntentModelHolder.
class IntentModelHolder@NotNull EntityClassifier getEntityClassifier(@NotNull EntityModelHolder model)
Returns the entity classifier from this class EntityModelHolder.
class EntityModelHolder@NotNull Tokenizer getTokenizer(@NotNull TokenizerModelHolder model)
Returns the tokenizer from this class TokenizerModelHolder.
class TokenizerModelHolder