Results 1 to 3 of 3

Thread: help me in JWNL

  1. #1
    vissu007 is offline Member
    Join Date
    Jun 2007
    Rep Power

    Default help me in JWNL

    I want to know how to use JWNL,a java API to access WordNet.Reply soon.
    Thanq.If it requires a java code to be executed,please specify the code.

  2. #2
    boy22 is offline Member
    Join Date
    Jul 2007
    Rep Power


    I read the following text in this link JWNL Overview

    Using JWNL is very simple. First, call JWNL.initialize() somewhere in the initialization code of your program.

    Then, just call Dictionary.getInstance() to get the currently installed dictionary. The only dictionary methods you should really ever need to call are lookupIndexWord(), lookupAllIndexWords(), and getIndexWordIterator().

    The other methods you may be interested in Relationship.findRelationships(), and those in PointerUtils.

    Relationship.findRelationships() allows you to find relationships of a given type between two words (such as ancestry). Another way of thinking of a relationship is as a path from the source synset to the target synset.

    The methods in PointerUtils allow you to find chains of pointers of a given type. For example, calling PointerUtils.getHypernymTree() on the synset that contains "dog," returns a tree with all its parent synsets ("canine"), and its parents' parents ("carnivore"), etc., all the way to the root synset ("entity").

  3. #3
    shidoshi is offline Member
    Join Date
    Mar 2009
    Rep Power


    Hello,I have tried this code and it does not work.I think something is missing.Please can you elaborate further

Similar Threads

  1. Replies: 1
    Last Post: 02-16-2008, 03:33 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts