Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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
Hi,

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
synonyms?

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?

Thanks,
Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB