code: def slice_text(
      text, eos_token="SEQUENCE_END", sos_token="SEQUENCE_START"
  ):
      """Slices text from SEQUENCE_START to SEQUENCE_END, not including
      these special tokens.
      """
      eos_index = text.find(eos_token)
      text = text[:eos_index] if eos_index > -1 else text
      sos_index = text.find(sos_token)
      text = (
          text[sos_index + len(sos_token) :] if sos_index > -1 else text
      )
      return text.strip()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
label_desc: Use image node_id 3 for calling a global function with example usage: slice_text(text, eos_token, sos_token) and returns: text