Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-User

Use of Synonyms

 

 

Lucene java-user RSS feed   Index | Next | Previous | View Threaded


oren.liat at gmail

Jul 13, 2009, 1:54 AM

Post #1 of 3 (509 views)
Permalink
Use of Synonyms

Hi all,

I have a list of synonyms for every word.
Is there a good way to use these synonyms?

Currently I use a boost query so if 'a' is the queried word, and 'b' (0.5)
and 'c' (0.2) are its synonyms, I query for:
a^1 + b^0.5 + c^0.2.
Is there a better way of doing it?

Thanks,
Liat


erickerickson at gmail

Jul 13, 2009, 7:09 AM

Post #2 of 3 (465 views)
Permalink
Re: Use of Synonyms [In reply to]

What are you trying to do? I think you'd get a better response ifyou
explained what higher-level task/feature you're trying to
implement.

Best
Erick

On Mon, Jul 13, 2009 at 4:54 AM, liat oren <oren.liat [at] gmail> wrote:

> Hi all,
>
> I have a list of synonyms for every word.
> Is there a good way to use these synonyms?
>
> Currently I use a boost query so if 'a' is the queried word, and 'b' (0.5)
> and 'c' (0.2) are its synonyms, I query for:
> a^1 + b^0.5 + c^0.2.
> Is there a better way of doing it?
>
> Thanks,
> Liat
>


oren.liat at gmail

Jul 13, 2009, 10:57 AM

Post #3 of 3 (459 views)
Permalink
Re: Use of Synonyms [In reply to]

I have my own synonyms, which are differnt from the ones in wordNet.
For every word, I have synonyms and the score - for how close the synonym to
its word.
I would like to 'elaborate' the query, to expand it so it will include also
the synonyms of the words given in the query.

Thanks

2009/7/13 Erick Erickson <erickerickson [at] gmail>

> What are you trying to do? I think you'd get a better response ifyou
> explained what higher-level task/feature you're trying to
> implement.
>
> Best
> Erick
>
> On Mon, Jul 13, 2009 at 4:54 AM, liat oren <oren.liat [at] gmail> wrote:
>
> > Hi all,
> >
> > I have a list of synonyms for every word.
> > Is there a good way to use these synonyms?
> >
> > Currently I use a boost query so if 'a' is the queried word, and 'b'
> (0.5)
> > and 'c' (0.2) are its synonyms, I query for:
> > a^1 + b^0.5 + c^0.2.
> > Is there a better way of doing it?
> >
> > Thanks,
> > Liat
> >
>

Lucene java-user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.