AffixUtility.RemoveSuffix Method

NetSpell.SpellChecker

NetSpell Documentation - v.2.1.7

AffixUtility.RemoveSuffix Method 

Removes the affix suffix rule entry for the word if valid

[Visual Basic]Public Shared Function RemoveSuffix( _
   ByVal word As String, _
   ByVal entry As AffixEntry _
) As String
[C#]
public static string RemoveSuffix(
   string word,
   AffixEntry entry
);

Parameters

word

The word to be modified

entry

The affix rule entry to use

Return Value

The word after affix removed. Will be the same word if affix could not be removed.

Remarks

This method does not verify that the returned word is a valid word, only that the affix can be removed

See Also

AffixUtility Class | NetSpell.SpellChecker.Dictionary.Affix Namespace