import six


def Tokenize(string):
  """Returns a list containing non-empty tokens from the given string."""
  if not isinstance(string, str):
    string = six.ensure_text(string, 'utf-8')
  return string.split()