%iKnow.Stemming.Utils
Class %iKnow.Stemming.Utils [ Deprecated, System = 4 ]
This class contains utility methods to manage stemming disambiguation rules.
Methods
AddException
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.
LoadDefaultRulesCSV
ClassMethod LoadDefaultRulesCSV(pPath As %String) As %Status [ Internal ]
Loads default stemming disambiguation rules from the KB files