imported from 2428
https://groups.google.com/forum/#!msg/tosdr/_2x3OUnFTJI/v5Vd4JVRuPQJ In order to examine the existing tosback2 rules, I wrote some quick
python bits. I though I'd share them here, in case anyone else finds
import xml.etree.ElementTree as et
#change to tosback2/rules directory
#list of document names
b=sum([[x.attrib['name'] for x in et.parse(y).getroot()] for y in
os.listdir('.') if '.xml' in y],)
#document names, sorted by frequency
c=list(set(zip(map(b.count,b),b))); c.sort(); c
#print files with parsing errors
for y in os.listdir('.'):
except Exception, e: print y, e
tosdr.org | twitter.com/tosdr | github.com/tosdr
You received this message because you are subscribed to the Google Groups "Terms of Service; Didn't Read" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To post to this group, send email to email@example.com.
Visit this group at http://groups.google.com/group/tosdr?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
imported status as declined
Previous Title: No changes recorded
Updated Title: No changes recorded
Previous Analysis: No changes recorded
Updated Analysis: No changes recorded
Previous Status: PENDING
Updated Status: DECLINED
Updated Title: A few python bits for processing tosback2 rule xml
Updated Analysis: A few python bits for processing tosback2 rule xml
Updated Status: PENDING