class_docstr: ```
  Text Extractor: a wrapper to textract package
  ```
code: def __init__(self, use_tika=True):
      if use_tika:
          try:
              from tika import parser
          except ImportError as e:
              raise ValueError(
                  "If use_tika=True, then TextExtractor requires tika: pip install tika"
              )
          except PermissionError as e:
              raise PermissionError(
                  f"There may already be a /tmp/tika.log file from another user - please delete it or change permissions: {e}"
              )
      if not use_tika and not TEXTRACT_INSTALLED:
          raise ValueError(
              "If use_tika=False, then TextExtractor requires textract: pip install textract"
          )
      self.use_tika = use_tika
  
imports: from ..None import utils
  from ..imports import *
  from .None import textutils
label_desc: Use image node_id 1 to create a new TextExtractor object  with example: obj = TextExtractor(use_tika)