| Project: | The eXtensible Catalog (XC) Drupal Toolkit |
| Version: | 6.x-1.1-alpha10 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | pkiraly |
| Status: | active |
Issue Summary
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
| Attachment | Size |
|---|---|
| wordnet-admin.png | 34.88 KB |
| wordnet-color.png | 92.65 KB |
| wordnet-color-all.png | 67.19 KB |
| wordnet-dog.png | 72.6 KB |
| wordnet-dog-applied.png | 73.15 KB |