I have created an initial user interface for WordNet synonym suggester (xc_wordnet submodule inside xc module). The main concept is, that each word has different meanings, and if we merge all meanings' synonyms, we get very strange results (like searching for dog, we get all recordings of Wiener Symphonic Orchestra, because sometimes hot dog is synonym with wienerwurst, but it sometimes abbreviated as dog, while wienerwurst is abbreviated as wiener, so dog and wiener became synonyms). We have to group the synonyms by meanings, and Solr's traditional automatic synonym injection with SynonymFilterFactory is useless. He need the user's interaction, and selection.

I made a Java class which transforms WordNet original Prolog database into a Solr consumable XML, which contains one meaning groups in one document. It has a glossary about the meaning, the group's "synset" identifier (it is the main identifier in WordNet), a lexical and meaning categorization, and the list of words. I am not sure about the user interface, here I attached some screens from the initial version.

wordnet-admin.png: a pretty simple admin interface to register the Solr index for WordNet
wordnet-color.png: the suggestions for the query color
wordnet-color-all.png: what happens when the user click on an [all] link
wordnet-dog.png: the suggestions for the query dog
wordnet-dog-applied.png: what happens when the user click on an [all] link

Comments

memoday’s picture

Hello Kiraly,

First, let me thank you for this great project. I came across it because I am looking for a way to integrate WordNet in Drupal. I installed your profile on my machine using Acquia desktop, but I got some errors and I see that the profile is loaded with too many things that I don't need in my project. What is the best way to integrate WordNet search using your project? All what I need is a view that looks like your screen shots above that works with WordNet. I use Apache Solr. I hope you can help me with this.

Thanks in advance!