code: def split_sentence(s, use_lower):
      if use_lower:
          s = s.lower()
      s = s.replace("\u2019", "'")
      s = digit_pattern.sub("0", s)
      words = []
      for word in s.strip().split():
          words.extend(split_pattern.split(word))
      words = [w for w in words if w]
      return words
  
file_path: chainer/examples/seq2seq/wmt_preprocess.py
imports: from __future__ import unicode_literals
  import argparse
  import collections
  import io
  import re
  import progressbar
label_desc: Use image node_id 1 for calling a global function with example usage: split_sentence(s, use_lower) and returns: words