public class BuildContext
Context for a NLP model build.
| Constructor and Description |
|---|
BuildContext(Application application,
java.util.Locale language,
NlpEngineType engineType,
boolean onlyIfNotExists)
Context for a NLP model build.
|
| Modifier and Type | Method and Description |
|---|---|
Application |
component1() |
java.util.Locale |
component2() |
NlpEngineType |
component3() |
boolean |
component4()
update the model only if he does not exist already
|
BuildContext |
copy(Application application,
java.util.Locale language,
NlpEngineType engineType,
boolean onlyIfNotExists)
Context for a NLP model build.
|
boolean |
equals(java.lang.Object p) |
Application |
getApplication() |
NlpEngineType |
getEngineType() |
java.util.Locale |
getLanguage() |
boolean |
getOnlyIfNotExists()
update the model only if he does not exist already
|
int |
hashCode() |
java.lang.String |
toString() |
public BuildContext(@NotNull
Application application,
@NotNull
java.util.Locale language,
@NotNull
NlpEngineType engineType,
boolean onlyIfNotExists)
Context for a NLP model build.
onlyIfNotExists - update the model only if he does not exist already@NotNull public Application getApplication()
@NotNull public java.util.Locale getLanguage()
@NotNull public NlpEngineType getEngineType()
public boolean getOnlyIfNotExists()
update the model only if he does not exist already
@NotNull public Application component1()
@NotNull public java.util.Locale component2()
@NotNull public NlpEngineType component3()
public boolean component4()
update the model only if he does not exist already
@NotNull public BuildContext copy(@NotNull Application application, @NotNull java.util.Locale language, @NotNull NlpEngineType engineType, boolean onlyIfNotExists)
Context for a NLP model build.
@NotNull public java.lang.String toString()
public int hashCode()
public boolean equals(@Nullable
java.lang.Object p)