Add a set of related terms with associated weight and penalty.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Sub addEquivalenceClass( _ ByVal terms As String(), _ ByVal weight As Double, _ ByVal penalty As Double _ ) _ Implements INetricsCombinedThesaurus.addEquivalenceClass |
| C# |
|---|
| public void addEquivalenceClass( string[] terms, double weight, double penalty ) |
| C++ |
|---|
| public: void addEquivalenceClass( array<String>^ terms, double weight, double penalty ) sealed |
| J# |
|---|
| public void addEquivalenceClass( string[] terms, double weight, double penalty ) |
| JScript |
|---|
| public
function addEquivalenceClass( terms : String[], weight : double, penalty : double ) |
Parameters
- terms
- The terms for the class.
- weight
- The weight for all terms in the class.
- penalty
- The substitution penalty for terms in this class.