code: def get_term_offsets(self, doc):
      return []
  
imports: from typing import List, Tuple, Union, Optional, Callable, Dict
  from collections import deque
  from scattertext.features.FeatsFromSpacyDoc import FeatsFromSpacyDoc
  from scattertext.features.featoffsets.feat_and_offset_getter import FeatAndOffsetGetter
  from scattertext.Common import MY_ENGLISH_STOP_WORDS
label_desc: Use image node_id 1 for calling the FlexibleNGramFeatures obj's underlying member method code with example usage: obj.get_term_offsets(doc) and returns: list