[SOLVED] Word Net

Regular Contributor

[SOLVED] Word Net

I am using Rapid miner 5.3.013. I installed "text mining" and "word Net" extensions. I also downloaded the "word Net" dictionary itself. But I don`t know how to set the parameters of "Open Word Net Dictionary" Operator. I tried everything which came to my mind, But it still says: "Couldn`t open dictionary from directory"
Regular Contributor

Word Net

Here is a little more explanation, I took it from a previous thread which was not solved:
"To use Wordnet with the Word Vector Tool, you need a working installation of Wordnet 2.1.  Also, you need a configuration file for JWNL. An example configuration file can be found in the sample directory. Usually it should be sufficient to set the correct path to your Wordnet dictionary directory (setting the parameter ‘dictionary_path’). For more information on configuring the JWNL please refer to their homepage.  Currently, Wordnet is supported for the use in the stemmer step, thus to reduce a word to some base form. The corresponding classes are called ‘WordNetHypernymStemmer’ and WordNetSynonymStemmer’."

(1) Where do I put the JWNL files?
(2) Where do I put the Wordnet files?
(3) Which file should I import in "Open Word Net Dictionary" Operator?
Regular Contributor

Re: Word Net


you have to download the WordNet 3.0 database files (http://wordnetcode.princeton.edu/3.0/WNdb-3.0.tar.gz). The folder has to be extracted to somewhere and the "Open WordNet dictionary" operators has to point to the folder that you have extracted.

Regular Contributor

Re: [SOLVED] Word Net

Thanks Nils
It worked!
I am so delighted.

Contributor II

Re: [SOLVED] Word Net

Farideh, Nils,

I have the same initial questions Farideh had, especially

    Where do I put the JWNL files?

Do you have some indication about how to do that?

My model is working "fine", having the Open WordNet Dictionaty operator pointing to the directory where I have the text files for the WN dictionary, but no word or token is recognized from my input document.  It seems no word is being read from the dictionary.

Any suggestions, please?