Commit 0c0bc010 authored by Alexandre Delanoë's avatar Alexandre Delanoë

[TYPES][PHYLO] removing Upper first letter.

parent a78d405e
...@@ -43,9 +43,9 @@ import Gargantext.Prelude ...@@ -43,9 +43,9 @@ import Gargantext.Prelude
-- Ngrams : list of all (possible) terms contained in the phylomemy (with their id) -- Ngrams : list of all (possible) terms contained in the phylomemy (with their id)
-- Steps : list of all steps to build the phylomemy -- Steps : list of all steps to build the phylomemy
data Phylo = data Phylo =
Phylo { _phylo_Duration :: (Start, End) Phylo { _phylo_puration :: (Start, End)
, _phylo_Ngrams :: [Ngram] , _phylo_ngrams :: [Ngram]
, _phylo_Periods :: [PhyloPeriod] , _phylo_periods :: [PhyloPeriod]
} }
deriving (Generic) deriving (Generic)
...@@ -60,8 +60,8 @@ type Ngram = (NgramsId, Text) ...@@ -60,8 +60,8 @@ type Ngram = (NgramsId, Text)
-- Period: tuple (start date, end date) of the step of the phylomemy -- Period: tuple (start date, end date) of the step of the phylomemy
-- Levels: levels of granularity -- Levels: levels of granularity
data PhyloPeriod = data PhyloPeriod =
PhyloPeriod { _phylo_PeriodId :: PhyloPeriodId PhyloPeriod { _phylo_periodId :: PhyloPeriodId
, _phylo_PeriodLevels :: [PhyloLevel] , _phylo_periodLevels :: [PhyloLevel]
} }
deriving (Generic) deriving (Generic)
...@@ -74,8 +74,8 @@ type PhyloPeriodId = (Start, End) ...@@ -74,8 +74,8 @@ type PhyloPeriodId = (Start, End)
-- Level 1: First level of clustering -- Level 1: First level of clustering
-- Level N: Nth level of clustering -- Level N: Nth level of clustering
data PhyloLevel = data PhyloLevel =
PhyloLevel { _phylo_LevelId :: PhyloLevelId PhyloLevel { _phylo_levelId :: PhyloLevelId
, _phylo_LevelGroups :: [PhyloGroup] , _phylo_levelGroups :: [PhyloGroup]
} }
deriving (Generic) deriving (Generic)
...@@ -87,15 +87,15 @@ type PhyloLevelId = (PhyloPeriodId, Int) ...@@ -87,15 +87,15 @@ type PhyloLevelId = (PhyloPeriodId, Int)
-- Period Parents|Childs: weighted link to Parents|Childs (Temporal Period axis) -- Period Parents|Childs: weighted link to Parents|Childs (Temporal Period axis)
-- Level Parents|Childs: weighted link to Parents|Childs (Level Granularity axis) -- Level Parents|Childs: weighted link to Parents|Childs (Level Granularity axis)
data PhyloGroup = data PhyloGroup =
PhyloGroup { _phylo_GroupId :: PhyloGroupId PhyloGroup { _phylo_groupId :: PhyloGroupId
, _phylo_GroupLabel :: Maybe Text , _phylo_groupLabel :: Maybe Text
, _phylo_GroupNgrams :: [NgramsId] , _phylo_groupNgrams :: [NgramsId]
, _phylo_GroupPeriodParents :: [Edge] , _phylo_groupPeriodParents :: [Edge]
, _phylo_GroupPeriodChilds :: [Edge] , _phylo_groupPeriodChilds :: [Edge]
, _phylo_GroupLevelParents :: [Edge] , _phylo_groupLevelParents :: [Edge]
, _phylo_GroupLevelChilds :: [Edge] , _phylo_groupLevelChilds :: [Edge]
} }
deriving (Generic) deriving (Generic)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment