public static class PreTrainedNamedEntityRecognitionModelDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PreTrainedNamedEntityRecognitionModelDetails |
build() |
PreTrainedNamedEntityRecognitionModelDetails.Builder |
copy(PreTrainedNamedEntityRecognitionModelDetails model) |
PreTrainedNamedEntityRecognitionModelDetails.Builder |
languageCode(String languageCode) |
PreTrainedNamedEntityRecognitionModelDetails.Builder |
version(String version)
Optional pre trained model version.
|
public PreTrainedNamedEntityRecognitionModelDetails.Builder languageCode(String languageCode)
public PreTrainedNamedEntityRecognitionModelDetails.Builder version(String version)
Optional pre trained model version. if nothing specified latest pre trained model will be used. Supported versions can be found at /modelTypes/{modelType}
version
- the value to setpublic PreTrainedNamedEntityRecognitionModelDetails build()
public PreTrainedNamedEntityRecognitionModelDetails.Builder copy(PreTrainedNamedEntityRecognitionModelDetails model)
Copyright © 2016–2024. All rights reserved.