So I've gotta ask... _why_ do you want to inject the spaces?
If it's just to break this up into tokens,  wouldn't something like
LetterTokenizer do? Assuming you aren't interested in
leaving in numbers.... Or even StandardTokenizer unless you have
e-mail & etc.

Or what about PatternReplaceCharFilter?

FWIW,
Erick



On Sat, Nov 3, 2012 at 9:22 PM, Igal Sapir <[email protected]> wrote:

> You're right.  I'm not sure what I was thinking.
>
> Thanks for all your help,
>
> Igal
>  On Nov 3, 2012 5:44 PM, "Robert Muir" <[email protected]> wrote:
>
> > On Sat, Nov 3, 2012 at 8:32 PM, Igal @ getRailo.org <[email protected]>
> > wrote:
> > > hi Robert,
> > >
> > > thank you for your replies.
> > >
> > > I couldn't find much documentation/examples of this, but this is what I
> > came
> > > up with (below).  is that the way I'm supposed to use the
> > MappingCharFilter?
> > >
> >
> > You don't need to extend anything.
> > You also don't want to create a normalizecharmap for each reader
> > (thats way too heavy)
> >
> > Just build the NormalizeCharMap once, and pass it to
> > MappingCharFilter's Constructor.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
>

Reply via email to