code: def vectorize(words, max_len):
      return be.array(
          pad_sentences(
              [babi.words_to_vector(BABI.tokenize(words))], max_len
          )
      )
  
file_path: neon/examples/babi/demo.py
imports: from __future__ import print_function
  from builtins import input
  import numpy
  from util import create_model, babi_handler
  from neon.backends import gen_backend
  from neon.data import BABI, QA
  from neon.data.text_preprocessing import pad_sentences
  from neon.util.argparser import NeonArgparser, extract_valid_args
label_desc: Use image node_id 2 for calling a global function with example usage: vectorize(words, max_len) and returns: be