class_docstr: ```
  Text Extractor: a wrapper to textract package
  ```
code: def _extract(self, filename):
      if self.use_tika:
          from tika import parser
  
          if JAVA_INSTALLED:
              parsed = parser.from_file(filename)
              text = parsed["content"]
          else:
              raise Exception(
                  "Please install Java for TIKA text extraction"
              )
      else:
          text = textract.process(filename)
      return text.strip()
  
imports: from ..None import utils
  from ..imports import *
  from .None import textutils
label_desc: Use image node_id 3 for calling the TextExtractor obj's underlying member method code with example usage: obj._extract(filename) and returns: text