code: public static void tokensToKAF(final Reader breader, final KAFDocument kaf)
        throws IOException {
      int noSents = 0;
      int noParas = 1;
      final List<String> sentences = CharStreams.readLines(breader);
      for (final String sentence : sentences) {
        noSents = noSents + 1;
        final String[] tokens = sentence.split(DELIMITER);
        for (final String token : tokens) {
          if (token.equals(RuleBasedSegmenter.PARAGRAPH)) {
            ++noParas;
            // TODO sentences without end markers;
            // crap rule
            while (noParas > noSents) {
              ++noSents;
            }
          } else {
            // TODO add offset
            final WF wf = kaf.newWF(0, token, noSents);
            wf.setPara(noParas);
            // wf.setSent(noSents);
          }
        }
      }
    }
docs: Read already tokenized text (one sentence per line) and builds a NAF
  document.
  
  @param breader
  the reader
  @param kaf
  the naf document
  @throws IOException
  if io problems