RSS

Experiment with WordNet.Net (III)

10 Feb

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

TestWordStem.png

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

Advertisements
 
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:

WordPress.com Logo

You are commenting using your WordPress.com 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: