Create an empty Weighted Dictionary.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New( _ ByVal name As String _ ) |
C# |
---|
public NetricsWeightedDictionary( string name ) |
C++ |
---|
public: NetricsWeightedDictionary( String name ) sealed |
J# |
---|
public NetricsWeightedDictionary( string name ) |
JScript |
---|
public function NetricsWeightedDictionary( name : String ) |
Parameters
- name
- The name of the weighted dictionary to be created.
Remarks
A weighted dictionary is used to weight terms which should have more or less relevance than other terms. For instance, in a company names table, the term "company" might be given less weight as it is less indicative of a match (i.e. it is shared by many company names that are unrelated).
This constructor creates an empty Weighted Dictionary (one with no equivalence classes defined) with the given name. Equivalence classes must be added using the addEquivalenceClass or addClassesFrom methods.