gargantext-0.0.7.1.5.3: Search, map, share
Copyright(c) CNRS 2017 - present
LicenseAGPL + CECILL v3
Maintainerteam@gargantext.org
Stabilityexperimental
PortabilityPOSIX
Safe HaskellSafe-Inferred
LanguageHaskell2010

Gargantext.Core.Text.Metrics

Description

Mainly reexport functions in Data.Text.Metrics

Synopsis

Documentation

scored :: Ord t => HashMap (t, t) Int -> Vector (Scored t) #

data Scored ts #

Constructors

Scored 

Fields

Instances

Instances details
Monoid a => Monoid (Scored a) # 
Instance details

Defined in Gargantext.Core.Text.Metrics

Methods

mempty :: Scored a #

mappend :: Scored a -> Scored a -> Scored a #

mconcat :: [Scored a] -> Scored a #

Semigroup a => Semigroup (Scored a) # 
Instance details

Defined in Gargantext.Core.Text.Metrics

Methods

(<>) :: Scored a -> Scored a -> Scored a #

sconcat :: NonEmpty (Scored a) -> Scored a #

stimes :: Integral b => b -> Scored a -> Scored a #

Show ts => Show (Scored ts) # 
Instance details

Defined in Gargantext.Core.Text.Metrics

Methods

showsPrec :: Int -> Scored ts -> ShowS #

show :: Scored ts -> String #

showList :: [Scored ts] -> ShowS #

Eq ts => Eq (Scored ts) # 
Instance details

Defined in Gargantext.Core.Text.Metrics

Methods

(==) :: Scored ts -> Scored ts -> Bool #

(/=) :: Scored ts -> Scored ts -> Bool #

Ord ts => Ord (Scored ts) # 
Instance details

Defined in Gargantext.Core.Text.Metrics

Methods

compare :: Scored ts -> Scored ts -> Ordering #

(<) :: Scored ts -> Scored ts -> Bool #

(<=) :: Scored ts -> Scored ts -> Bool #

(>) :: Scored ts -> Scored ts -> Bool #

(>=) :: Scored ts -> Scored ts -> Bool #

max :: Scored ts -> Scored ts -> Scored ts #

min :: Scored ts -> Scored ts -> Scored ts #

localMetrics' :: Ord t => Map (t, t) Int -> Map t (Vector Double) #

scored' :: Ord t => Map (t, t) Int -> [Scored t] #

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 #