code: def split_text(text, char_based=False):
      if char_based:
          return list(text)
      else:
          return text.split()
  
file_path: chainer/examples/text_classification/nlp_utils.py
imports: import collections
  import io
  import numpy
  import chainer
label_desc: Use image node_id 1 for calling a global function with example usage: split_text(text, char_based) and returns: list, text