def ranked_search(query_string, alpha, measure = @measure)
      feature_set = @feature_extractor.features(query_string)
      search(query_string, alpha, measure).map do |matching_string|
        Match.new(matching_string, measure.similarity(feature_set, @feature_extractor.features(matching_string)))
      end.sort_by {|match| -match.score }
    end
def ranked_search(query_string, alpha, measure = @measure)
      feature_set = @feature_extractor.features(query_string)
      search(query_string, alpha, measure).map do |matching_string|
        Match.new(matching_string, measure.similarity(feature_set, @feature_extractor.features(matching_string)))
      end.sort_by {|match| -match.score }
    end
Same as #search, except returns an array of Match objects indicating both the matched string(s) and their corresponding similarity scores.
 Example:
   matcher.ranked_search("Fooo", 0.5)
   => [#<struct Match value="Foo", score=0.9128709291752769>,
       <struct Match value="Food", score=0.5>,
       <struct Match value="Foot", score=0.5>]