code: def read_file(path, use_lower):
      n_lines = count_lines(path)
      bar = progressbar.ProgressBar()
      with io.open(path, encoding="utf-8", errors="ignore") as f:
          for line in bar(f, max_value=n_lines):
              words = split_sentence(line, use_lower)
              yield 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 3 for calling a global function with example usage: read_file(path, use_lower) without return types