class SimString::Measure
Public Instance Methods
max_feature_size(db, query_size, alpha)
click to toggle source
query_size is an int alpha is a double
# File lib/simstring_pure.rb, line 47 def max_feature_size(db, query_size, alpha) raise "Not implemented." end
min_feature_size(db, query_size, alpha)
click to toggle source
query_size is an int alpha is a double
# File lib/simstring_pure.rb, line 41 def min_feature_size(db, query_size, alpha) raise "Not implemented." end
minimum_common_feature_count(query_size, y_size, alpha)
click to toggle source
This method returns tau, the number of of features that two strings, x and y, must have in common in order for their similarity coefficient to be greater than or equal to alpha. Parameters:
query_size is an int - the number of features in x y_size is an int - the number of features in y alpha is a double - the similarity threshold
# File lib/simstring_pure.rb, line 57 def minimum_common_feature_count(query_size, y_size, alpha) raise "Not implemented." end
similarity(x_feature_set, y_feature_set)
click to toggle source
# File lib/simstring_pure.rb, line 61 def similarity(x_feature_set, y_feature_set) raise "Not implemented." end