This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see How to Migrate to InterSystems IRIS, available on the WRC Distributions page (login required).

%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

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

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
Feedback