code: static List<Target> span2TargetList(Span<Term> span) {
  	List<Target> list = new ArrayList<Target>();
  	for (Term t : span.getTargets()) {
  	    list.add(KAFDocument.createTarget(t, (t==span.getHead())));
  	}
  	return list;
      }
docs: Converts a Span into a Target list