def _text_reader(text_file):
  """Returns list of lines from the text file.

  Performs lowercasing and white-space tokenization on each line before
  returning. Slightly different than the one in totto_parent_eval.py.

  Args:
    text_file: String filename.
  """
  texts = []
  with io.open(text_file, encoding="utf-8") as f:
    for line in f:
      line = line.strip().lower()
      texts.append(line)
  return texts
Returns list of lines from the text file.

  Performs lowercasing and white-space tokenization on each line before
  returning. Slightly different than the one in totto_parent_eval.py.

  Args:
    text_file: String filename.
  
language/totto/totto_bleurt_eval.py