%iKnow.Stemming.HunspellStemmer
hidden class %iKnow.Stemming.HunspellStemmer extends %iKnow.Stemmer
Note: this stemmer only supports a single language as configured through its AffixFile and DictionaryFile properties.Property Inventory
Method Inventory
Properties
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
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
Inherited 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()
- Decompound()
- GetByDomain()
- GetCustom()
- GetDefault()
- Reload()
- Stem()
- StemAny()