code: def span_to_token(text, span_to_token_strategy="space"):
      if span_to_token_strategy == "space":
          return text.split(" ")
      elif span_to_token_strategy == "list":
          return list(text)
      else:
          raise NotImplementedError(
              f"The span to token strategy {span_to_token_strategy} is not implemented."
          )
  
imports: from asyncio.log import logger
  import sys
  from typing import Tuple
  import numpy
  import logging
label_desc: Use image node_id 4 for calling a global function with example usage: span_to_token(text, span_to_token_strategy) and returns: text, list