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

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

%iKnow.Stemming.Rule

persistent class %iKnow.Stemming.Rule extends %Library.Persistent

SQL Table Name: %iKnow_Stemming.Rule

Table to which custom disambiguation rules can be added to influence the default stemmer class (%iKnow.Stemming.DefaultStemmer). See also %iKnow.Stemming.Utils.

Property Inventory (Including Private)

Properties

property Entity as %String (MAXLEN = 200);
For advanced exceptions, this value should appear in the entity being stemmed for the rule to apply.
Property methods: EntityDisplayToLogical(), EntityGet(), EntityGetStored(), EntityIsValid(), EntityLogicalToDisplay(), EntityLogicalToOdbc(), EntityNormalize(), EntitySet()
property LanguageCode as %String (MAXLEN = 2) [ Required ];
Language for which this rules holds
Property methods: LanguageCodeDisplayToLogical(), LanguageCodeGet(), LanguageCodeGetStored(), LanguageCodeIsValid(), LanguageCodeLogicalToDisplay(), LanguageCodeLogicalToOdbc(), LanguageCodeNormalize(), LanguageCodeSet()
property Plugin as %String (VALUELIST = ",All,Hunspell") [ Required ];
The plugin to which this rule applies (use "All" for all plugin types)
Property methods: PluginDisplayToLogical(), PluginGet(), PluginGetStored(), PluginIsValid(), PluginLogicalToDisplay(), PluginLogicalToOdbc(), PluginNormalize(), PluginSet()
property Replace as %String (MAXLEN = 100) [ Required ];
For exceptions, what to replace Value with
Property methods: ReplaceDisplayToLogical(), ReplaceGet(), ReplaceGetStored(), ReplaceIsValid(), ReplaceLogicalToDisplay(), ReplaceLogicalToOdbc(), ReplaceNormalize(), ReplaceSet()
property Spec as %String (VALUELIST = ",Relation,Concept,NoRelation,NoConcept");
Specification of the rule, whether it applies (only) to concepts or relationships. When type=Exception: the role of the entity in which case the exception applies. When type'=Exception: whether tems satisfying this rule are Not-a-Concept or Not-a-Relation
Property methods: SpecDisplayToLogical(), SpecGet(), SpecGetStored(), SpecIsValid(), SpecLogicalToDisplay(), SpecLogicalToOdbc(), SpecNormalize(), SpecSet()
property Type as %String (VALUELIST = ",Exception,Ending,Affix") [ Required ];
Type of disambiguation rule
Property methods: TypeDisplayToLogical(), TypeGet(), TypeGetStored(), TypeIsValid(), TypeLogicalToDisplay(), TypeLogicalToOdbc(), TypeNormalize(), TypeSet()
property Value as %String (MAXLEN = 100) [ Required ];
Value of the exception or ending this rule represents
Property methods: ValueDisplayToLogical(), ValueGet(), ValueGetStored(), ValueIsValid(), ValueLogicalToDisplay(), ValueLogicalToOdbc(), ValueNormalize(), ValueSet()

Indices

index (IDKEY on ) [IdKey, Type = key];
Index methods: IDKEYCheck(), IDKEYDelete(), IDKEYExists(), IDKEYOpen(), IDKEYSQLCheckUnique(), IDKEYSQLExists(), IDKEYSQLFindPKeyByConstraint(), IDKEYSQLFindRowIDByConstraint()

Inherited Members

Inherited Methods (Including Private)

Storage

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

^ISC.IS.StemmingRuleD(ID)
=
%%CLASSNAME
Type
Plugin
Spec
Value
Language
LanguageCode
Replace
Entity
Feedback