Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MongeElkan"/> class, using the tokenizer specified.
 /// </summary>
 /// <param name="tokenizerToUse">The tokenizer to use.</param>
 /// <remarks>
 /// The default string metric algorithm used is <see cref="SmithWatermanGotoh"/>.
 /// </remarks>
 public MongeElkan(ITokenizer tokenizerToUse)
 {
     this.estimatedTimingConstant = 0.034400001168251038;
     this.tokenizer            = tokenizerToUse;
     this.internalStringMetric = new SmithWatermanGotoh();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MongeElkan"/> class, using the parameters specified.
 /// </summary>
 /// <param name="tokenizerToUse">The tokenizer to use.</param>
 /// <param name="metricToUse">The meta string metric to use.</param>
 public MongeElkan(ITokenizer tokenizerToUse, AbstractStringMetric metricToUse)
 {
     this.estimatedTimingConstant = 0.034400001168251038;
     this.tokenizer            = tokenizerToUse;
     this.internalStringMetric = metricToUse;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MongeElkan"/> class, using the string metric algorithm specified.
 /// </summary>
 /// <param name="metricToUse">The meta string metric to use.</param>
 /// <remarks>
 /// The default tokenizer is the <see cref="TokenizerWhitespace"/>.
 /// </remarks>
 public MongeElkan(AbstractStringMetric metricToUse)
 {
     this.estimatedTimingConstant = 0.034400001168251038;
     this.tokenizer            = new TokenizerWhitespace();
     this.internalStringMetric = metricToUse;
 }