code: def span_to_token(self, text):
      return span_to_token(
          text, span_to_token_strategy=self._map_config.span_to_token
      )
  
imports: from asyncio.log import logger
  import sys
  from typing import Tuple
  import numpy
  import logging
label_desc: Use image node_id 2 for calling the Record obj's underlying member method code with example usage: obj.span_to_token(text) and returns: span_to_token