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.API.Ngrams.Tools

Description

 

Documentation

getRepo :: HasNodeStory env err m => [ListId] -> m NodeListStory #

repoSize :: Ord k1 => NodeStory (Map k1 (Map k2 a)) p -> NodeId -> Map k1 Int #

getTermsWith :: (HasNodeStory env err m, Eq a, Hashable a) => (NgramsTerm -> a) -> [ListId] -> NgramsType -> Set ListType -> m (HashMap a [a]) #

groupNodesByNgrams :: (Ord a, At root_map, Index root_map ~ NgramsTerm, IxValue root_map ~ Maybe RootTerm) => root_map -> HashMap NgramsTerm (Set a) -> HashMap NgramsTerm (Set a) #

newtype Diagonal #

Constructors

Diagonal Bool 

getCoocByNgrams' :: (Hashable a, Ord a, Ord c) => (b -> Set c) -> Diagonal -> HashMap a b -> HashMap (a, a) Int #

getCoocByNgrams'' :: (Hashable k, Ord k, Ord contexts) => Diagonal -> (contextA -> Set contexts, contextB -> Set contexts) -> (HashMap k contextA, HashMap k contextB) -> HashMap (k, k) Int #