If Hoss is referring to synonym expansion, allow me to point out that freely 
downloadable code from Lucene in Action (first edition) has code for that, if 
you'd like to have a look, OP.

Otis 
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: Chris Hostetter <hossman_luc...@fucit.org>
> To: java-user@lucene.apache.org
> Sent: Saturday, December 20, 2008 2:12:21 PM
> Subject: Re: Inquiry on Lucene Stemming
> 
> 
> : Well some client inquiries if it's possible to expand such simple words 
> : and does Lucene have an API for this logic? Because all I read was the 
> : stemming logic for Lucene was the other way around which is, example 
> : "flashing" it will be trimmed to the root word "flash" when searched.
> 
> there are two fundemental approaches (that i know of) to stemming: 
> reduction and expansion.
> 
> reduction can either be algorithmic, or morphologically/dictionary based.  
> expansion esentially has to be morphologically based.
> 
> The SnowballAnalyzer uses the Snowball stemming algorithm, which is a 
> reduction approach to stemming.  if you want an expansion based appraoch, 
> you have to have a dictionary.  Lucene doens't provide one of these, but 
> that doens't mean you can't use one if you find one -- it's been a while 
> since i looked but the only ones i've ever seen were only commercially 
> avialable.
> 
> http://en.wikipedia.org/wiki/Stemming
> 
> 
> 
> 
> -Hoss
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to