Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BlockDistance"/> class, using the tokenizer specified.
 /// </summary>
 /// <param name="tokenizerToUse">The tokenizer to use for parsing the input.</param>
 public BlockDistance(ITokenizer tokenizerToUse)
 {
     this.estimatedTimingConstant = 6.4457140979357064E-05;
     this.tokenizer    = tokenizerToUse;
     this.tokenUtility = new TokenizerUtility <string>();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CosineSimilarity"/> class, using the tokenizer specified.
 /// </summary>
 /// <param name="tokenizerToUse">The tokenizer to use for parsing the input.</param>
 public CosineSimilarity(ITokenizer tokenizerToUse)
 {
     this.estimatedTimingConstant = 3.8337140040312079E-07;
     this.tokenizer    = tokenizerToUse;
     this.tokenUtility = new TokenizerUtility <string>();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MatchingCoefficient"/> class, using the tokenizer specified.
 /// </summary>
 /// <param name="tokenizerToUse">The tokenizer to use.</param>
 public MatchingCoefficient(ITokenizer tokenizerToUse)
 {
     this.estimatedTimingConstant = 0.00019999999494757503;
     this.tokenizer    = tokenizerToUse;
     this.tokenUtility = new TokenizerUtility <string>();
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OverlapCoefficient"/> class, using the tokenizer specified.
 /// </summary>
 /// <param name="tokenizerToUse">The tokenizer to use.</param>
 public OverlapCoefficient(ITokenizer tokenizerToUse)
 {
     this.estimatedTimingConstant = 0.00014000000373926014;
     this.tokenizer    = tokenizerToUse;
     this.tokenUtility = new TokenizerUtility <string>();
 }
Example #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DiceSimilarity"/> class, using the tokenizer specified.
 /// </summary>
 /// <param name="tokenizerToUse">The tokenizer to use for parsing the input.</param>
 public DiceSimilarity(ITokenizer tokenizerToUse)
 {
     this.estimatedTimingConstant = 3.4457139008736704E-07;
     this.tokenizer    = tokenizerToUse;
     this.tokenUtility = new TokenizerUtility <string>();
 }
Example #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="JaccardSimilarity"/> class.
 /// </summary>
 /// <param name="tokenizerToUse">The tokenizer to use for parsing the input.</param>
 public JaccardSimilarity(ITokenizer tokenizerToUse)
 {
     this.estimatedTimingConstant = 0.00014000000373926014;
     this.tokenizer    = tokenizerToUse;
     this.tokenUtility = new TokenizerUtility <string>();
 }
Example #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EuclideanDistance"/> class, using the tokenizer specified.
 /// </summary>
 /// <param name="tokenizerToUse">The tokenizer to use for parsing the input.</param>
 public EuclideanDistance(ITokenizer tokenizerToUse)
 {
     this.estimatedTimingConstant = 7.4457137088757008E-05;
     this.tokenizer    = tokenizerToUse;
     this.tokenUtility = new TokenizerUtility <string>();
 }
Example #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="QGramsDistance"/> class.
 /// </summary>
 /// <param name="tokenizerToUse">The tokenizer to use for parsing the input.</param>
 public QGramsDistance(ITokenizer tokenizerToUse)
 {
     this.estimatedTimingConstant = 0.0001340000017080456;
     this.tokenizer    = tokenizerToUse;
     this.tokenUtility = new TokenizerUtility <string>();
 }