Questions tagged [jwi]

The MIT Java Wordnet Interface (JWI) is a Java library for interfacing with the Wordnet electronic dictionary.

Taken from http://projects.csail.mit.edu/jwi/api/index.html

"It features API calls to retrieve index entries, synsets, morphological exceptions, and sense index entries from the Wordnet data files. It also has calls that allow browsing by following lexical and semantic pointers, and contains classes that can perform simple morphological processing. The library includes no GUI elements.

JWI is compatible with Wordnet versions 1.6 through 3.0, as well as a few other Wordnet variations. It is not compatible with Wordnet 1.5. JWI does not include the Wordnet dictionary itself: that must be downloaded separately from the Wordnet site at http://wordnet.princeton.edu."

32 questions
1
vote
1 answer

Wordnet (JWI): Get example sentences for a word

I'm trying to implement the Lesk Algorithm for word sense disambiguation using Wordnet and it's Java API JWI. One of the steps requires to build a bag of words from the gloss and example sentences of the target word. I can easily get the gloss from…
mecharock
  • 13
  • 3
1
vote
0 answers

using MIT JWI Wordnet Library to get all form of a verb

I want to know all the form of a verb. For example, for the vert to be, I want to have is,am,was,were,... It is possible with jwi + wordnet ??
neo m
  • 222
  • 1
  • 4
  • 13
1
vote
1 answer

How to Extract a Common Hypernym from Different Words Using WordNet (Java)?

Does anyone know how to find a common Hypernym given two words, using WordNet in Java? For example the hypernym for chicken is bird, and the hypernym for parrot is also bird. So if one provides hypernym_finder ("parrot", "chicken") the result…
Terry Ruas
  • 99
  • 10
1
vote
1 answer

WordNet getting depth of hypernymy

I'm quite new to WordNet. I need some help understanding the structure of WordNet. Currently, I used the MIT JWI WordNet package to implement my system. So far, I am able to retrieve the synsets and hypernymy of a word. My question is: is there a…
mellissa
  • 87
  • 1
  • 3
  • 13
0
votes
2 answers

Reading wordnet folder in Google Cloud Application

I have a Scala web application running in GAE. I need to use a Java library -JWI- which requires me to pass a root folder of Wordnet into edu.mit.jwi.Dictionary's constructor. I thought about putting all Wordnet stuff into Google Cloud Storage, but…
alex
  • 942
  • 1
  • 10
  • 26
0
votes
1 answer

WordNet Export CSV Java program gives error

I cloned WordNetToCSV program codes from github but it gives this error: Error: Could not find or load main class GeneralWordNetExport The github repository link is: https://github.com/eureko/WordNetToCSVFiles/ I also installed WordNet 2.1 for…
S.Ozer
  • 17
  • 7
0
votes
1 answer

Why WordNet and JWI stemmer gives "ord" and "orde" in result of "order" stemming?

I'm working on a project using WordNet and JWI 2.4.0. Currently, I'm putting a lot of words within the included stemmer, it seems to work, until I asked for "order". The stemmer answers me that "order", "orde", and "ord", are the possible stems of…
Metalman
  • 73
  • 9
0
votes
1 answer

How to resolve English sentence verbs semantically

I am trying to transform English statements into SQL queries. e.g. How many products were created last year? This should get transformed to select count(*) from products where manufacturing date between 1/1/2015 and 31/12/2015 I am not able to…
0
votes
1 answer

'MIT Java Wordnet Interface (JWI)' - edu.mit.jwi.data.IHasLifecycle$ObjectClosedException

I am using JWI to interface with WordNet, in Android.Following are my relevant codes ON BUTTON CLICK public class ODFragment extends Fragment { ... //global vars String searchWord = "dog"; String wordDefinition = null; DictSearch…
Abdul Wasae
  • 3,614
  • 4
  • 34
  • 56
0
votes
0 answers

how to solve a JNI error has occured in cmd line using edu.mit.jwi

When i run my maven project from eclipse it runs ok. But when i run it from cmd line as a jar file i have the following error: A JNI error has occurred, please check your installation and try again Exception in thread "main"…
joan
  • 21
  • 7
0
votes
1 answer

Working with RAMDictionary and hadoop

I am trying to use the MIT jwi wordnet interface when working from hadoop. This interface uses a RAMDictionary Object whose constructor needs to receive a file indicating the location of the wordnet folder. I have copied this folder to hdfs, but I…
Ruty
  • 21
  • 3
0
votes
0 answers

MIT Java WordNet Interface: Exception in thread "main" edu.mit.jwi.data.IHasLifecycle$ObjectClosedException

I use JWI in Eclipse to access WordNet on Mac. I followed the example: package tutorial; import java.io.File; import java.io.IOException; import java.net.URL; import edu.mit.jwi.*; import edu.mit.jwi.item.IIndexWord; import…
Laura
  • 1
  • 1
0
votes
1 answer

Eliminate not a word from list

Detecting actually not a word. To be clear with not a word, it has no meaning like leoepld. From list of word, can it be possible distinguish the word and not a word? In Wordnet api, I have not seen any method to discriminate those words. I am not…
0
votes
0 answers

Regarding the assets folder and environment variables on android

My code reads package com.fyp.jwi; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; import edu.mit.jwi.Dictionary; import edu.mit.jwi.IDictionary; import…
Srini
  • 1,619
  • 1
  • 19
  • 34
0
votes
1 answer

WordNet(JWI MIT) : How to find High Frequency words list?

Using JWI MIT interface libraries http://projects.csail.mit.edu/jwi/ , how can I find the list of most frequently used English words in daily life from WordNet api (http://wordnet.princeton.edu/)? Is there any way I can accomplish this if API…
Master
  • 2,945
  • 5
  • 34
  • 65