Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [%SYS] >  [%iKnow] >  [Stemming] >  [Rule]
Private  Storage   

persistent class %iKnow.Stemming.Rule extends %Persistent

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

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
7


Summary

Properties
Entity LanguageCode Plugin Replace Spec
Type Value

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject


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 LanguageCode as %String(MAXLEN=2) [ Required ];
Language for which this rules holds
• property Plugin as %String(VALUELIST=",All,Hunspell") [ Required ];
The plugin to which this rule applies (use "All" for all plugin types)
• property Replace as %String(MAXLEN=100) [ Required ];
For exceptions, what to replace Value with
• 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 Type as %String(VALUELIST=",Exception,Ending,Affix") [ Required ];
Type of disambiguation rule
• property Value as %String(MAXLEN=100) [ Required ];
Value of the exception or ending this rule represents


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