code: def get_term_offsets(self, doc):
      return []
  
file_path: scattertext/scattertext/features/CognitiveDistortionsOffsetGetter.py
imports: from typing import Dict, List, Optional
  from scattertext.features.featoffsets.feat_and_offset_getter import FeatAndOffsetGetter
  import flashtext
label_desc: Use image node_id 2 for calling the LexiconFeatAndOffsetGetter obj's underlying member method code with example usage: obj.get_term_offsets(doc) and returns: list