Copyright | (c) CNRS 2017-Present |
---|---|
License | AGPL + CECILL v3 |
Maintainer | team@gargantext.org |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
type RootTerm = NgramsTerm #
getRepo :: HasNodeStory env err m => [ListId] -> m NodeListStory #
getNodeStory :: HasNodeStory env err m => ListId -> m ArchiveList #
getNodeListStory :: HasNodeStory env err m => m (NodeId -> IO ArchiveList) #
getNodeListStoryMulti :: HasNodeStory env err m => m ([NodeId] -> IO NodeListStory) #
listNgramsFromRepo :: [ListId] -> NgramsType -> NodeListStory -> HashMap NgramsTerm NgramsRepoElement #
getListNgrams :: HasNodeStory env err m => [ListId] -> NgramsType -> m (HashMap NgramsTerm NgramsRepoElement) #
getTermsWith :: (HasNodeStory env err m, Eq a, Hashable a) => (NgramsTerm -> a) -> [ListId] -> NgramsType -> Set ListType -> m (HashMap a [a]) #
mapTermListRoot :: [ListId] -> NgramsType -> NodeListStory -> HashMap NgramsTerm (ListType, Maybe NgramsTerm) #
filterListWithRootHashMap :: ListType -> HashMap NgramsTerm (ListType, Maybe NgramsTerm) -> HashMap NgramsTerm (Maybe RootTerm) #
filterListWithRoot :: [ListType] -> HashMap NgramsTerm (ListType, Maybe NgramsTerm) -> HashMap NgramsTerm (Maybe RootTerm) #
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) #
getCoocByNgrams :: Diagonal -> HashMap NgramsTerm (Set NodeId) -> HashMap (NgramsTerm, NgramsTerm) Int #