hidden deprecatedclass %iKnow.Stemming.HunspellStemmer
extends %iKnow.Stemmer
Note: this stemmer only supports a single language as configured through its
AffixFile and DictionaryFile properties.
property AffixFile
as %String;
property DictionaryFile
as %String;
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