Similarity
Class methods
Calculate MinHash signature for a given text
The signature is an array of minimum hash values across all n-rams in the document, one for each hash function
Create MinHash signature for a post
Create tasks to calculate and store signatures for all posts
Get all signatures from the kv store with caching
Retrieve a post's signature from the kv store
Calculate Jaccard similarity between two MinHash signatures
Returns a value between 0.0 (no similarity) and 1.0 (identical)
ngram_size
SourceStore the index of all post links
Store a post's signature in the kv store