packages feed

nlp-scores 0.2.3 → 0.3.0

raw patch · 2 files changed

+3/−1 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ NLP.Scores: counts :: (Ord a, Ord b) => [(a, b)] -> Counts a b

Files

NLP/Scores.hs view
@@ -22,6 +22,7 @@       -- * Auxiliary types and functions     , Count     , Counts+    , counts     , sum     , mean     , jaccard@@ -141,6 +142,7 @@           logn = logBase 2 n           f nx = nx / n * (logBase 2 nx - logn) +-- | Creates count table 'Counts' counts :: (Ord a, Ord b) => [(a,b)] -> Counts a b counts xys = foldl' f empty xys     where f cs@(Counts cxy cx cy) (!x,!y) = 
nlp-scores.cabal view
@@ -7,7 +7,7 @@ -- The package version. See the Haskell package versioning policy -- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for -- standards guiding when and how versions should be incremented.-Version:             0.2.3+Version:             0.3.0  -- A short (one-line) description of the package. Synopsis:            Scoring functions commonly used for evaluation in NLP and IR