|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages | |
| net.didion.jwnl | |
| net.didion.jwnl.data | Classes for extracting and containing data from the dictionary. |
| net.didion.jwnl.data.list | Lists and associated classes that hold the results of relationship operations. |
| net.didion.jwnl.data.relationship | Tools for finding pointer relationships between words. |
| net.didion.jwnl.dictionary | Classes for acessing dictionary information. |
| net.didion.jwnl.dictionary.database | Classes for accessing databases that contain dictionary information. |
| net.didion.jwnl.dictionary.file | Classes for accessing files that contain dictionary information. |
| net.didion.jwnl.dictionary.file_manager | Classes used by FileBackedDictionary to interface with the filesystem. |
| net.didion.jwnl.dictionary.morph | |
| 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. |
| net.didion.jwnl.util.cache | Classes used for caching information. |
| net.didion.jwnl.util.factory | Classes involved in reflective creation of JWNL components. |
JWNL 1.3JWNL is an API for accessing WordNet-style relational dictionaries. It also provides functionality beyond data access, such as relationship discovery and morphological processing.Contents: Changes From Earlier VersionsStarting with version 1.3, JWNL is under a BSD-style license, meaning that it can be used in without restriction. This change can be considered retroactive (i.e. you're okay if you're using earlier versions of JWNL in a commercial software package). Version 1.3 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.3 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 RelationshipFinder.findRelationships(), and those in PointerUtils. RelationshipFinder.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").
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||