Questions tagged [jaws-wordnet]

The Java API for WordNet Searching (JAWS) is an API that provides Java applications with the ability to retrieve data from the WordNet database.

JAWS - the Java API for WordNet Searching (JAWS) is an API that provides Java applications with the ability to retrieve data from the WordNet (a large lexical database of English.) It is a simple and fast API that is compatible with both the 2.1 and 3.0 versions of the WordNet database files and can be used with Java 1.4 and later.

JAWS was created and is maintained by Brett Spell, a faculty member in the Computer Science and Engineering (CSE) department at Southern Methodist University.

The detailed JAWS API documentation (with help to get started) can be found here.

Resources: JAWS - http://blog.newitfarmer.com/ai/nlp/2750/java-api-for-wordnet-searching-jaws WordNet - http://wordnet.princeton.edu/

34 questions
12
votes
4 answers

Wordnet Find Synonyms

I am searching for a way to find all the synonyms of a particular word using wordnet. I am using JAWS. For example: love(v): admire, adulate, be attached to, be captivated by, be crazy about, be enamored of, be enchanted by, be fascinated with, be…
Sankalp
  • 1,128
  • 4
  • 14
  • 31
10
votes
2 answers

How to integrate "WordNet Domains" into WordNet DB?

I am using WordNet 2.1 tool and accessing it pro-grammatically via JAWS(Java API for WordNet Searching). Today I came across this new thing called WordNet Domains which has assigned DOMAIN labels to each word in WordNet. link:-…
variable
  • 8,262
  • 9
  • 95
  • 215
9
votes
3 answers

How to programmatically access wordnet hierarchy?

Suppose for any word I want to access its IS-A parent value and HAS-A value then is it possible using any api?
user1609626
7
votes
2 answers

Using wordnet (or some simple dictionary) to check if a noun is countable or uncountable from Java program

I found 2 libraries in Java – JWNL and JAWS. So far, it seems to me that these APIs are good for finding synsets and hyponyms and similar things. Do you know if there is some tool to use wordnet to check if a noun is a countable/uncountable noun? I…
Bikash Gyawali
  • 969
  • 2
  • 15
  • 33
7
votes
3 answers

Wordnet Similarity in Java: JAWS, JWNL or Java WN::Similarity?

I need to use Wordnet in a java-based app. I want to: search synsets find similarity/relatedness between synsets My app uses RDF graphs and I know there are SPARQL endpoints with Wordnet, but I guess it's better to have a local copy of the…
Mulone
  • 3,603
  • 9
  • 47
  • 69
5
votes
1 answer

Sentence Similarity using WS4J

I want to use ws4j to calculate similarity between two sentence. I am using the Online Demo of WS4J @ WS4J Online demo I am using the default example sentences given by WS4J. After entering the sentence and hitting on calculate similarity button, i…
Manish
  • 179
  • 2
  • 11
3
votes
1 answer

how to check whether word in wordNet or not

I start to learn about wordNet and till know I found the synonymous for a specific word now I have a file and I want to tokenize this text using n-gram for example String s="I like to wear tee shirt"; after using n-gram it will be I like to wear…
Abeer zaroor
  • 320
  • 2
  • 17
2
votes
1 answer

WordNet Database Directory Relative Path in .jar

To use JAWS the specification of the WordNet database directory within the application is needed as stated here: http://lyle.smu.edu/~tspell/jaws/. System.setProperty("wordnet.database.dir", "resources/WordNet-3.0/dict/"); This works well within…
n01dea
  • 1,532
  • 1
  • 16
  • 33
2
votes
0 answers

How to use JAWS for Wordnet similarity?

I've searched for java library for wordnet similarity and also found some questions like this and this. I have done all of instructions mentioned in those questions but still when I use below code JWS isn't recognized. How can I solve it?Thanks
user3070752
  • 694
  • 4
  • 23
2
votes
2 answers

RetrievalException in wordnet code

I executed this code: package edu.smu.tspell.wordnet; import java.util.Scanner; public class TestJAWS { /** * Main entry point. The command-line arguments are concatenated together * (separated by spaces) and used as the word form…
jane
  • 303
  • 1
  • 4
  • 18
1
vote
2 answers

finding distance between synsets in wordnet

I use Java API for wordnet searching(JAWS) for accessing wordnet from java . When i got to read a few papers about semantic similarity with java , they expect me to find the distance between two synsets (is a relationship is used in building the…
CTsiddharth
  • 907
  • 12
  • 21
1
vote
1 answer

Finding the roots of a word in java using wordnet

I am aware of the hypernym in wordnet , but since there are a number of meaning for every term i am forced to using Lesk algorithm to find the contextual meaning of a word . In the process , i got to see the question . I am trying to implement this…
CTsiddharth
  • 907
  • 12
  • 21
1
vote
1 answer

Extracting word list from Wordnet

I would like to extract a basic list of Synonyms from a database for my search engine. This includes commonly spelled names such as Shaun vs. Shawn, the different variations of Muhammad, acronyms of named entities such as United Nations(UN) or…
Nayr
  • 31
  • 4
1
vote
1 answer

Java: Convert an English verb to a particular tense

Is there a way to convert an English verb to a particular tense with java? for example: convertToPast("go"); //will give went convertToCtn("go"); //will give going I have used Stanford nlp and WordNet with JAWS.
Buntu Linux
  • 492
  • 9
  • 19
1
vote
1 answer

Compilation probleme for Jaws Wordnet

I'm trying to use JAWS Api for Wordnet, and i want to do a test with this code : import edu.smu.tspell.wordnet.*; public class Wordnettest { public static void main(String[] args) { System.setProperty("wordnet.database.dir",…
Pusheen_the_dev
  • 2,077
  • 4
  • 17
  • 33
1
2 3