lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Van Nguyen" <vngu...@ur.com>
Subject RE: is there such an analyzer?
Date Thu, 17 Aug 2006 21:42:54 GMT
That definitely pointed me in the right direction.  Thanks

-----Original Message-----
From: Erick Erickson [mailto:erickerickson@gmail.com] 
Sent: Wednesday, August 16, 2006 1:04 PM
To: java-user@lucene.apache.org
Subject: Re: is there such an analyzer?

I suspect you'll have to roll your own. I'd use the SynonymAnalyzer from
Lucene in Action as a model, starting around page 129. I really doubt
that
there's much you can expect Lucene to do for you for this specialized
kind
of tokenizing.....

Erick


On 8/16/06, Van Nguyen <vnguyen@ur.com> wrote:
>
>  I'm looking for a cross between a WhitespaceAnalyzer and
> StandardAnalyzer.  If I pass in:
>
> I-Pity-da-fool who has a 1" ladder said MR.T
>
> I want it to index these:
>
> i-pity-da-fool
> pity
> fool
> 1"
> 1
> ladder
> mr.t
>
>
>
> United Rentals
> Consider it done.(tm)
> 800-UR-RENTS
> unitedrentals.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
Mime
View raw message