code: def str2toks(str):
      pieces = trimWhitespace(str).split(" ")
      toks = []
      for p in pieces:
          toks.append(Token(p, 0.0, 0.0))
      return toks
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import re
  from collections import deque
  from enum import Enum
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: str2toks(str) and returns: toks