class %iKnow.Stemming.UtilsThis class contains utility methods to manage stemming disambiguation rules.
Method Inventory (Including Private)
Methods (Including Private)
classmethod AddException(pLanguage As %String, pValue As %String, pStem As %String, pRole As %Integer = $$$ENTTYPECONCEPT, pEntity As %String = "") as %Status [ Language = objectscript ]
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.