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.Viz.Phylo.PhyloExport

Description

 
Synopsis

Documentation

dotToFile :: FilePath -> DotGraph DotId -> IO () #

Dot export | --

toDotEdge' :: DotId -> DotId -> [Char] -> [Char] -> EdgeType -> Dot DotId #

conditional :: Ord a => Map (a, a) Double -> a -> a -> Double #

Metrics | --

Return the conditional probability of i knowing j

genericity :: Map (Int, Int) Double -> [Int] -> Int -> Double #

Return the genericity score of a given ngram

specificity :: Map (Int, Int) Double -> [Int] -> Int -> Double #

Return the specificity score of a given ngram

inclusion :: Map (Int, Int) Double -> [Int] -> Int -> Double #

Return the inclusion score of a given ngram

nk :: Int -> [[Int]] -> Int #

Taggers | --

tf :: Int -> [[Int]] -> Double #

idf :: Int -> [[Int]] -> Double #

findTfIdf :: [[Int]] -> [(Int, Double)] #

getNthMostMeta :: Int -> [Double] -> [Int] -> [Int] #

toDynamics :: FdtId -> [PhyloGroup] -> PhyloGroup -> Map FdtId (Date, Date) -> Double #

Dynamics | --

type FdtId = Int #

getGroupThr :: Double -> PhyloGroup -> Double #

horizon | --

toPhyloExport :: Phylo -> DotGraph DotId #

phyloExport | --