class_docstr: A parameter used to configure the SageMaker Clarify explainer to treat text features as text so that explanations are provided for individual units of text. Required only for NLP explainability.
docstr: Initialize a config object for text explainability.
  
  Args:
      language (str): Specifies the language of the text features in `ISO 639-1
          <https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes>`__ or `ISO 639-3
          <https://en.wikipedia.org/wiki/ISO_639-3>`__ code of a supported
          language. See valid values `here
          <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ClarifyTextConfig.html#sagemaker-Type-ClarifyTextConfig-Language>`__.
      granularity (str): 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.
          Accepted values are ``"token"``, ``"sentence"``, or ``"paragraph"``.
docstr_tok: ["Initialize","a","config","object","for","text","explainability",".","Args",":","language","(","str",")",":","Specifies","the","language","of","the","text","features","in","`","ISO","639-1","<","https",":","\/\/en.wikipedia.org\/wiki\/List_of_ISO_639-1_codes",">","`","__","or","`","ISO","639-3","<","https",":","\/\/en.wikipedia.org\/wiki\/ISO_639-3",">","`","__","code","of","a","supported","language",".","See","valid","values","`","here","<","https",":","\/\/docs.aws.amazon.com\/sagemaker\/latest\/APIReference\/API_ClarifyTextConfig.html","#","sagemaker-Type-ClarifyTextConfig-Language",">","`","__",".","granularity","(","str",")",":","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",".","Accepted","values","are","``","``","token","''","``",",","``","``","sentence","''","``",",","or","``","``","paragraph","''","``","."]
code: def __init__(
      self,
      language: str,
      granularity: str,
  ):
      """Initialize a config object for text explainability.
  
      Args:
          language (str): Specifies the language of the text features in `ISO 639-1
              <https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes>`__ or `ISO 639-3
              <https://en.wikipedia.org/wiki/ISO_639-3>`__ code of a supported
              language. See valid values `here
              <https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ClarifyTextConfig.html#sagemaker-Type-ClarifyTextConfig-Language>`__.
          granularity (str): 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.
              Accepted values are ``"token"``, ``"sentence"``, or ``"paragraph"``.
      """  # noqa E501  # pylint: disable=line-too-long
      self.language = language
      self.granularity = granularity
  
imports: from __future__ import print_function, absolute_import
  from typing import List, Optional
label_desc: Use image node_id 1 to create a new ClarifyTextConfig object from inherited base classes: object with example: obj = ClarifyTextConfig(language, granularity)