You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unzip the downloaded file and place it in a convenient place, e.g., /Users/<username>/Desktop/dict on Mac/Linux, or C:\\WN\\dict on Windows
Create a new Processing sketch as below, specifying the location of WordNet on your system:
importrita.*;
RiWordNet w =newRiWordNet("/Users/<username>/Desktop/example/dict");
String[] s = w.getAllSynsets("dog", "n");
println(s);
Using RiWordNet with Eclipse
Create a new Java project in Eclipse
Download rita-latest.jar and add it to the build path for the project. In eclipse: 'Project' > 'Properties' > 'Java Build Path' > 'Libraries' > 'Add External JARs...'
Download and extract WordNet 3.1 to a convenient place on your system, e.g., /Users/<username>/Desktop/dict on Mac/Linux, or C:\\WN\\dict on Windows
Create and run a new class, WordNetExample.java, with the following code: