mò )á¸Ec@sÃdklZdklZdkZdfd„ƒYZeiddeƒedjoidkZeƒZ xTei dD]AZ e e d ƒZ e iƒZe iƒe GHe iegƒGHqvWndS( (s ISplitter(selement_factoryNtHTMLWordSplittercBs,tZeZdd„Zd„Zd„ZRS(Ns(?L)\w+cCs1g}x$|D]}||i||ƒ7}q W|S(N(tsplatttexttttselft_splittwordpat(RRRRR((t@/data/zmath/zope/lib/python/Products/ZCTextIndex/HTMLSplitter.pytprocesss cCs|i|dƒS(Ns(?L)\w+[\w*?]*(RRR(RR((Rt processGlobscCsN|iƒ}ddg}x#|D]}ti|d|ƒ}qWti||ƒS(Ns<[^<>]*>s &[A-Za-z]+;t (RtlowertremovetpattretsubtfindallR(RRRR R ((RR"s   (t__name__t __module__t ISplittert__implements__RR R(((RRs  s Word SplittersHTML aware splittert__main__itrb(tProducts.ZCTextIndex.ISplitterRt$Products.ZCTextIndex.PipelineFactorytelement_factoryRRtregisterFactoryRtsystsplittertargvtpathtopentftreadtbuftcloseR( RRR"R RRRRR((Rt?s