Google Answers Logo
View Question
 
Q: WordNet API in C# GetDefinition(string word, int miscdef) ( No Answer,   0 Comments )
Question  
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;
}
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

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 Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy