Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Przemyslaw Kaminski
haskell-gargantext
Commits
c38864f4
Commit
c38864f4
authored
Apr 18, 2018
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PRELUDE] no global implicit any more.
parent
b7ef80e7
Changes
52
Hide whitespace changes
Inline
Side-by-side
Showing
52 changed files
with
549 additions
and
89 deletions
+549
-89
package.yaml
package.yaml
+0
-2
Main.hs
src-test/Main.hs
+2
-0
Lang.hs
src-test/Ngrams/Lang.hs
+16
-0
En.hs
src-test/Ngrams/Lang/En.hs
+14
-1
Fr.hs
src-test/Ngrams/Lang/Fr.hs
+14
-1
Occurrences.hs
src-test/Ngrams/Lang/Occurrences.hs
+14
-0
Metrics.hs
src-test/Ngrams/Metrics.hs
+16
-1
Date.hs
src-test/Parsers/Date.hs
+13
-0
Types.hs
src-test/Parsers/Types.hs
+14
-0
WOS.hs
src-test/Parsers/WOS.hs
+15
-0
Gargantext.hs
src/Gargantext.hs
+12
-0
API.hs
src/Gargantext/API.hs
+11
-9
Auth.hs
src/Gargantext/API/Auth.hs
+4
-2
Count.hs
src/Gargantext/API/Count.hs
+9
-6
FrontEnd.hs
src/Gargantext/API/FrontEnd.hs
+4
-2
Node.hs
src/Gargantext/API/Node.hs
+6
-4
Settings.hs
src/Gargantext/API/Settings.hs
+11
-1
Database.hs
src/Gargantext/Database.hs
+15
-0
Facet.hs
src/Gargantext/Database/Facet.hs
+9
-8
Instances.hs
src/Gargantext/Database/Instances.hs
+17
-2
Ngram.hs
src/Gargantext/Database/Ngram.hs
+18
-4
Node.hs
src/Gargantext/Database/Node.hs
+8
-6
NodeNgram.hs
src/Gargantext/Database/NodeNgram.hs
+20
-5
NodeNgramNgram.hs
src/Gargantext/Database/NodeNgramNgram.hs
+19
-5
NodeNode.hs
src/Gargantext/Database/NodeNode.hs
+20
-5
NodeNodeNgram.hs
src/Gargantext/Database/NodeNodeNgram.hs
+15
-0
Queries.hs
src/Gargantext/Database/Queries.hs
+8
-6
User.hs
src/Gargantext/Database/User.hs
+14
-0
Utils.hs
src/Gargantext/Database/Utils.hs
+15
-1
Ngrams.hs
src/Gargantext/Ngrams.hs
+2
-0
FrequentItemSet.hs
src/Gargantext/Ngrams/FrequentItemSet.hs
+2
-0
En.hs
src/Gargantext/Ngrams/Lang/En.hs
+14
-1
Fr.hs
src/Gargantext/Ngrams/Lang/Fr.hs
+14
-1
Letters.hs
src/Gargantext/Ngrams/Letters.hs
+1
-0
List.hs
src/Gargantext/Ngrams/List.hs
+15
-0
Metrics.hs
src/Gargantext/Ngrams/Metrics.hs
+2
-0
Occurrences.hs
src/Gargantext/Ngrams/Occurrences.hs
+14
-0
Parser.hs
src/Gargantext/Ngrams/Parser.hs
+15
-2
TFICF.hs
src/Gargantext/Ngrams/TFICF.hs
+3
-1
TextMining.hs
src/Gargantext/Ngrams/TextMining.hs
+14
-0
Parsers.hs
src/Gargantext/Parsers.hs
+2
-0
Date.hs
src/Gargantext/Parsers/Date.hs
+1
-1
WOS.hs
src/Gargantext/Parsers/WOS.hs
+14
-0
Prelude.hs
src/Gargantext/Prelude.hs
+14
-4
Types.hs
src/Gargantext/Types.hs
+15
-0
Main.hs
src/Gargantext/Types/Main.hs
+4
-3
Node.hs
src/Gargantext/Types/Node.hs
+4
-2
Phylo.hs
src/Gargantext/Types/Phylo.hs
+3
-2
Utils.hs
src/Gargantext/Utils.hs
+15
-0
Count_hs
src/Gargantext/Utils/Count_hs
+13
-0
DateUtils.hs
src/Gargantext/Utils/DateUtils.hs
+1
-1
Prefix.hs
src/Gargantext/Utils/Prefix.hs
+14
-0
No files found.
package.yaml
View file @
c38864f4
...
...
@@ -16,7 +16,6 @@ dependencies:
library
:
source-dirs
:
src
default-extensions
:
-
NoImplicitPrelude
ghc-options
:
-
-Wincomplete-uni-patterns
-
-Wincomplete-record-updates
...
...
@@ -152,7 +151,6 @@ tests:
main
:
Main.hs
source-dirs
:
src-test
default-extensions
:
-
NoImplicitPrelude
ghc-options
:
-
-threaded
-
-rtsopts
...
...
src-test/Main.hs
View file @
c38864f4
...
...
@@ -8,6 +8,8 @@ Stability : experimental
Portability : POSIX
-}
{-# LANGUAGE NoImplicitPrelude #-}
import
Gargantext.Prelude
import
Gargantext.Types.Main
(
Language
(
..
))
--import qualified Ngrams.Lang.Fr as Fr
...
...
src-test/Ngrams/Lang.hs
View file @
c38864f4
{-|
Module : Ngrams.Lang
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE NoImplicitPrelude #-}
module
Ngrams.Lang
where
import
Gargantext.Prelude
(
IO
())
...
...
src-test/Ngrams/Lang/En.hs
View file @
c38864f4
{-|
Module : Ngrams.Lang
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE NoImplicitPrelude #-}
...
...
@@ -21,7 +34,7 @@ ngramsExtractionTest = hspec $ do
it
"
\"
Of
\"
seperates two ngrams"
$
do
t1
<-
map
(
selectNgrams
EN
)
<$>
extractNgrams
EN
(
textTest
!!
0
)
t1
`
shouldBe
`
[[(
"Alcoholic extract of Kaempferia galanga"
,
"NN"
,
"
O
"
),(
"analgesic activities"
,
"NN+CC"
,
"O"
),(
"antiinflammatory activities"
,
"NN+CC"
,
"O"
),(
"animal models"
,
"NN"
,
"O"
)]]
t1
`
shouldBe
`
[[(
"Alcoholic extract of Kaempferia galanga"
,
"NN"
,
"
LOCATION
"
),(
"analgesic activities"
,
"NN+CC"
,
"O"
),(
"antiinflammatory activities"
,
"NN+CC"
,
"O"
),(
"animal models"
,
"NN"
,
"O"
)]]
it
"Tests the conjunction of coordination in two ngrams with its adjectives"
$
do
t2
<-
map
(
selectNgrams
EN
)
<$>
extractNgrams
EN
(
textTest
!!
2
)
...
...
src-test/Ngrams/Lang/Fr.hs
View file @
c38864f4
{-|
Module : Ngrams.Lang
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE NoImplicitPrelude #-}
...
...
@@ -32,7 +45,7 @@ ngramsExtractionTest = hspec $ do
it
"Groupe : nom commun et adjectifs avec conjonction"
$
do
let
textFr
=
"Le livre blanc et rouge."
testFr
<-
map
(
selectNgrams
FR
)
<$>
(
extractNgrams
FR
)
textFr
testFr
`
shouldBe
`
[[(
"livre blanc"
,
"N
"
,
"O"
),(
"livre rouge"
,
"N
"
,
"O"
)]]
testFr
`
shouldBe
`
[[(
"livre blanc"
,
"N
C"
,
"O"
),(
"livre rouge"
,
"NC
"
,
"O"
)]]
-- `shouldBe` [[("livre blanc et rouge","N","O")]] ?
it
"Groupe: Nom commun + préposition + Nom commun"
$
do
...
...
src-test/Ngrams/Lang/Occurrences.hs
View file @
c38864f4
{-|
Module : Ngrams.Lang.Occurrences
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
...
...
src-test/Ngrams/Metrics.hs
View file @
c38864f4
{-|
Module : Ngrams.Metrics
Description :
Copyright : Ngrams.Metrics (c)
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# LANGUAGE CPP #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module
Ngrams.Metrics
(
main
)
where
...
...
src-test/Parsers/Date.hs
View file @
c38864f4
{-|
Module : Parsers.Date
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE NoImplicitPrelude #-}
module
Parsers.Date
where
...
...
src-test/Parsers/Types.hs
View file @
c38864f4
{-|
Module : Parsers.Types
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE StandaloneDeriving #-}
...
...
src-test/Parsers/WOS.hs
View file @
c38864f4
{-|
Module : WOS
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE NoImplicitPrelude #-}
module
Parsers.WOS
where
src/Gargantext.hs
View file @
c38864f4
{-|
Module : Gargantext
Description : Textmining platform
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
@Gargantext@: search, map, share
-}
module
Gargantext
(
module
Gargantext
.
Database
,
-- module Gargantext.Ngrams,
...
...
src/Gargantext/API.hs
View file @
c38864f4
...
...
@@ -20,15 +20,17 @@ Thanks @yannEsposito for this.
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE UndecidableInstances #-}
---------------------------------------------------------------------
module
Gargantext.API
...
...
src/Gargantext/API/Auth.hs
View file @
c38864f4
...
...
@@ -19,8 +19,10 @@ Main authorisation of Gargantext are managed in this module
-}
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TemplateHaskell #-}
module
Gargantext.API.Auth
where
...
...
src/Gargantext/API/Count.hs
View file @
c38864f4
...
...
@@ -11,12 +11,15 @@ Count API part of Gargantext.
-}
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DeriveAnyClass #-}
{-# LANGUAGE OverloadedStrings #-}
module
Gargantext.API.Count
where
...
...
src/Gargantext/API/FrontEnd.hs
View file @
c38864f4
...
...
@@ -10,8 +10,10 @@ Portability : POSIX
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TemplateHaskell #-}
---------------------------------------------------------------------
module
Gargantext.API.FrontEnd
...
...
src/Gargantext/API/Node.hs
View file @
c38864f4
...
...
@@ -11,10 +11,12 @@ Node API
-}
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE OverloadedStrings #-}
-------------------------------------------------------------------
module
Gargantext.API.Node
...
...
src/Gargantext/API/Settings.hs
View file @
c38864f4
{-|
{-|PI/Application.hs
API/Count.hs
API/FrontEnd.hs
API/Node.hs
API/Auth.hs
API.hs
Database/NodeNodeNgram.hs
Database/User.hs
Database/Queries.hs
Module : Gargantext.API.Settings
Description : Settings of the API (Server and Client)
Copyright : (c) CNRS, 2017-Present
...
...
@@ -11,6 +20,7 @@ Portability : POSIX
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE ScopedTypeVariables #-}
...
...
src/Gargantext/Database.hs
View file @
c38864f4
{-|
Module : Gargantext.Database
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE NoImplicitPrelude #-}
module
Gargantext.Database
(
module
Gargantext
.
Database
.
Utils
-- , module Gargantext.Database.Instances
...
...
src/Gargantext/Database/Facet.hs
View file @
c38864f4
...
...
@@ -11,14 +11,15 @@ Portability : POSIX
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
{-# LANGUAGE Arrows #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE NoMonomorphismRestriction #-}
{-# LANGUAGE Arrows #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE NoMonomorphismRestriction #-}
{-# LANGUAGE TemplateHaskell #-}
------------------------------------------------------------------------
module
Gargantext.Database.Facet
...
...
src/Gargantext/Database/Instances.hs
View file @
c38864f4
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-|
Module : Gargantext.Database.Instances
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE NoImplicitPrelude #-}
module
Gargantext.Database.Instances
where
import
Gargantext.Prelude
...
...
src/Gargantext/Database/Ngram.hs
View file @
c38864f4
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-|
Module : Gargantext.Databse.Ngram
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE Arrows #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE Arrows #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE TemplateHaskell #-}
module
Gargantext.Database.Ngram
where
...
...
src/Gargantext/Database/Node.hs
View file @
c38864f4
...
...
@@ -9,13 +9,15 @@ Portability : POSIX
-}
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# LANGUAGE Arrows #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE Arrows #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE TemplateHaskell #-}
module
Gargantext.Database.Node
where
...
...
src/Gargantext/Database/NodeNgram.hs
View file @
c38864f4
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-|
Module : Gargantext.Database.NodeNgram
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# LANGUAGE Arrows #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE Arrows #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE TemplateHaskell #-}
module
Gargantext.Database.NodeNgram
where
...
...
src/Gargantext/Database/NodeNgramNgram.hs
View file @
c38864f4
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-|
Module : Gargantext.Database.NodeNgramNgram
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# LANGUAGE Arrows #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE Arrows #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE TemplateHaskell #-}
module
Gargantext.Database.NodeNgramNgram
where
...
...
src/Gargantext/Database/NodeNode.hs
View file @
c38864f4
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE Arrows #-}
{-|
Module : Gargantext.Database.NodeNode
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# LANGUAGE Arrows #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE TemplateHaskell #-}
module
Gargantext.Database.NodeNode
where
import
Prelude
...
...
src/Gargantext/Database/NodeNodeNgram.hs
View file @
c38864f4
{-|
Module : Gargantext.Database.NodeNodeNgram
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
...
...
src/Gargantext/Database/Queries.hs
View file @
c38864f4
...
...
@@ -9,13 +9,15 @@ Portability : POSIX
-}
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE
FlexibleInstances
#-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE
MultiParamTypeClasses
#-}
{-# LANGUAGE
Arrows
#-}
{-# LANGUAGE DeriveGeneric
#-}
{-# LANGUAGE
FlexibleInstances
#-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE Arrows #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE TemplateHaskell #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module
Gargantext.Database.Queries
where
...
...
src/Gargantext/Database/User.hs
View file @
c38864f4
{-|
Module : Gargantext.Database.user
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
...
...
src/Gargantext/Database/Utils.hs
View file @
c38864f4
{-|
Module : Gargantext.Database.Util
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE FlexibleContexts #-}
module
Gargantext.Database.Utils
where
...
...
src/Gargantext/Ngrams.hs
View file @
c38864f4
...
...
@@ -14,6 +14,8 @@ n non negative integer
-}
{-# LANGUAGE NoImplicitPrelude #-}
module
Gargantext.Ngrams
(
module
Gargantext
.
Ngrams
.
Letters
--, module Gargantext.Ngrams.Hetero
,
module
Gargantext
.
Ngrams
.
CoreNLP
...
...
src/Gargantext/Ngrams/FrequentItemSet.hs
View file @
c38864f4
...
...
@@ -11,6 +11,8 @@ Domain Specific Language to manage Frequent Item Set (FIS)
-}
{-# LANGUAGE NoImplicitPrelude #-}
module
Gargantext.Ngrams.FrequentItemSet
(
Fis
,
Size
,
occ
,
cooc
...
...
src/Gargantext/Ngrams/Lang/En.hs
View file @
c38864f4
{-# LANGUAGE OverloadedStrings #-}
{-|
Module : Gargantext.Ngrams.Lang.En
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
module
Gargantext.Ngrams.Lang.En
(
selectNgrams
,
groupNgrams
,
textTest
)
where
...
...
src/Gargantext/Ngrams/Lang/Fr.hs
View file @
c38864f4
{-# LANGUAGE OverloadedStrings #-}
{-|
Module : Gargantext.Ngrams.Lang.Fr
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
module
Gargantext.Ngrams.Lang.Fr
(
selectNgrams
,
groupNgrams
,
textTest
)
where
...
...
src/Gargantext/Ngrams/Letters.hs
View file @
c38864f4
...
...
@@ -11,6 +11,7 @@ Sugar to work on letters with Text.
-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
module
Gargantext.Ngrams.Letters
where
...
...
src/Gargantext/Ngrams/List.hs
View file @
c38864f4
{-|
Module : Gargantext.Ngrams.List
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE NoImplicitPrelude #-}
module
Gargantext.Ngrams.List
where
import
Data.Maybe
...
...
src/Gargantext/Ngrams/Metrics.hs
View file @
c38864f4
...
...
@@ -11,6 +11,8 @@ Portability : POSIX
Mainly reexport functions in @Data.Text.Metrics@
-}
{-# LANGUAGE NoImplicitPrelude #-}
module
Gargantext.Ngrams.Metrics
(
levenshtein
,
levenshteinNorm
,
damerauLevenshtein
...
...
src/Gargantext/Ngrams/Occurrences.hs
View file @
c38864f4
{-|
Module : Gargantext.Ngrams.Occurrences
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
module
Gargantext.Ngrams.Occurrences
where
...
...
src/Gargantext/Ngrams/Parser.hs
View file @
c38864f4
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-|
Module : Gargantext.Ngrams.Parser
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
module
Gargantext.Ngrams.Parser
where
...
...
src/Gargantext/Ngrams/TFICF.hs
View file @
c38864f4
...
...
@@ -11,7 +11,9 @@ Definition of TFICF
-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE NoImplicitPrelude #-}
module
Gargantext.Ngrams.TFICF
where
...
...
src/Gargantext/Ngrams/TextMining.hs
View file @
c38864f4
{-|
Module : Gargantext.Ngrams.TextMining
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE NoImplicitPrelude #-}
module
Gargantext.Ngrams.TextMining
where
...
...
src/Gargantext/Parsers.hs
View file @
c38864f4
...
...
@@ -18,6 +18,8 @@ This module mainly describe how to add a new parser to Gargantext,
please follow the types.
-}
{-# LANGUAGE NoImplicitPrelude #-}
module
Gargantext.Parsers
-- (parse, FileFormat(..))
where
...
...
src/Gargantext/Parsers/Date.hs
View file @
c38864f4
...
...
@@ -14,9 +14,9 @@ import Gargantext.Parsers.Date as DGP
DGP.parseDate1 DGP.FR "12 avril 2010" == "2010-04-12T00:00:00.000+00:00"
-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
module
Gargantext.Parsers.Date
(
parseDate1
,
Lang
(
FR
,
EN
),
parseDate
,
fromRFC3339
,
parseTimeOfDay
,
getMultiplicator
)
where
...
...
src/Gargantext/Parsers/WOS.hs
View file @
c38864f4
{-|
Module : Gargantext.Parsers.WOS
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
module
Gargantext.Parsers.WOS
(
wosParser
)
where
...
...
src/Gargantext/Prelude.hs
View file @
c38864f4
{-|
Module : Gargantext.Prelude
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
{-# OPTIONS_GHC -fno-warn-type-defaults #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-
TODO: import head impossible from Protolude: why ?
-}
{-# LANGUAGE NoImplicitPrelude #-}
module
Gargantext.Prelude
(
module
Gargantext
.
Prelude
...
...
src/Gargantext/Types.hs
View file @
c38864f4
{-|
Module : Gargantext.Types
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE NoImplicitPrelude #-}
module
Gargantext.Types
(
module
Gargantext
.
Types
.
Main
,
module
Gargantext
.
Types
.
Node
)
where
...
...
src/Gargantext/Types/Main.hs
View file @
c38864f4
...
...
@@ -13,9 +13,10 @@ commentary with @some markup@.
{-# OPTIONS_GHC -fno-warn-name-shadowing #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
------------------------------------------------------------------------
module
Gargantext.Types.Main
where
...
...
src/Gargantext/Types/Node.hs
View file @
c38864f4
...
...
@@ -10,10 +10,12 @@ Portability : POSIX
-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-}
-- {-# LANGUAGE DuplicateRecordFields #-}
module
Gargantext.Types.Node
where
...
...
src/Gargantext/Types/Phylo.hs
View file @
c38864f4
...
...
@@ -18,8 +18,9 @@ the number of chars).
Phylomemy was first described in [REF].
-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE TemplateHaskell #-}
module
Gargantext.Types.Phylo
where
...
...
src/Gargantext/Utils.hs
View file @
c38864f4
{-|
Module : Gargantext.Utils
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE NoImplicitPrelude #-}
module
Gargantext.Utils
(
-- module Gargantext.Utils.Chronos
module
Gargantext
.
Utils
.
Prefix
...
...
src/Gargantext/Utils/Count_hs
View file @
c38864f4
{-|
Module : Gargantext.Utils.Counts
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE ExistentialQuantification #-}
{-# LANGUAGE BangPatterns #-}
...
...
src/Gargantext/Utils/DateUtils.hs
View file @
c38864f4
{-|
Module : Gargantext.
Module : Gargantext.
Utils.DateUtils
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
...
...
src/Gargantext/Utils/Prefix.hs
View file @
c38864f4
{-|
Module : Gargantext.Utils.Prefix
Description :
Copyright : (c) CNRS, 2017-Present
License : AGPL + CECILL v3
Maintainer : team@gargantext.org
Stability : experimental
Portability : POSIX
Here is a longer description of this module, containing some
commentary with @some markup@.
-}
{-# LANGUAGE NoImplicitPrelude #-}
module
Gargantext.Utils.Prefix
where
...
...
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