예제 #1
0
 /// <summary>
 /// constructor taking a tokeniser and  string metric to use
 /// </summary>
 /// <param name="tokeniserToUse">the tokeniser to use should a different tokeniser be required</param>
 /// <param name="metricToUse">the string metric to use</param>
 public MongeElkan(ITokeniser tokeniserToUse, AbstractStringMetric metricToUse) {
     tokeniser = tokeniserToUse;
     internalStringMetric = metricToUse;
 }
예제 #2
0
 /// <summary>
 /// constructor taking metric to use
 /// </summary>
 /// <param name="metricToUse">the string metric to use</param>
 public MongeElkan(AbstractStringMetric metricToUse) {
     tokeniser = new TokeniserWhitespace();
     internalStringMetric = metricToUse;
 }