code: private static List<String> buildSegmentedSentences(final BufferedReader breader) {
      String line;
      List<String> sentences = new ArrayList<>();
      try {
        while ((line = breader.readLine()) != null) {
          sentences.add(line);
        }
      } catch (final IOException e) {
        LOG.error("IOException", e);
      }
      return sentences;
    }
docs: TODO move to ixa-pipe-ml