CICWN is a Java WordNet API that allows Java applications to retrieve data from WordNet. CICWN is compatible with WordNet 3.0. Its main features are:
The API is licensed under the GNU General Public License (v2 or later). Source is included. SemCor and WordNet are bundled inside the conector.
Please cite the following paper in your work:
Current Version 1.0 can be dowloaded here.
Using CICWN in your application
The main class in CICWN is the WordNet class. A sample code of CICWN is:
WordNet.setPath(CICWN/""); //Setting the path of CICWN.
In CICWN glosses are treated as they were samples. WordNet.loadDataBase("WNGlosses"); loads the parsed samples from previously parsed resources. CICWN is bundled with three resources:
You can use more than one resource, e.g. WordNet.loadDataBase("WNSamples;SemCor");.
You can add your own SemCor format samples by using:
For loading your own samples you have to use "PathOfYourSemCorFiles" as the name of your resources.
The most useful funcion of CICWN are: