dump_draft (EstraierPure::Document)

    # File estraierpure.rb, line 136
        def dump_draft()
          buf = StringIO::new
          keys = @attrs.keys.sort
          for i in 0...keys.length
            buf.printf("%s=%s\n", keys[i], @attrs[keys[i]])
          end
          if @kwords
            buf.printf("%%VECTOR")
            @kwords.each() do |key, value|
              buf.printf("\t%s\t%s", key, value)
            end
            buf.printf("\n")
          end
          buf.printf("%%SCORE\t%d\n", @score) if @score >= 0
          buf.printf("\n")
          for i in 0...@dtexts.length
            buf.printf("%s\n", @dtexts[i])
          end
          for i in 0...@htexts.length
            buf.printf("\t%s\n", @htexts[i])
          end
          buf.string
        end