class_docstr: transform and retrieve features of RESample
docstr: get entity type
  
  :return Tuple(string, string): entity type of subject and
      entity type of object
docstr_tok: ["get","entity","type",":","return","Tuple","(","string",",","string",")",":","entity","type","of","subject","and","entity","type","of","object"]
code: def get_type(self):
      r"""
      get entity type
  
      :return Tuple(string, string): entity type of subject and
          entity type of object
  
      """
      self.ner = self.stan_ner_transform()
      if self.ner == 0:
          return "O", "O"
      self.subj_type = self.ner[self.subj[0]]
      self.obj_type = self.ner[self.obj[0]]
  
      return self.subj_type, self.obj_type, self.ner
  
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 9 for calling the RESample obj's underlying member method code with example usage: obj.get_type() and returns: self,  self,  self, str,  str