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 [a type of TextStats]):
          -key: label_name
          -value: tfidf and placeholder distribution under the `label_name`(dict):
              {'tfidf': tfidf, 'placeholder': placeholder}
              - tfidf (:list of :list): each sublist has 2 items: word and tfidf
              - placeholder (:dict):
                  - key: PATTERN
                  - value: percentage
      notes (str, Optional): explain the block
docstr_tok: ["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","[","a","type","of","TextStats","]",")",":","-key",":","label_name","-value",":","tfidf","and","placeholder","distribution","under","the","`","label_name","`","(","dict",")",":","{","'tfidf","'",":","tfidf",",","'placeholder","'",":","placeholder","}","-","tfidf","(",":","list","of",":","list",")",":","each","sublist","has","2","items",":","word","and","tfidf","-","placeholder","(",":","dict",")",":","-","key",":","PATTERN","-","value",":","percentage","notes","(","str",",","Optional",")",":","explain","the","block"]
code: def add_text_field_distribution(
      self, field_name: str, field_distribution: dict, notes=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 [a type of TextStats]):
              -key: label_name
              -value: tfidf and placeholder distribution under the `label_name`(dict):
                  {'tfidf': tfidf, 'placeholder': placeholder}
                  - tfidf (:list of :list): each sublist has 2 items: word and tfidf
                  - placeholder (:dict):
                      - key: PATTERN
                      - value: percentage
          notes (str, Optional): explain the block
      """
      from xai.formatter.contents import TextFieldDistribution
  
      self.contents.append(
          TextFieldDistribution(
              field_name=field_name,
              field_distribution=field_distribution,
              notes=notes,
          )
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  from typing import Tuple, Dict, List
  from xai.data import explorer
  from xai import MODE
label_desc: Use image node_id 23 for calling the Section obj's underlying member method code with example usage: obj.add_text_field_distribution(field_name, field_distribution, notes) without return types