]> Git — Sourcephile - gargantext.git/blob - src-test/Main.hs
[DOC] Types for Phylo.
[gargantext.git] / src-test / Main.hs
1 {-|
2 Module : Main.hs
3 Description : Main for Gargantext Tests
4 Copyright : (c) CNRS, 2017-Present
5 License : AGPL + CECILL v3
6 Maintainer : team@gargantext.org
7 Stability : experimental
8 Portability : POSIX
9 -}
10
11 {-# LANGUAGE NoImplicitPrelude #-}
12
13 import Gargantext.Prelude
14 import Gargantext.Core (Lang(..))
15 --import qualified Ngrams.Lang.Fr as Fr
16 import qualified Ngrams.Lang as Lang
17 import qualified Ngrams.Lang.Occurrences as Occ
18 import qualified Ngrams.Metrics as Metrics
19 import qualified Parsers.Date as PD
20
21 main :: IO ()
22 main = do
23 Occ.parsersTest
24 Lang.ngramsExtractionTest FR
25 Lang.ngramsExtractionTest EN
26 Metrics.main
27 PD.testFromRFC3339