Package ai.tock.nlp.core
Class BuildContext
-
- All Implemented Interfaces:
public final class BuildContextContext for a NLP model build.
-
-
Field Summary
Fields Modifier and Type Field Description private final Applicationapplicationprivate final Localelanguageprivate final NlpEngineTypeengineTypeprivate final BooleanonlyIfNotExists
-
Constructor Summary
Constructors Constructor Description BuildContext(Application application, Locale language, NlpEngineType engineType, Boolean onlyIfNotExists)
-
Method Summary
Modifier and Type Method Description final ApplicationgetApplication()final LocalegetLanguage()final NlpEngineTypegetEngineType()final BooleangetOnlyIfNotExists()update the model only if he does not exist already -
-
Constructor Detail
-
BuildContext
BuildContext(Application application, Locale language, NlpEngineType engineType, Boolean onlyIfNotExists)
-
-
Method Detail
-
getApplication
final Application getApplication()
-
getLanguage
final Locale getLanguage()
-
getEngineType
final NlpEngineType getEngineType()
-
getOnlyIfNotExists
final Boolean getOnlyIfNotExists()
update the model only if he does not exist already
-
-
-
-