%iKnow.Stemming.Configuration
Class %iKnow.Stemming.Configuration Extends %Persistent [ Abstract, Deprecated, System = 4 ]
This class encapsulates the configuration settings of a customized %iKnow.Stemmer object, as identified by a configuration name. Use GetStemmer to retrieve a saved stemmer configuration.
Look at the subclasses for actual stemmer-specific parameters.
Properties
Name
Property Name As %String(MAXLEN = 150) [ Required ];
Name of this stemmer configuration. Should be unique within the namespace
Methods
%OnNew
Method %OnNew(pName As %String) As %Status
GetStemmer
ClassMethod GetStemmer(pName As %String, Output pStemmer As %iKnow.Stemmer) As %Status [ Final ]
Instantiates a stemmer object based on the stemmer configuration saved with Name = pName. Alternatively, if pName is a colon-delimited list of which the first entry is a valid class name referring to a class that inherits from %iKnow.Stemmer, that class is instantiated, using the remaining elements of the list as arguments for its %New method.
CreateStemmerObject
Method CreateStemmerObject(Output pStemmer As %iKnow.Stemmer) As %Status [ Abstract ]
Instantiates a stemmer object based on the current object's configuration. (Does not need to be persisted)
NameIsValid
ClassMethod NameIsValid(pValue As %String) As %Status [ Private, ServerOnly = 1 ]