code: def output_krdwrd(paragraphs, fp=sys.stdout):
      
      for paragraph in paragraphs:
          if paragraph.class_type in ('good', 'neargood'):
              if paragraph.heading:
                  cls = 2
              else:
                  cls = 3
          else:
              cls = 1
  
          for text_node in paragraph.text_nodes:
              print('%i\t%s' % (cls, text_node.strip()), file=fp)
docs: Outputs the paragraphs in a KrdWrd compatible format:
      class<TAB>first text node
      class<TAB>second text node
      ...
      where class is 1, 2 or 3 which means
      boilerplate, undecided or good respectively. Headings are output as
      undecided.