Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data CorpusParser
- = Wos {
- _wos_limit :: Int
- | Csv {
- _csv_limit :: Int
- | Csv' {
- _csv'_limit :: Int
- = Wos {
- data ListParser
- data SeaElevation
- = Constante {
- _cons_start :: Double
- _cons_gap :: Double
- | Adaptative { }
- | Evolving { }
- = Constante {
- data PhyloSimilarity
- = WeightedLogJaccard { }
- | WeightedLogSim { }
- | Hamming { }
- data SynchronyScope
- data SynchronyStrategy
- data Synchrony
- data TimeUnit
- data MaxCliqueFilter
- data Cluster
- data Quality = Quality {}
- data PhyloConfig = PhyloConfig {
- corpusPath :: FilePath
- listPath :: FilePath
- outputPath :: FilePath
- corpusParser :: CorpusParser
- listParser :: ListParser
- phyloName :: Text
- phyloScale :: Int
- similarity :: PhyloSimilarity
- seaElevation :: SeaElevation
- defaultMode :: Bool
- findAncestors :: Bool
- phyloSynchrony :: Synchrony
- phyloQuality :: Quality
- timeUnit :: TimeUnit
- clique :: Cluster
- exportLabel :: [PhyloLabel]
- exportSort :: Sort
- exportFilter :: [Filter]
- data PhyloSubConfigAPI = PhyloSubConfigAPI {}
- subConfigAPI2config :: PhyloSubConfigAPI -> PhyloConfig
- defaultConfig :: PhyloConfig
- data Software = Software {}
- defaultSoftware :: Software
- data PhyloParam = PhyloParam {}
- defaultPhyloParam :: PhyloParam
- type Date = Int
- type DateStr = Text
- type Ngrams = Text
- data Document = Document {}
- data PhyloFoundations = PhyloFoundations {}
- data PhyloCounts = PhyloCounts {}
- data PhyloSources = PhyloSources {}
- type Cooc = Map (Int, Int) Double
- type Period = (Date, Date)
- type PeriodStr = (DateStr, DateStr)
- data Phylo = Phylo {}
- data PhyloPeriod = PhyloPeriod {}
- type Scale = Int
- type PhyloScaleId = (Period, Scale)
- data PhyloScale = PhyloScale {}
- type PhyloGroupId = (PhyloScaleId, Int)
- type PhyloBranchId = (Scale, [Int])
- data PhyloGroup = PhyloGroup {
- _phylo_groupPeriod :: Period
- _phylo_groupPeriod' :: (Text, Text)
- _phylo_groupScale :: Scale
- _phylo_groupIndex :: Int
- _phylo_groupLabel :: Text
- _phylo_groupSupport :: Support
- _phylo_groupWeight :: Maybe Double
- _phylo_groupSources :: [Int]
- _phylo_groupNgrams :: [Int]
- _phylo_groupCooc :: !Cooc
- _phylo_groupDensity :: Double
- _phylo_groupBranchId :: PhyloBranchId
- _phylo_groupMeta :: Map Text [Double]
- _phylo_groupRootsCount :: Map Int Double
- _phylo_groupScaleParents :: [Pointer]
- _phylo_groupScaleChilds :: [Pointer]
- _phylo_groupPeriodParents :: [Pointer]
- _phylo_groupPeriodChilds :: [Pointer]
- _phylo_groupAncestors :: [Pointer]
- _phylo_groupPeriodMemoryParents :: [Pointer']
- _phylo_groupPeriodMemoryChilds :: [Pointer']
- type Weight = Double
- type Thr = Double
- type Pointer = (PhyloGroupId, Weight)
- type Pointer' = (PhyloGroupId, (Thr, Weight))
- data Filiation
- data PointerType
- type Support = Int
- data Clustering = Clustering {}
- type DotId = Text
- data EdgeType
- data Filter = ByBranchSize {}
- data Order
- data Sort
- = ByBirthDate {
- _sort_order :: Order
- | ByHierarchy {
- _sort_order :: Order
- = ByBirthDate {
- data Tagger
- data PhyloLabel
- = BranchLabel { }
- | GroupLabel { }
- data PhyloBranch = PhyloBranch {
- _branch_id :: PhyloBranchId
- _branch_canonId :: [Int]
- _branch_seaLevel :: [Double]
- _branch_x :: Double
- _branch_y :: Double
- _branch_w :: Double
- _branch_t :: Double
- _branch_label :: Text
- _branch_meta :: Map Text [Double]
- data PhyloExport = PhyloExport {}
- sc_timeUnit :: Lens' PhyloSubConfigAPI TimeUnit
- sc_phyloSynchrony :: Lens' PhyloSubConfigAPI Double
- sc_phyloQuality :: Lens' PhyloSubConfigAPI Double
- sc_phyloProximity :: Lens' PhyloSubConfigAPI Double
- sc_exportFilter :: Lens' PhyloSubConfigAPI Double
- sc_defaultMode :: Lens' PhyloSubConfigAPI Bool
- sc_clique :: Lens' PhyloSubConfigAPI Cluster
- wls_sensibility :: Traversal' PhyloSimilarity Double
- wls_minSharedNgrams :: Traversal' PhyloSimilarity Int
- wlj_sensibility :: Traversal' PhyloSimilarity Double
- wlj_minSharedNgrams :: Traversal' PhyloSimilarity Int
- hmg_sensibility :: Traversal' PhyloSimilarity Double
- hmg_minSharedNgrams :: Traversal' PhyloSimilarity Int
- evol_neighborhood :: Traversal' SeaElevation Bool
- cons_start :: Traversal' SeaElevation Double
- cons_gap :: Traversal' SeaElevation Double
- adap_steps :: Traversal' SeaElevation Double
- qua_minBranch :: Lens' Quality Int
- qua_granularity :: Lens' Quality Double
- mcl_threshold :: Traversal' Cluster Double
- mcl_size :: Traversal' Cluster Int
- mcl_filter :: Traversal' Cluster MaxCliqueFilter
- fis_support :: Traversal' Cluster Int
- fis_size :: Traversal' Cluster Int
- group_labelTagger :: Traversal' PhyloLabel Tagger
- group_labelSize :: Traversal' PhyloLabel Int
- branch_labelTagger :: Traversal' PhyloLabel Tagger
- branch_labelSize :: Traversal' PhyloLabel Int
- year_step :: Traversal' TimeUnit Int
- year_period :: Traversal' TimeUnit Int
- year_matchingFrame :: Traversal' TimeUnit Int
- week_step :: Traversal' TimeUnit Int
- week_period :: Traversal' TimeUnit Int
- week_matchingFrame :: Traversal' TimeUnit Int
- month_step :: Traversal' TimeUnit Int
- month_period :: Traversal' TimeUnit Int
- month_matchingFrame :: Traversal' TimeUnit Int
- epoch_step :: Traversal' TimeUnit Int
- epoch_period :: Traversal' TimeUnit Int
- epoch_matchingFrame :: Traversal' TimeUnit Int
- day_step :: Traversal' TimeUnit Int
- day_period :: Traversal' TimeUnit Int
- day_matchingFrame :: Traversal' TimeUnit Int
- foundations_rootsInGroups :: Lens' PhyloFoundations (Map Int [PhyloGroupId])
- foundations_roots :: Lens' PhyloFoundations (Vector Ngrams)
- clustering_visWeighting :: Lens' Clustering (Maybe Double)
- clustering_visFiltering :: Lens' Clustering [Int]
- clustering_support :: Lens' Clustering Support
- clustering_roots :: Lens' Clustering [Int]
- clustering_period :: Lens' Clustering Period
- phylo_sources :: Lens' Phylo PhyloSources
- phylo_seaLadder :: Lens' Phylo [Double]
- phylo_quality :: Lens' Phylo Double
- phylo_periods :: Lens' Phylo (Map Period PhyloPeriod)
- phylo_param :: Lens' Phylo PhyloParam
- phylo_level :: Lens' Phylo Double
- phylo_foundations :: Lens' Phylo PhyloFoundations
- phylo_counts :: Lens' Phylo PhyloCounts
- phylo_periodScales :: Lens' PhyloPeriod (Map PhyloScaleId PhyloScale)
- phylo_periodPeriodStr :: Lens' PhyloPeriod PeriodStr
- phylo_periodPeriod :: Lens' PhyloPeriod Period
- phylo_scaleScale :: Lens' PhyloScale Scale
- phylo_scalePeriodStr :: Lens' PhyloScale PeriodStr
- phylo_scalePeriod :: Lens' PhyloScale Period
- phylo_scaleGroups :: Lens' PhyloScale (Map PhyloGroupId PhyloGroup)
- phylo_groupWeight :: Lens' PhyloGroup (Maybe Double)
- phylo_groupSupport :: Lens' PhyloGroup Support
- phylo_groupSources :: Lens' PhyloGroup [Int]
- phylo_groupScaleParents :: Lens' PhyloGroup [Pointer]
- phylo_groupScaleChilds :: Lens' PhyloGroup [Pointer]
- phylo_groupScale :: Lens' PhyloGroup Scale
- phylo_groupRootsCount :: Lens' PhyloGroup (Map Int Double)
- phylo_groupPeriodParents :: Lens' PhyloGroup [Pointer]
- phylo_groupPeriodMemoryParents :: Lens' PhyloGroup [Pointer']
- phylo_groupPeriodMemoryChilds :: Lens' PhyloGroup [Pointer']
- phylo_groupPeriodChilds :: Lens' PhyloGroup [Pointer]
- phylo_groupPeriod' :: Lens' PhyloGroup (Text, Text)
- phylo_groupPeriod :: Lens' PhyloGroup Period
- phylo_groupNgrams :: Lens' PhyloGroup [Int]
- phylo_groupMeta :: Lens' PhyloGroup (Map Text [Double])
- phylo_groupLabel :: Lens' PhyloGroup Text
- phylo_groupIndex :: Lens' PhyloGroup Int
- phylo_groupDensity :: Lens' PhyloGroup Double
- phylo_groupCooc :: Lens' PhyloGroup Cooc
- phylo_groupBranchId :: Lens' PhyloGroup PhyloBranchId
- phylo_groupAncestors :: Lens' PhyloGroup [Pointer]
- phyloParam_version :: Lens' PhyloParam Text
- phyloParam_software :: Lens' PhyloParam Software
- phyloParam_config :: Lens' PhyloParam PhyloConfig
- export_groups :: Lens' PhyloExport [PhyloGroup]
- export_branches :: Lens' PhyloExport [PhyloBranch]
- branch_y :: Lens' PhyloBranch Double
- branch_x :: Lens' PhyloBranch Double
- branch_w :: Lens' PhyloBranch Double
- branch_t :: Lens' PhyloBranch Double
- branch_seaLevel :: Lens' PhyloBranch [Double]
- branch_meta :: Lens' PhyloBranch (Map Text [Double])
- branch_label :: Lens' PhyloBranch Text
- branch_id :: Lens' PhyloBranch PhyloBranchId
- branch_canonId :: Lens' PhyloBranch [Int]
Documentation
data CorpusParser #
PhyloConfig | --
Wos | |
| |
Csv | |
| |
Csv' | |
|
Instances
data ListParser #
Instances
data SeaElevation #
Instances
data PhyloSimilarity #
Instances
data SynchronyScope #
Instances
data SynchronyStrategy #
Instances
Instances
Epoch | |
| |
Year | |
| |
Month | |
| |
Week | |
| |
Day | |
|
Instances
data MaxCliqueFilter #
Instances
Instances
Instances
Arbitrary Quality # | |
FromJSON Quality # | |
ToJSON Quality # | |
Defined in Gargantext.Core.Viz.Phylo | |
Generic Quality # | |
Show Quality # | |
NFData Quality # | |
Defined in Gargantext.Core.Viz.Phylo | |
Eq Quality # | |
ToSchema Quality # | |
Defined in Gargantext.Core.Viz.Phylo | |
ToExpr Quality # | |
Defined in Gargantext.Core.Viz.Phylo | |
type Rep Quality # | |
Defined in Gargantext.Core.Viz.Phylo type Rep Quality = D1 ('MetaData "Quality" "Gargantext.Core.Viz.Phylo" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "Quality" 'PrefixI 'True) (S1 ('MetaSel ('Just "_qua_granularity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "_qua_minBranch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
data PhyloConfig #
PhyloConfig | |
|
Instances
data PhyloSubConfigAPI #
SubConfig API & 1Click | --
Instances
defaultConfig :: PhyloConfig #
SubConfig 1Click | --
Software parameters
Instances
Arbitrary Software # | |
FromJSON Software # | |
ToJSON Software # | |
Defined in Gargantext.Core.Viz.Phylo | |
Generic Software # | |
Show Software # | |
NFData Software # | |
Defined in Gargantext.Core.Viz.Phylo | |
Eq Software # | |
ToSchema Software # | |
Defined in Gargantext.Core.Viz.Phylo | |
ToExpr Software # | |
Defined in Gargantext.Core.Viz.Phylo | |
type Rep Software # | |
Defined in Gargantext.Core.Viz.Phylo type Rep Software = D1 ('MetaData "Software" "Gargantext.Core.Viz.Phylo" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "Software" 'PrefixI 'True) (S1 ('MetaSel ('Just "_software_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_software_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
data PhyloParam #
Global parameters of a Phylo
Instances
Instances
Generic Document # | |
Show Document # | |
NFData Document # | |
Defined in Gargantext.Core.Viz.Phylo | |
Eq Document # | |
type Rep Document # | |
Defined in Gargantext.Core.Viz.Phylo type Rep Document = D1 ('MetaData "Document" "Gargantext.Core.Viz.Phylo" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "Document" 'PrefixI 'True) ((S1 ('MetaSel ('Just "date") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Date) :*: (S1 ('MetaSel ('Just "date'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DateStr) :*: S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Ngrams]))) :*: (S1 ('MetaSel ('Just "weight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "sources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "docTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TimeUnit))))) |
data PhyloFoundations #
Foundation | --
The Foundations of a Phylo created from a given TermList
Instances
data PhyloCounts #
Instances
data PhyloSources #
Instances
type Cooc = Map (Int, Int) Double #
Coocurency Matrix | --
Cooc : a coocurency matrix between two ngrams
Phylo datatype of a phylomemy foundations : the foundations of the phylo timeCooc : a Map of coocurency by minimal unit of time (ex: by year) timeDocs : a Map with the numbers of docs by minimal unit of time (ex: by year) param : the parameters of the phylomemy (with the user's configuration) periods : the temporal steps of a phylomemy
Instances
data PhyloPeriod #
Period | --
PhyloPeriod : steps of a phylomemy on a temporal axis id: tuple (start date, end date) of the temporal step of the phylomemy scales: scales of synchronic description
Instances
type PhyloScaleId = (Period, Scale) #
PhyloScaleId : the id of a scale of synchronic description
data PhyloScale #
PhyloScale : sub-structure of the phylomemy in scale of synchronic description
Instances
type PhyloGroupId = (PhyloScaleId, Int) #
type PhyloBranchId = (Scale, [Int]) #
BranchId : (a scale, a sequence of branch index) the sequence is a path of heritage from the most to the less specific branch
data PhyloGroup #
PhyloGroup : group of ngrams at each scale and period
Instances
type Pointer = (PhyloGroupId, Weight) #
Pointer : A weighted pointer to a given PhyloGroup
type Pointer' = (PhyloGroupId, (Thr, Weight)) #
Pointer' : A weighted pointer to a given PhyloGroup with a lower bounded threshold
Instances
Generic Filiation # | |
Show Filiation # | |
type Rep Filiation # | |
Defined in Gargantext.Core.Viz.Phylo type Rep Filiation = D1 ('MetaData "Filiation" "Gargantext.Core.Viz.Phylo" "gargantext-0.0.7.1.5.3-inplace" 'False) ((C1 ('MetaCons "ToParents" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ToChilds" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ToParentsMemory" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ToChildsMemory" 'PrefixI 'False) (U1 :: Type -> Type))) |
data PointerType #
Instances
Generic PointerType # | |
Defined in Gargantext.Core.Viz.Phylo type Rep PointerType :: Type -> Type # from :: PointerType -> Rep PointerType x # to :: Rep PointerType x -> PointerType # | |
Show PointerType # | |
Defined in Gargantext.Core.Viz.Phylo showsPrec :: Int -> PointerType -> ShowS # show :: PointerType -> String # showList :: [PointerType] -> ShowS # | |
type Rep PointerType # | |
data Clustering #
Instances
Instances
Generic EdgeType # | |
Show EdgeType # | |
Eq EdgeType # | |
ToExpr EdgeType # | |
Defined in Gargantext.Core.Viz.Phylo | |
type Rep EdgeType # | |
Defined in Gargantext.Core.Viz.Phylo type Rep EdgeType = D1 ('MetaData "EdgeType" "Gargantext.Core.Viz.Phylo" "gargantext-0.0.7.1.5.3-inplace" 'False) ((C1 ('MetaCons "GroupToGroup" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "GroupToGroupMemory" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "BranchToGroup" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "BranchToBranch" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "GroupToAncestor" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PeriodToPeriod" 'PrefixI 'False) (U1 :: Type -> Type)))) |
Instances
Arbitrary Filter # | |
FromJSON Filter # | |
ToJSON Filter # | |
Defined in Gargantext.Core.Viz.Phylo | |
Generic Filter # | |
Show Filter # | |
NFData Filter # | |
Defined in Gargantext.Core.Viz.Phylo | |
Eq Filter # | |
ToSchema Filter # | |
Defined in Gargantext.Core.Viz.Phylo | |
ToExpr Filter # | |
Defined in Gargantext.Core.Viz.Phylo | |
type Rep Filter # | |
Defined in Gargantext.Core.Viz.Phylo |
Instances
Arbitrary Order # | |
FromJSON Order # | |
ToJSON Order # | |
Defined in Gargantext.Core.Viz.Phylo | |
Generic Order # | |
Show Order # | |
NFData Order # | |
Defined in Gargantext.Core.Viz.Phylo | |
Eq Order # | |
ToSchema Order # | |
Defined in Gargantext.Core.Viz.Phylo | |
ToExpr Order # | |
Defined in Gargantext.Core.Viz.Phylo | |
type Rep Order # | |
Instances
Arbitrary Sort # | |
FromJSON Sort # | |
ToJSON Sort # | |
Defined in Gargantext.Core.Viz.Phylo | |
Generic Sort # | |
Show Sort # | |
NFData Sort # | |
Defined in Gargantext.Core.Viz.Phylo | |
Eq Sort # | |
ToSchema Sort # | |
Defined in Gargantext.Core.Viz.Phylo | |
ToExpr Sort # | |
Defined in Gargantext.Core.Viz.Phylo | |
type Rep Sort # | |
Defined in Gargantext.Core.Viz.Phylo type Rep Sort = D1 ('MetaData "Sort" "Gargantext.Core.Viz.Phylo" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "ByBirthDate" 'PrefixI 'True) (S1 ('MetaSel ('Just "_sort_order") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Order)) :+: C1 ('MetaCons "ByHierarchy" 'PrefixI 'True) (S1 ('MetaSel ('Just "_sort_order") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Order))) |
Instances
Arbitrary Tagger # | |
FromJSON Tagger # | |
ToJSON Tagger # | |
Defined in Gargantext.Core.Viz.Phylo | |
Generic Tagger # | |
Show Tagger # | |
NFData Tagger # | |
Defined in Gargantext.Core.Viz.Phylo | |
Eq Tagger # | |
ToSchema Tagger # | |
Defined in Gargantext.Core.Viz.Phylo | |
ToExpr Tagger # | |
Defined in Gargantext.Core.Viz.Phylo | |
type Rep Tagger # | |
Defined in Gargantext.Core.Viz.Phylo type Rep Tagger = D1 ('MetaData "Tagger" "Gargantext.Core.Viz.Phylo" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "MostInclusive" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MostEmergentInclusive" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MostEmergentTfIdf" 'PrefixI 'False) (U1 :: Type -> Type))) |
data PhyloLabel #
Instances
data PhyloBranch #
PhyloBranch | |
|
Instances
data PhyloExport #
Instances
Generic PhyloExport # | |
Defined in Gargantext.Core.Viz.Phylo type Rep PhyloExport :: Type -> Type # from :: PhyloExport -> Rep PhyloExport x # to :: Rep PhyloExport x -> PhyloExport # | |
Show PhyloExport # | |
Defined in Gargantext.Core.Viz.Phylo showsPrec :: Int -> PhyloExport -> ShowS # show :: PhyloExport -> String # showList :: [PhyloExport] -> ShowS # | |
ToSchema PhyloExport # | |
Defined in Gargantext.Core.Viz.Phylo | |
type Rep PhyloExport # | |
Defined in Gargantext.Core.Viz.Phylo type Rep PhyloExport = D1 ('MetaData "PhyloExport" "Gargantext.Core.Viz.Phylo" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "PhyloExport" 'PrefixI 'True) (S1 ('MetaSel ('Just "_export_groups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [PhyloGroup]) :*: S1 ('MetaSel ('Just "_export_branches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [PhyloBranch]))) |
sc_timeUnit :: Lens' PhyloSubConfigAPI TimeUnit #
Lenses | --
clustering_roots :: Lens' Clustering [Int] #
phylo_seaLadder :: Lens' Phylo [Double] #
phylo_periods :: Lens' Phylo (Map Period PhyloPeriod) #
phylo_level :: Lens' Phylo Double #
phylo_groupPeriod' :: Lens' PhyloGroup (Text, Text) #
phylo_groupNgrams :: Lens' PhyloGroup [Int] #
phylo_groupMeta :: Lens' PhyloGroup (Map Text [Double]) #
branch_meta :: Lens' PhyloBranch (Map Text [Double]) #
branch_canonId :: Lens' PhyloBranch [Int] #