Dan Bikel has a nice WordNet java package as well.  I believe the licencing is research only for that.<br>
<a href="http://www.cis.upenn.edu/~dbikel/software.html#wn">http://www.cis.upenn.edu/~dbikel/software.html#wn</a><br>
<br>
I'm using JWNL package within the opennlp.tools package
(<a href="http://opennlp.sf.net">opennlp.sf.net</a>).  It was a bit of a
pain to figure out how to make the JWNL dictionary object without
giving it
a file reference to the xml file that JWNL uses to configure
itself.  The code below does this, and is configured for WordNet
1.7 and higher.  It also seems to works fine with 1.6 for features
which were also found in that version as well.  Enjoy...Tom<br>
<br>
    String searchDirectory = "/home/tsmorton/wordnet-1.6/dict"; //dict directory where wordnet is installed<br>
<br>
    PointerType.initialize();<br>
    Adjective.initialize();<br>
    VerbFrame.initialize();<br>
    Map suffixMap = new HashMap();<br>
    suffixMap.put(POS.NOUN,new String[][]
{{"s",""},{"ses","s"},{"xes","x"},{"zes","z"},{"ches","ch"},{"shes","sh"},{"men","man"},{"ies","y"}});<br>
    suffixMap.put(POS.VERB,new String[][]
{{"s",""},{"ies","y"},{"es","e"},{"es",""},{"ed","e"},{"ed",""},{"ing","e"},{"ing",""}});<br>
    suffixMap.put(POS.ADJECTIVE,new String[][] {{"er",""},{"est",""},{"er","e"},{"est","e"}});<br>
    DetachSuffixesOperation tokDso = new DetachSuffixesOperation(suffixMap);<br>
   
tokDso.addDelegate(DetachSuffixesOperation.OPERATIONS,new Operation[]
{new LookupIndexWordOperation(),new LookupExceptionsOperation()});<br>
    TokenizerOperation tokOp = new TokenizerOperation(new String[] {" ","-"});<br>
   
tokOp.addDelegate(TokenizerOperation.TOKEN_OPERATIONS,new Operation[]
{new LookupIndexWordOperation(),new
LookupExceptionsOperation(),tokDso});<br>
    DetachSuffixesOperation morphDso = new DetachSuffixesOperation(suffixMap);<br>
   
morphDso.addDelegate(DetachSuffixesOperation.OPERATIONS,new Operation[]
{new LookupIndexWordOperation(),new LookupExceptionsOperation()});<br>
    Operation[] operations = {new LookupExceptionsOperation(), morphDso , tokOp};<br>
    morphy = new DefaultMorphologicalProcessor(operations);<br>
    FileManager manager = new FileManagerImpl(searchDirectory,PrincetonRandomAccessDictionaryFile.class);<br>
    FileDictionaryElementFactory factory = new PrincetonWN17FileDictionaryElementFactory();<br>
    FileBackedDictionary.install(manager, morphy,factory,true);<br>
    dict = net.didion.jwnl.dictionary.Dictionary.getInstance();<br>
    morphy = dict.getMorphologicalProcessor();<br>
  }<br>
<br><br><div><span class="gmail_quote">On Apr 8, 2005 11:40 AM, <b class="gmail_sendername">Piao, Songlin</b> <<a href="mailto:s.piao@lancaster.ac.uk">s.piao@lancaster.ac.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I
am using JWNL (wordnet Java API), and found it is very convenient to
link/embed it into other tools (if you are using java). It is a bit
slower, but if the speed is not so vital for your work, particularly if
you do not check every word in large texts, it serves the purpose very
well.<br><br>For version JWNL 1.3, see <a href="http://sourceforge.net/projects/jwordnet/">http://sourceforge.net/projects/jwordnet/</a><br><br>Dr. Scott Songlin Piao<br>----------------------<br>UCREL<br>Computing Department<br>Lancaster Univesity<br>Lancaster LA1 4WA<br>UK<br><br>Tel: +44 1524 510345<br><br><br>-----Original Message-----<br>From: <a href="mailto:owner-corpora@lists.uib.no">owner-corpora@lists.uib.no</a> [mailto:<a href="mailto:owner-corpora@lists.uib.no">owner-corpora@lists.uib.no</a>]On<br>Behalf Of Grazia Russo-Lassner<br>Sent: 08 April 2005 15:52<br>To: <a href="mailto:corpora@uib.no">corpora@uib.no</a><br>Subject: [Corpora-List] java API to wordnet<br><br>Hello,<br><br>does any of you have any experience with a java API to WordNet ?<br><br>Could you please send me a pointer to it and maybe a brief description of<br>some of its characteristics (which database, speed, flexibility of API,<br>etc.) or any information about it that you think might be useful ?<br><br>Thank you very much in advance,<br><br>Grazia<br><br></blockquote></div><br>