JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.sagemaker.model

Class ClarifyTextConfig

    • Constructor Detail

      • ClarifyTextConfig

        public ClarifyTextConfig()
    • Method Detail

      • setLanguage

        public void setLanguage(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'.

        Parameters:
        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'.

        See Also:
        ClarifyTextLanguage
      • getLanguage

        public String getLanguage()

        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'.

        Returns:
        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'.

        See Also:
        ClarifyTextLanguage
      • withLanguage

        public ClarifyTextConfig withLanguage(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'.

        Parameters:
        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'.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ClarifyTextLanguage
      • withLanguage

        public ClarifyTextConfig withLanguage(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'.

        Parameters:
        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'.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ClarifyTextLanguage
      • setGranularity

        public void setGranularity(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.

        Parameters:
        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.
        See Also:
        ClarifyTextGranularity
      • getGranularity

        public String getGranularity()

        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.

        Returns:
        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.
        See Also:
        ClarifyTextGranularity
      • withGranularity

        public ClarifyTextConfig withGranularity(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ClarifyTextGranularity
      • withGranularity

        public ClarifyTextConfig withGranularity(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ClarifyTextGranularity
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /