|
||||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |
See:
Description
Packages | |
net.didion.jwnl | |
net.didion.jwnl.data | This package contains all of the data objects that contain information from the dictionary. |
net.didion.jwnl.data.list | Lists and associated objects that hold the results of relationship operations. |
net.didion.jwnl.data.relationship | Tools for finding pointer relationships between two words. |
net.didion.jwnl.dictionary | Dictionary is the main interface into the dictionary. |
net.didion.jwnl.dictionary.caching | Classes used by AbstractCachingDictionary . |
net.didion.jwnl.dictionary.file_manager | Classes used by FileBackedDictionary to interface with the filesystem. |
net.didion.jwnl.princeton.data | Implementations of DictionaryElementFactory for Princeton's release of WordNet. |
net.didion.jwnl.princeton.file | Implementations of DictionaryFile used by the various classes of Dictionary to access dictionary files using the naming convention used in Princeton's release of WordNet. |
net.didion.jwnl.util | Utility classes used by JWNL. |
JWNL is an API for accessing WordNet-style relational dictionaries. It also provides functionality beyond data access, such as relationship discovery and morphological processing.
Contents:
Version 1.1 is has changed significantly from earlier versions. So much so, in fact, that it is not backwardly compatible with earlier versions. For this reason, earlier versions will no longer be supported.
The major changes in version 1.1 are:
In developing the architecture for this version of JWNL, the overall design goals were:
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").
Goals for Future Releases
There are many areas in which JWNL needs improvement:
|
||||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |