class_docstr: Maps feature ids to words or word-positions
docstr: Initializer.
  
  Args:
      indexed_string: lime_text.IndexedString, original string
code: def __init__(self, indexed_string):
      """Initializer.
  
      Args:
          indexed_string: lime_text.IndexedString, original string
      """
      self.indexed_string = indexed_string
  
imports: from functools import partial
  import itertools
  import json
  import re
  import numpy
  import scipy
  import sklearn
  from sklearn.utils import check_random_state
  from .None import explanation
  from .None import lime_base
label_desc: Use image node_id 1 to create a new TextDomainMapper object from inherited base classes: explanation with example: obj = TextDomainMapper(indexed_string)