Home > Class Reference > %SYS namespace > %iKnow.Stemming.Utils
Private  

%iKnow.Stemming.Utils

class %iKnow.Stemming.Utils

This class contains utility methods to manage stemming disambiguation rules.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1

Summary

Methods
AddException

Methods

classmethod AddException(pLanguage As %String, pValue As %String, pStem As %String, pRole As %Integer = $$$ENTTYPECONCEPT, pEntity As %String = "") as %Status
Adds an exception to override stemming behavior for a specific language. The rule applies when stemming tokens that are exactly equal to pValue in entities with role = pRole. If pEntity is supplied (advanced), the entity being stemmed should should contain this string before the rule will be enforced.