lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: Does any one know how to expand queries using Wordnet with Lucene 3.6?
Date Fri, 15 Jun 2012 15:14:44 GMT
See its test: http://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_6/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/synonym/TestWordnetSynonymParser.java

The idea is you parse the wordnet file with this thing, and create a
SynonymFilter that you use in your query Analyzer (The one you pass to
QueryParser).

On Fri, Jun 15, 2012 at 6:27 AM, Kits89 <marcjuarez89@gmail.com> wrote:
> I've found the class WordnetSynonymParser in
> org.apache.lucene.analysis.synonym but there aren't examples of its usage
> neither in the API nor in google. Does any one have experience with it?
>
> Thank you!
>
> EDIT: I know that there used to be the class SynExpand, but with version 3.6
> it disappeared...
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Does-any-one-know-how-to-expand-queries-using-Wordnet-with-Lucene-3-6-tp3989794.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>



-- 
lucidimagination.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