Created
June 30, 2013 02:34
-
-
Save tatac1/5893560 to your computer and use it in GitHub Desktop.
Tanimoto coefficient
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Tanimoto where | |
import NLP.Scores | |
import Data.Set | |
a = fromAscList ['b','c','d','e'] | |
i = fromAscList ['b','c','d'] | |
main = do | |
jaccard a i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment