Experiment with WordNet.Net (III)

10 Feb

To get the stem of a word, use the following code snippet:


The following call

List<string> Results = NLPHelper.GetWordStem(“Added”, PartsOfSpeech.Verb); //Add
List<string> Results = NLPHelper.GetWordStem(“Adding”, PartsOfSpeech.Verb); //Add
List<string> Results = NLPHelper.GetWordStem(“Adds”, PartsOfSpeech.Verb); //Add
List<string> Results = NLPHelper.GetWordStem(“Add”, PartsOfSpeech.Verb); //null

List<string> Results = NLPHelper.GetWordStem(“Adds”, PartsOfSpeech.Noun); //Add
List<string> Results = NLPHelper.GetWordStem(“Add”, PartsOfSpeech.Noun); //null
List<string> Results = NLPHelper.GetWordStem(“Children”, PartsOfSpeech.Noun); //Child
List<string> Results = NLPHelper.GetWordStem(“formulae”, PartsOfSpeech.Noun); //formular

Leave a comment

Posted by on February 10, 2009 in WordNet.Net


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: