vsm :: IndexMatch :: defaultinit
# A match to a `request` in an `Index`
class IndexMatch[DOC: Document]
super Comparable
# Document matching the `request_vector`
var document: DOC
# Similarity between the `request` and the `doc`.
#
# Result is in the range 0.0 .. 1.1 where 0.0 means no similarity and 1.0
# means perfect similarity.
var similarity: Float
redef fun to_s do return "{document} ({similarity})"
end
lib/vsm/vsm.nit:375,1--389,3