You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the Jaccard similarity function which, given two strings s and t, and given a Tokenizer instance tokens, returns the jaccard similarity between tokens(s) and tokens(t).
Here a tokenizer is a function which transforms a string into a set (or a multiset). The Jaccard similarity between two sets A and B is defined as |A and B|/|A or B|
The text was updated successfully, but these errors were encountered:
Implement the Jaccard similarity function which, given two strings
s
andt
, and given a Tokenizer instancetokens
, returns the jaccard similarity betweentokens(s)
andtokens(t)
.Here a tokenizer is a function which transforms a string into a set (or a multiset). The Jaccard similarity between two sets A and B is defined as |A and B|/|A or B|
The text was updated successfully, but these errors were encountered: