public static class PreTrainedSentimentAnalysisModelDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PreTrainedSentimentAnalysisModelDetails |
build() |
PreTrainedSentimentAnalysisModelDetails.Builder |
copy(PreTrainedSentimentAnalysisModelDetails model) |
PreTrainedSentimentAnalysisModelDetails.Builder |
languageCode(String languageCode) |
PreTrainedSentimentAnalysisModelDetails.Builder |
version(String version)
Optional pre trained model version.
|
public PreTrainedSentimentAnalysisModelDetails.Builder languageCode(String languageCode)
public PreTrainedSentimentAnalysisModelDetails.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 PreTrainedSentimentAnalysisModelDetails build()
public PreTrainedSentimentAnalysisModelDetails.Builder copy(PreTrainedSentimentAnalysisModelDetails model)
Copyright © 2016–2024. All rights reserved.