class_docstr: Text Field Distribution
class_docstr_tok: ["Text","Field","Distribution"]
docstr: add information of field value distribution for text type to the report.
  Details see analyzers inside `xai.data_explorer.text_analyzer`
  
  Args:
      field_name (str): data field name
      field_distribution (:dict of :dict):
          -key: label_name
          -value: TextStats object
      notes (str, Optional):  explain the block
code: def __init__(
      self,
      field_name: str,
      field_distribution: Dict[str, explorer.TextStats],
      notes=None,
  ) -> None:
      """
      add information of field value distribution for text type to the report.
      Details see analyzers inside `xai.data_explorer.text_analyzer`
  
      Args:
          field_name (str): data field name
          field_distribution (:dict of :dict):
              -key: label_name
              -value: TextStats object
          notes (str, Optional):  explain the block
      """
      super(TextFieldDistribution, self).__init__(
          field_name, field_distribution, notes
      )
      self._field_name = field_name
      self._field_distribution = field_distribution
      if not (notes is None):
          self._notes = notes
      else:
          self._notes = "Distribution for %s" % self.field_name
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from typing import Tuple, Dict
  from xai.data import explorer
  from xai.formatter.contents.base import Content
  from xai.formatter.writer.base import Writer
label_desc: Use image node_id 1 to create a new TextFieldDistribution object from inherited base classes: Content with example: obj = TextFieldDistribution(field_name, field_distribution, notes)