anchor.diff:      if (verbose) {
         printRow(out,"term type", arr, new ToStr() {
           public String toStr(Object o) {
  -          String tt =  ((Tok)o).token.type();
  +          String tt =  ((Tok)o).token.addAttribute(TypeAttribute.class).type();
             if (tt == null) {
                return "null";
             } else {
  
positive.code: 
  
    private static class Tok {
      Token token;
      int pos;
      Tok(Token token, int pos) {
        this.token=token;
        this.pos=pos;
      }
  
negative.code:            writeHeader(out, filtfac.getClass(), filtfac.getArgs());
           }
  
           final Iterator<AttributeSource> iter = tokens.iterator();
           tstream = filtfac.create( new TokenStream(tstream.getAttributeFactory()) {
             
             public boolean incrementToken() throws IOException {
               if (iter.hasNext()) {
                 AttributeSource token = iter.next();
                 Iterator<Class<? extends Attribute>> atts = token.getAttributeClassesIterator();
                 while (atts.hasNext()) // make sure all att impls in the token exist here
                   addAttribute(atts.next());
                 token.copyTo(this);
                 return true;
               } else {
                 return false;
  