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.HunspellConfig

%iKnow.Stemming.HunspellConfig

persistent class %iKnow.Stemming.HunspellConfig extends %iKnow.Stemming.Configuration

SQL Table Name: %iKnow_Stemming.HunspellConfig

This class represents a stemmer configuration using the Hunspell plugin directly. Unless you want to specify a non-default Hunspell library explicitly, use the default stemming configuration ("DEFAULT"). See %iKnow.Stemming.DefaultStemmer.

Property Inventory (Including Private)

Method Inventory (Including Private)

Properties (Including Private)

property AffixFile as %String (MAXLEN = 2000) [ Required ];
Full path to the Hunspell affix file (.aff)
Property methods: AffixFileDisplayToLogical(), AffixFileGet(), AffixFileGetStored(), AffixFileIsValid(), AffixFileLogicalToDisplay(), AffixFileLogicalToOdbc(), AffixFileNormalize(), AffixFileSet()
property DictionaryFile as %String (MAXLEN = 2000) [ Required ];
Full path to the Hunspell dictionary file (.dic)
Property methods: DictionaryFileDisplayToLogical(), DictionaryFileGet(), DictionaryFileGetStored(), DictionaryFileIsValid(), DictionaryFileLogicalToDisplay(), DictionaryFileLogicalToOdbc(), DictionaryFileNormalize(), DictionaryFileSet()

Methods (Including Private)

method CreateStemmerObject(Output pStemmer As %iKnow.Stemmer) as %Status
Inherited description: Instantiates a stemmer object based on the current object's configuration. (Does not need to be persisted)

Inherited Members

Inherited Properties (Including Private)

Inherited Methods (Including Private)

Storage

Gray indicates storage defined by superclasses.

Storage Model: CacheStorage (%iKnow.Stemming.Configuration)

^ISC.IK.Sys.StemmerConfigD(ID)
=
%%CLASSNAME
Name

Storage Model: CacheStorage (%iKnow.Stemming.HunspellConfig)

^ISC.IK.Sys.StemmerConfigD(ID,"StemmerConfig")
=
AffixFile
DictionaryFile