StemWord Method

Stot

Stot

Semanter..::..StemWord Method

The Stemmer class transforms a word into its root form. Implementing the Porter Stemming Algorithm

Namespace:  Engine
Assembly:  Engine (in Engine.dll)

Syntax


public string StemWord(
	string word
)
Public Function StemWord ( _
	word As String _
) As String
public:
String^ StemWord(
	String^ word
)

Parameters

word
Type: String
Word to evaluate

Return Value

Remarks


Modified from: http://tartarus.org/martin/PorterStemmer/csharp2.txt

Examples


var stemmer = new PorterStemmer(); var stem = stemmer.StemWord(word);