Home > Class Reference > ENSLIB namespace > %iKnow.Stemming.HunspellStemmer
Private  Storage   

%iKnow.Stemming.HunspellStemmer


Note: this stemmer only supports a single language as configured through its AffixFile and DictionaryFile properties.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 2


Summary


Properties
AffixFile DefaultLanguage DictionaryFile

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
Analyze Decompound GetByDomain GetCustom
GetDefault Load Reload Stem
StemAny


Properties


• property AffixFile as %String;
• property DictionaryFile as %String;

Methods


• method Analyze(pToken As %String, Output pAnalysis)
Parses hunspell analysis for pToken returns multidimensional array pAnalysis = [number of results] pAnalysis(n, xx) = [part of the result starting with "xx:" (such as st and fl)] pAnalysis(n, "#") = [everything after "#"]
• method Load()
Load the interface with the Affix and Dictionary file. Must be called before stemming can be performed