Package ai.tock.nlp.model.service.engine
Interface NlpEngineModelIo
-
- All Implemented Interfaces:
public interface NlpEngineModelIoManages native model io.
-
-
Method Summary
Modifier and Type Method Description abstract ObjectloadTokenizerModel(NlpModelStream input)Loads a tokenizer model from an input stream. abstract ObjectloadIntentModel(NlpModelStream input)Loads an intent model from an input stream. abstract ObjectloadEntityModel(NlpModelStream input)Loads an entity model from an input stream. abstract UnitcopyTokenizerModel(Object model, OutputStream output)Sends a tokenizer model to an output stream. abstract UnitcopyIntentModel(Object model, OutputStream output)Sends an intent model to an output stream. abstract UnitcopyEntityModel(Object model, OutputStream output)Sends an entity model to an output stream. -
-
Method Detail
-
loadTokenizerModel
abstract Object loadTokenizerModel(NlpModelStream input)
Loads a tokenizer model from an input stream.
-
loadIntentModel
abstract Object loadIntentModel(NlpModelStream input)
Loads an intent model from an input stream.
-
loadEntityModel
abstract Object loadEntityModel(NlpModelStream input)
Loads an entity model from an input stream.
-
copyTokenizerModel
abstract Unit copyTokenizerModel(Object model, OutputStream output)
Sends a tokenizer model to an output stream.
-
copyIntentModel
abstract Unit copyIntentModel(Object model, OutputStream output)
Sends an intent model to an output stream.
-
copyEntityModel
abstract Unit copyEntityModel(Object model, OutputStream output)
Sends an entity model to an output stream.
-
-
-
-