[Zope] Indexing: ZopeSplitter and numbers

Casey Duncan c.duncan@nlada.org
Tue, 13 Nov 2001 13:52:35 -0500


On Tuesday 13 November 2001 07:05 am, Andreas Jung allegedly wrote:
> The answer is - as always - in the sources ;-) The splitting algorithm is
> pretty dumb. Roughly spoken it splits the text in words but not into
> numbers.
> To test the splitter try this:
>
> from ZopeSplitter import ZopeSplitter
> print list(ZopeSplitter('abc 123 t353 nmj'))
>
> gives ['abc', 't353', 'nmj']
>
>
> Andreas

Has there been any thought in changing this behavior? I smell a fish bowl 
prop...

/---------------------------------------------------\
  Casey Duncan, Sr. Web Developer
  National Legal Aid and Defender Association
  c.duncan@nlada.org
\---------------------------------------------------/