Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Solr, mail # user - Automatic synonyms for multiple variations of a word

Copy link to this message
Automatic synonyms for multiple variations of a word
Otis Gospodnetic 2011-04-25, 18:21

How do people handle cases where synonyms are used and there are multiple
version of the original word that really need to point to the same set of

For example:
Consider singular and plural of the word "responsibility".  One might have
synonyms defined like this:

  responsibility, obligation, duty

But the plural "responsibilities" is not in there, and thus it will not get
expanded to the synonyms above! That's a problem.

Sure, one could change the synonyms file to look like this:

  responsibility, responsibilities, obligation, duty

But that means somebody needs to think of all variations of the word!

Is there a something one can do to get all variations of the word to map to the
same synonyms without having to explicitly specify all variations of the word?

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/