Ejemplo n.º 1
0
 public SoftTfIdf(TokenStatistics tokenStatistics, ITokenDistance distance, double tokenMatchThreshold, bool alwaysCompareLongerToShorter)
 {
     _tokenStatistics = tokenStatistics;
     _tokenMatchThreshold = tokenMatchThreshold;
     _alwaysCompareLongerToShorter = alwaysCompareLongerToShorter;
     _distance = distance;
 }
Ejemplo n.º 2
0
 public SoftTfIdf(TokenStatistics tokenStatistics, ITokenDistance distance, double tokenMatchThreshold)
     : this(tokenStatistics, distance, tokenMatchThreshold, false)
 {
 }
Ejemplo n.º 3
0
 public SoftTfIdf(TokenStatistics tokenStatistics, ITokenDistance distance)
     : this(tokenStatistics, distance, DefaultTokenMatchThreshold, false)
 {
 }
Ejemplo n.º 4
0
 public SoftTfIdf(TokenStatistics tokenStatistics, ITokenDistance distance, bool alwaysCompareLongerToShorter)
     : this(tokenStatistics, distance, DefaultTokenMatchThreshold, alwaysCompareLongerToShorter)
 {
 }
Ejemplo n.º 5
0
 public DistanceOnlySimilarity(ITokenDistance distance)
 {
     _distance = distance;
 }