Pages: [1]
  Print  
Author Topic: [SOLVED] Word Net  (Read 420 times)
faridehbagherzadeh
Newbie
*
Posts: 24


« on: November 26, 2013, 08:04:57 PM »

Hi!
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"
« Last Edit: November 27, 2013, 04:52:47 PM by faridehbagherzadeh » Logged
faridehbagherzadeh
Newbie
*
Posts: 24


« Reply #1 on: November 26, 2013, 08:55:46 PM »

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’."

BUT:
(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?
Logged
Nils
Administrator
Sr. Member
*****
Posts: 408


« Reply #2 on: November 27, 2013, 09:58:38 AM »

Hi,

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.

Best,
Nils
Logged

Please add [SOLVED] to the topic title when your problem has been solved! (do so by editing the first post in the thread and modifying the title)
faridehbagherzadeh
Newbie
*
Posts: 24


« Reply #3 on: November 27, 2013, 04:54:00 PM »

Thanks Nils
It worked!
I am so delighted.
 
Best
Farideh
Logged
calang
Newbie
*
Posts: 6


« Reply #4 on: January 31, 2014, 11:14:07 PM »

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?
Thanks.
Logged
Pages: [1]
  Print  
 
Jump to: