IRISLIB database
Utils Class Reference

This class contains utility methods to manage stemming disambiguation rules. More...

Static Public Member Functions

_.Library.Status AddException (_.Library.String pLanguage, _.Library.String pValue, _.Library.String pStem, _.Library.Integer pRole, _.Library.String pEntity)
 Adds an exception to override stemming behavior for a specific language. More...
 

Detailed Description

This class contains utility methods to manage stemming disambiguation rules.

Member Function Documentation

◆ AddException()

_.Library.Status AddException ( _.Library.String  pLanguage,
_.Library.String  pValue,
_.Library.String  pStem,
_.Library.Integer  pRole,
_.Library.String  pEntity 
)
static

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.