Skip to main content

%iKnow.Stemming.Utils

class %iKnow.Stemming.Utils

This class contains utility methods to manage stemming disambiguation rules.

Method Inventory

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.
FeedbackOpens in a new tab