Copyright | (c) CNRS 2017 - present |
---|---|
License | AGPL + CECILL v3 |
Maintainer | team@gargantext.org |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Mainly reexport functions in Data.Text.Metrics
Synopsis
- type MapListSize = Int
- type InclusionSize = Int
- scored :: Ord t => HashMap (t, t) Int -> Vector (Scored t)
- data Scored ts = Scored {
- _scored_terms :: !ts
- _scored_genInc :: !GenericityInclusion
- _scored_speExc :: !SpecificityExclusion
- localMetrics' :: Ord t => Map (t, t) Int -> Map t (Vector Double)
- scored' :: Ord t => Map (t, t) Int -> [Scored t]
- normalizeGlobal :: [Scored a] -> [Scored a]
- normalizeLocal :: Scored a -> Scored a
- scored_terms :: forall ts ts. Lens (Scored ts) (Scored ts) ts ts
- scored_speExc :: forall ts. Lens' (Scored ts) SpecificityExclusion
- scored_genInc :: forall ts. Lens' (Scored ts) GenericityInclusion
Documentation
type MapListSize = Int #
type InclusionSize = Int #
Scored | |
|
normalizeGlobal :: [Scored a] -> [Scored a] #
normalizeLocal :: Scored a -> Scored a #
scored_terms :: forall ts ts. Lens (Scored ts) (Scored ts) ts ts #
Type Instances
scored_speExc :: forall ts. Lens' (Scored ts) SpecificityExclusion #
scored_genInc :: forall ts. Lens' (Scored ts) GenericityInclusion #