|
|
Subject:
WordNet API in C# GetDefinition(string word, int miscdef)
Category: Computers > Programming Asked by: coed_codingjunky-ga List Price: $40.00 |
Posted:
27 Jul 2006 11:25 PDT
Expires: 27 Jul 2006 22:15 PDT Question ID: 750143 |
Hello, I need help writing a method that gets a definition from WordNet (wordnet.princeton.edu/). I am using this library: WordNet.Net http://www.ebswift.com Right now I have something like the below code but I can't figure out how to obtain a definition using that library OR can you recommend a better WordNet COM or C# API thanks! using Wnlib; public static string GetDefinition(string word, int misc_pos) { string wordDef = ""; //WordNetClasses.WN wordnet = new WN(WordNetDir); //Init Wnlib.WNCommon.path = @"C:\Program Files\WordNet\2.1\dict\"; // perform a part-of-speech lookup using the Lexicon WnLexicon.WordInfo wordinfo = WnLexicon.Lexicon.FindWordInfo(word, true ); return wordDef; } |
|
There is no answer at this time. |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |