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

class %iKnow.Stemming.Utils

This class contains utility methods to manage stemming disambiguation rules.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2


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.


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