ibi Patterns .NET API
Loading...
Searching...
No Matches
NetricsServerInterface.NetricsBaseThesaurus Class Reference

This is the base class for all of the thesaurus types. It should never be used directly. More...

Public Member Functions

void  setCharmap (String name)
  Specifies the character map used to translate thesaurus entries.
 
void  setExactMatchMode ()
  Select exact match mode.
 

Detailed Description

This is the base class for all of the thesaurus types. It should never be used directly.

See also
NetricsThesaurus, NetricsWeightedDictionary, NetricsCombinedThesaurus, NetricsServerInterface.thcreate

Member Function Documentation

◆ setCharmap()

void NetricsServerInterface.NetricsBaseThesaurus.setCharmap ( String  name )
inline

Specifies the character map used to translate thesaurus entries.

If not specified the standard character map for data base tables is used.

Parameters
name The string name of an existing character map.

◆ setExactMatchMode()

void NetricsServerInterface.NetricsBaseThesaurus.setExactMatchMode ( )
inline

Select exact match mode.

Calling this method sets the match mode to exact matching. By default the match mode is set to inexact match mode. When in exact match mode terms must match exactly (after the character map is applied) for the thesaurus match and any associated weighting or penalty to be applied. In the default inexact mode a match will be applied even if the term in the query or record is slightly different than the term in the thesaurus. The amount of difference allowed between the thesaurus term and the term in the query or record is determined by the length of the term, short terms must match exactly, longer terms allow one or two character differences.

Exact mode by be appropriate when there are terms in the thesaurus that are very similar but must not be confused.