gargantext-0.0.4.9.5: Search, map, share
Copyright(c) CNRS 2017 - present
LicenseAGPL + CECILL v3
Maintainerteam@gargantext.org
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
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) Source #

data Scored ts Source #

Constructors

Scored 

Fields

Instances

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

Defined in Gargantext.Core.Text.Metrics

Methods

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

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

Ord ts => Ord (Scored ts) Source # 
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 #

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

Defined in Gargantext.Core.Text.Metrics

Methods

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

show :: Scored ts -> String #

showList :: [Scored ts] -> ShowS #

Semigroup a => Semigroup (Scored a) Source # 
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 #

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

Defined in Gargantext.Core.Text.Metrics

Methods

mempty :: Scored a #

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

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

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

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

scored_terms :: forall ts ts. Lens (Scored ts) (Scored ts) ts ts Source #

Type Instances

scored_speExc :: forall ts. Lens' (Scored ts) SpecificityExclusion Source #

scored_genInc :: forall ts. Lens' (Scored ts) GenericityInclusion Source #