struct Similarity::Signature

Overview

A MinHash signature for a document

Defined in:

similarity.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_json(json : JSON::PullParser) : self #

[View source]
def self.new(post_link : String, post_title : String, hash_values : Array(Int32), post_base : String) #

[View source]

Instance Method Detail

def hash_values : Array(Int32) #

[View source]
def hash_values=(hash_values : Array(Int32)) #

[View source]
def post_base : String #

[View source]
def post_base=(post_base : String) #

[View source]
def post_link : String #

[View source]
def post_link=(post_link : String) #

[View source]
def post_title : String #

[View source]
def post_title=(post_title : String) #

[View source]
def to_json(json : JSON::Builder) #

[View source]