lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tate Avery" <tate.av...@nstein.com>
Subject RE: PorterStemmer / Levenshtein Distance
Date Fri, 05 Nov 2004 17:32:04 GMT
Yousef,

If you are interested in using the Levenshtein algorithm outside of Lucene, it is available
in the Jakarta StringUtils class...

<http://jakarta.apache.org/commons/lang/api/org/apache/commons/lang/StringUtils.html#getLevenshteinDistance(java.lang.String,%20java.lang.String)>

T

-----Original Message-----
From: Erik Hatcher [mailto:erik@ehatchersolutions.com]
Sent: Friday, November 05, 2004 3:44 AM
To: Lucene Users List
Subject: Re: PorterStemmer / Levenshtein Distance


For the distance algorithm, check out FuzzyQuery and its dependent code.

Within Lucene's codebase is also a PorterStemFilter.  However, we'd 
like to deprecate this in favor of the Snowball stemming code that 
currently lives in the Lucene Sandbox repository.

	Erik


On Nov 4, 2004, at 9:12 PM, Yousef Ourabi wrote:

> Hey,
> On the site It says Lucence Uses Levenshtein distance
> algorithm for fuzzy matching, where is this in the
> source code? Also I would like to use the porter
> stemming algorithm for somethign else, Are there any
> documents on the Lucence implementation of Porter
> Stemmer.
>
> Best,
> Yousef
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message