Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
158
Issues
158
List
Board
Labels
Milestones
Merge Requests
11
Merge Requests
11
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
773a703b
Commit
773a703b
authored
Mar 29, 2018
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] terms -> ngrams.
parent
b2378cb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Phylo.hs
src/Gargantext/Types/Phylo.hs
+4
-4
No files found.
src/Gargantext/Types/Phylo.hs
View file @
773a703b
...
@@ -10,7 +10,7 @@ Portability : POSIX
...
@@ -10,7 +10,7 @@ Portability : POSIX
Specifications of Phylomemy format.
Specifications of Phylomemy format.
Phylomemy can be described as a Temporal Graph with different scale of
Phylomemy can be described as a Temporal Graph with different scale of
granularity of group of
terms
.
granularity of group of
ngrams (terms and multi-terms)
.
The main type is Phylo which is synonym of Phylomemy (only difference is
The main type is Phylo which is synonym of Phylomemy (only difference is
the number of chars).
the number of chars).
...
@@ -34,7 +34,7 @@ import Gargantext.Prelude
...
@@ -34,7 +34,7 @@ import Gargantext.Prelude
------------------------------------------------------------------------
------------------------------------------------------------------------
-- | Phylo datatype descriptor:
-- | Phylo datatype descriptor:
-- Period: time Segment of the whole phylomemy in UTCTime format (start,end)
-- Period: time Segment of the whole phylomemy in UTCTime format (start,end)
--
Ter
ms : list of all (possible) terms contained in the phylomemy (with their id)
--
Ngra
ms : 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
=
Phylo
{
_phyloPeriod
::
(
Start
,
End
)
data
Phylo
=
Phylo
{
_phyloPeriod
::
(
Start
,
End
)
,
_phyloNgrams
::
[
Ngram
]
,
_phyloNgrams
::
[
Ngram
]
...
@@ -56,7 +56,7 @@ data PhyloStep = PhyloStep { _phyloStepPeriod :: (Start, End)
...
@@ -56,7 +56,7 @@ data PhyloStep = PhyloStep { _phyloStepPeriod :: (Start, End)
-- | Level of a step of a Phylomemy descriptor
-- | Level of a step of a Phylomemy descriptor
-- Label: maybe has a label as text
-- Label: maybe has a label as text
--
Ter
ms: set of terms that build the group
--
Ngra
ms: set of terms that build the group
-- Temporal Parents: directed and weighted link to Parents
-- Temporal Parents: directed and weighted link to Parents
-- Levels description:
-- Levels description:
-- Level 0: Ngram equals itself (by identity) == _phyloNgrams
-- Level 0: Ngram equals itself (by identity) == _phyloNgrams
...
@@ -64,7 +64,7 @@ data PhyloStep = PhyloStep { _phyloStepPeriod :: (Start, End)
...
@@ -64,7 +64,7 @@ data PhyloStep = PhyloStep { _phyloStepPeriod :: (Start, End)
-- Level 2: Frequent Item Set groups (by statistics)
-- Level 2: Frequent Item Set groups (by statistics)
-- Level 3: Clustering (by statistics)
-- Level 3: Clustering (by statistics)
data
Level
=
Level
{
_levelLabel
::
Maybe
Text
data
Level
=
Level
{
_levelLabel
::
Maybe
Text
,
_level
Terms
::
[
NgramId
]
,
_level
Ngrams
::
[
NgramId
]
,
_levelTemporalParents
::
[
NgramId
]
,
_levelTemporalParents
::
[
NgramId
]
,
_levelTemporalChilds
::
[
NgramId
]
,
_levelTemporalChilds
::
[
NgramId
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment