def load_sentences(filename):
  """give us a list of sentences where each sentence is a list of tokens.
  Assumes the input file is one sentence per line, pre-tokenized."""
  out = []
  with open(filename) as infile:
      for line in infile:
          line = line.strip()
          tokens = line.split()
          out.append(tokens)
  return out