The attached code works for .NET 3.5 c# under winforms. Note the dictionaries can be downloaded from Wordnet application at [url removed, login to view] and copied from the hard drive.
The code must be converted to run online using .NET 1.1 C# on a webserver (ASP.NET).
The code just returns a word type for a word.
Since many API services go down, I would prefer the dictionaries to be stored locally on my web server and used there.
Please ask me any queries.