Package ai.tock.nlp.front.service
Object ModelUpdaterService
-
- All Implemented Interfaces:
-
ai.tock.nlp.front.service.storage.ModelBuildTriggerDAO,ai.tock.nlp.front.shared.ModelUpdater
public class ModelUpdaterService implements ModelUpdater, ModelBuildTriggerDAO
-
-
Field Summary
Fields Modifier and Type Field Description private final ModelCoremodelpublic final static ModelUpdaterServiceINSTANCE
-
Method Summary
Modifier and Type Method Description UnittriggerBuild(ModelBuildTrigger trigger)UnitupdateIntentsModelForApplication(List<ClassifiedSentence> validatedSentences, ApplicationDefinition application, Locale language, NlpEngineType engineType, Boolean onlyIfNotExists)UnitupdateEntityModelForIntent(List<ClassifiedSentence> validatedSentences, ApplicationDefinition application, Id<IntentDefinition> intentId, Locale language, NlpEngineType engineType, Boolean onlyIfNotExists)UnitupdateEntityModelForEntityType(List<ClassifiedSentence> validatedSentences, ApplicationDefinition application, EntityTypeDefinition entityTypeDefinition, Locale language, NlpEngineType engineType, Boolean onlyIfNotExists)UnitdeleteOrphans()final ModelCoregetModel()-
Methods inherited from class ai.tock.nlp.front.shared.ModelUpdater
builds, deleteTrigger, getTriggers -
Methods inherited from class ai.tock.nlp.front.service.storage.ModelBuildTriggerDAO
save, save -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
triggerBuild
Unit triggerBuild(ModelBuildTrigger trigger)
-
updateIntentsModelForApplication
Unit updateIntentsModelForApplication(List<ClassifiedSentence> validatedSentences, ApplicationDefinition application, Locale language, NlpEngineType engineType, Boolean onlyIfNotExists)
-
updateEntityModelForIntent
Unit updateEntityModelForIntent(List<ClassifiedSentence> validatedSentences, ApplicationDefinition application, Id<IntentDefinition> intentId, Locale language, NlpEngineType engineType, Boolean onlyIfNotExists)
-
updateEntityModelForEntityType
Unit updateEntityModelForEntityType(List<ClassifiedSentence> validatedSentences, ApplicationDefinition application, EntityTypeDefinition entityTypeDefinition, Locale language, NlpEngineType engineType, Boolean onlyIfNotExists)
-
deleteOrphans
Unit deleteOrphans()
-
getModel
final ModelCore getModel()
-
-
-
-