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
them useful.
Jesse
-------------------------------------------
import xml.etree.ElementTree as et
import os
#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('.'):
try: unused=et.parse(y)
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 tosdr+unsubscribe@googlegroups.com.
To post to this group, send email to tosdr@googlegroups.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
A Python program is read by a parser. Input to the parser is a stream of tokens, generated by the lexical analyzer. This chapter describes how the lexical analyzer breaks a file into tokens.
Click to know about machine learning
Czy jesteś fanem sportu, który nie może przegapić żadnego meczu czy zawodów na żywo? Odkryj, co MovieClub ma Ci do zaoferowania w 2024 roku. Nasz serwis to Twoja brama do świata sportowych emocji. MovieClub wyróżnia się na rynku dzięki swojej szerokiej ofercie transmisji na żywo, obejmującej mecze piłki nożnej, skoki narciarskie, tenis, siatkówkę i wiele innych dyscyplin. Nie wiesz kiedy Twój ulubiony zespół gra mecz? Nie wiesz gdzie obejrzeć dzisiaj mecze za darmo? W MovieClub odpowiemy na te pytania i wiele więcej. Odkrywaj sport razem z nami, tak jak lubisz!
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
Previous Title:
Updated Title: A few python bits for processing tosback2 rule xml
Previous Analysis:
Updated Analysis: A few python bits for processing tosback2 rule xml
Previous Status:
Updated Status: PENDING
Previous Title:
Updated Title: CenturyLink Online Account TOS
Previous Analysis:
Updated Analysis: CenturyLink Online Account TOS
Previous Status:
Updated Status: PENDING