struct FuzzyMatch::Match

Overview

One result of extract: the matching choice, its score and its index in the list of choices it came from.

Defined in:

fuzzy_match/extract.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(choice : String, score : Float64, index : Int32) #

[View source]

Instance Method Detail

def choice : String #

def clone #

[View source]
def copy_with(choice _choice = @choice, score _score = @score, index _index = @index) #

[View source]
def index : Int32 #

def score : Float64 #