public static interface ClarifyTextConfig.Builder extends SdkPojo, CopyableBuilder<ClarifyTextConfig.Builder,ClarifyTextConfig>
| Modifier and Type | Method and Description |
|---|---|
ClarifyTextConfig.Builder |
granularity(ClarifyTextGranularity granularity)
The unit of granularity for the analysis of text features.
|
ClarifyTextConfig.Builder |
granularity(String granularity)
The unit of granularity for the analysis of text features.
|
ClarifyTextConfig.Builder |
language(ClarifyTextLanguage language)
|
ClarifyTextConfig.Builder |
language(String language)
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildClarifyTextConfig.Builder language(String language)
Specifies the language of the text features in ISO 639-1 or ISO 639-3 code of a supported language.
For a mix of multiple languages, use code 'xx'.
language - Specifies the language of the text features in ISO 639-1 or ISO 639-3 code of a supported language.
For a mix of multiple languages, use code 'xx'.
ClarifyTextLanguage,
ClarifyTextLanguageClarifyTextConfig.Builder language(ClarifyTextLanguage language)
Specifies the language of the text features in ISO 639-1 or ISO 639-3 code of a supported language.
For a mix of multiple languages, use code 'xx'.
language - Specifies the language of the text features in ISO 639-1 or ISO 639-3 code of a supported language.
For a mix of multiple languages, use code 'xx'.
ClarifyTextLanguage,
ClarifyTextLanguageClarifyTextConfig.Builder granularity(String granularity)
The unit of granularity for the analysis of text features. For example, if the unit is 'token',
then each token (like a word in English) of the text is treated as a feature. SHAP values are computed for
each unit/feature.
granularity - The unit of granularity for the analysis of text features. For example, if the unit is
'token', then each token (like a word in English) of the text is treated as a feature.
SHAP values are computed for each unit/feature.ClarifyTextGranularity,
ClarifyTextGranularityClarifyTextConfig.Builder granularity(ClarifyTextGranularity granularity)
The unit of granularity for the analysis of text features. For example, if the unit is 'token',
then each token (like a word in English) of the text is treated as a feature. SHAP values are computed for
each unit/feature.
granularity - The unit of granularity for the analysis of text features. For example, if the unit is
'token', then each token (like a word in English) of the text is treated as a feature.
SHAP values are computed for each unit/feature.ClarifyTextGranularity,
ClarifyTextGranularityCopyright © 2022. All rights reserved.