public interface NCModelFactory
Read full documentation in Data Model section and review examples.
Modifier and Type | Method and Description |
---|---|
void |
initialize(Map<String,String> props)
Initializes this factory with properties specified in probe configuration.
|
NCModel |
mkModel(Class<? extends NCModel> type)
Constructs a model instance.
|
void |
terminate()
Terminates this factory when probe stops.
|
void initialize(Map<String,String> props)
props
- Configuration properties.NCModel mkModel(Class<? extends NCModel> type)
type
- Model type.void terminate()
Copyright © 2020 NLPCraft. All rights reserved.