Class Reference
%iKnow.Stemming.HunspellStemmer
Server:appadmin-00044-deployment-6bf4cbc86d-9f4xc
Instance:IRIS
User:SuperUser
 
-
  [USER] >  [%iKnow] >  [Stemming] >  [HunspellStemmer]
Private  Storage

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

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
3 5


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


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.