This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > %SYS namespace > %iKnow.Stemming.HunspellStemmer


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

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property AffixFile as %String;
Property methods: AffixFileDisplayToLogical(), AffixFileGet(), AffixFileIsValid(), AffixFileLogicalToDisplay(), AffixFileLogicalToOdbc(), AffixFileNormalize(), AffixFileSet()
property DictionaryFile as %String;
Property methods: DictionaryFileDisplayToLogical(), DictionaryFileGet(), DictionaryFileIsValid(), DictionaryFileLogicalToDisplay(), DictionaryFileLogicalToOdbc(), DictionaryFileNormalize(), DictionaryFileSet()

Methods (Including Private)

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

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)