예제 #1
0
 public FuzzyMatcher(IEnumerable <string> candidates,
                     ScoreWeights definition, decimal threshold = ScoreWeights.DefaultScore)
 {
     _candidates = candidates.ToArray();
     _definition = definition;
     _threshold  = threshold;
 }
예제 #2
0
 public FuzzyMatcher(IEnumerable <string> candidates)
 {
     _candidates = candidates.ToArray();
     _definition = new ScoreWeights();
 }