class_docstr: transform and retrieve features of RESample
docstr: get entity index
  
  :return Tuple(int, int, int, int): start index of subject entity,
      end index of subject entity, start index of object entity
      and end index of object entity
docstr_tok: ["get","entity","index",":","return","Tuple","(","int",",","int",",","int",",","int",")",":","start","index","of","subject","entity",",","end","index","of","subject","entity",",","start","index","of","object","entity","and","end","index","of","object","entity"]
code: def get_en(self):
      r"""
      get entity index
  
      :return Tuple(int, int, int, int): start index of subject entity,
          end index of subject entity, start index of object entity
          and end index of object entity
  
      """
      self.sh, self.st = self.subj[0], self.subj[1]
      self.oh, self.ot = self.obj[0], self.obj[1]
      sh, st, oh, ot = (
          copy.deepcopy(self.sh),
          copy.deepcopy(self.st),
          copy.deepcopy(self.oh),
          copy.deepcopy(self.ot),
      )
      return sh, st, oh, ot
  
imports: import random
  import copy
  from .sample import Sample
  from ..field import TextField
  from ....common.settings import TASK_MASK
label_desc: Use image node_id 8 for calling the RESample obj's underlying member method code with example usage: obj.get_en() and returns: sh,  st,  oh,  ot