gargantext-0.0.4.9.5: Search, map, share
Copyright(c) CNRS 2017-Present
LicenseAGPL + CECILL v3
Maintainerteam@gargantext.org
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Gargantext.Core.Types

Description

Here is a longer description of this module, containing some commentary with some markup.

Synopsis

Documentation

type Term = Text Source #

data Terms Source #

Constructors

Terms 

Instances

Instances details
Eq Terms Source # 
Instance details

Defined in Gargantext.Core.Types

Methods

(==) :: Terms -> Terms -> Bool #

(/=) :: Terms -> Terms -> Bool #

Ord Terms Source # 
Instance details

Defined in Gargantext.Core.Types

Methods

compare :: Terms -> Terms -> Ordering #

(<) :: Terms -> Terms -> Bool #

(<=) :: Terms -> Terms -> Bool #

(>) :: Terms -> Terms -> Bool #

(>=) :: Terms -> Terms -> Bool #

max :: Terms -> Terms -> Terms #

min :: Terms -> Terms -> Terms #

data TokenTag Source #

Instances

Instances details
Show TokenTag Source # 
Instance details

Defined in Gargantext.Core.Types

Semigroup TokenTag Source # 
Instance details

Defined in Gargantext.Core.Types

Monoid TokenTag Source # 
Instance details

Defined in Gargantext.Core.Types

data POS Source #

Constructors

NP 
JJ 
VB 
CC 
IN 
DT 
NoPos 

Instances

Instances details
Eq POS Source # 
Instance details

Defined in Gargantext.Core.Types

Methods

(==) :: POS -> POS -> Bool #

(/=) :: POS -> POS -> Bool #

Ord POS Source # 
Instance details

Defined in Gargantext.Core.Types

Methods

compare :: POS -> POS -> Ordering #

(<) :: POS -> POS -> Bool #

(<=) :: POS -> POS -> Bool #

(>) :: POS -> POS -> Bool #

(>=) :: POS -> POS -> Bool #

max :: POS -> POS -> POS #

min :: POS -> POS -> POS #

Show POS Source # 
Instance details

Defined in Gargantext.Core.Types

Methods

showsPrec :: Int -> POS -> ShowS #

show :: POS -> String #

showList :: [POS] -> ShowS #

Generic POS Source # 
Instance details

Defined in Gargantext.Core.Types

Associated Types

type Rep POS :: Type -> Type #

Methods

from :: POS -> Rep POS x #

to :: Rep POS x -> POS #

Hashable POS Source # 
Instance details

Defined in Gargantext.Core.Types

Methods

hashWithSalt :: Int -> POS -> Int #

hash :: POS -> Int #

ToJSON POS Source # 
Instance details

Defined in Gargantext.Core.Types

FromJSON POS Source # 
Instance details

Defined in Gargantext.Core.Types

type Rep POS Source # 
Instance details

Defined in Gargantext.Core.Types

type Rep POS = D1 ('MetaData "POS" "Gargantext.Core.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) ((C1 ('MetaCons "NP" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "JJ" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "VB" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "CC" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IN" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DT" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NoPos" 'PrefixI 'False) (U1 :: Type -> Type))))

data NER Source #

Instances

Instances details
Show NER Source # 
Instance details

Defined in Gargantext.Core.Types

Methods

showsPrec :: Int -> NER -> ShowS #

show :: NER -> String #

showList :: [NER] -> ShowS #

Generic NER Source # 
Instance details

Defined in Gargantext.Core.Types

Associated Types

type Rep NER :: Type -> Type #

Methods

from :: NER -> Rep NER x #

to :: Rep NER x -> NER #

ToJSON NER Source # 
Instance details

Defined in Gargantext.Core.Types

FromJSON NER Source # 
Instance details

Defined in Gargantext.Core.Types

type Rep NER Source # 
Instance details

Defined in Gargantext.Core.Types

type Rep NER = D1 ('MetaData "NER" "Gargantext.Core.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) ((C1 ('MetaCons "PERSON" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ORGANIZATION" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LOCATION" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NoNER" 'PrefixI 'False) (U1 :: Type -> Type)))

type Label = [Text] Source #

class HasInvalidError e where Source #

Instances

Instances details
HasInvalidError GargError Source # 
Instance details

Defined in Gargantext.API.Prelude

type Name = Text Source #

data TableResult a Source #

Constructors

TableResult 

Fields

Instances

Instances details
Generic (TableResult a) Source # 
Instance details

Defined in Gargantext.Core.Types

Associated Types

type Rep (TableResult a) :: Type -> Type #

Methods

from :: TableResult a -> Rep (TableResult a) x #

to :: Rep (TableResult a) x -> TableResult a #

Arbitrary a => Arbitrary (TableResult a) Source # 
Instance details

Defined in Gargantext.Core.Types

ToJSON a => ToJSON (TableResult a) Source # 
Instance details

Defined in Gargantext.Core.Types

FromJSON a => FromJSON (TableResult a) Source # 
Instance details

Defined in Gargantext.Core.Types

(Typeable a, ToSchema a) => ToSchema (TableResult a) Source # 
Instance details

Defined in Gargantext.Core.Types

type Rep (TableResult a) Source # 
Instance details

Defined in Gargantext.Core.Types

type Rep (TableResult a) = D1 ('MetaData "TableResult" "Gargantext.Core.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "TableResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "tr_count") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "tr_docs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [a])))

type NodeTableResult a = TableResult (Node a) Source #

NodeTableResult (Table computations)

data Ordering Source #

Constructors

Down 
Up 

data Typed a b Source #

Constructors

Typed 

Fields

Instances

Instances details
Functor (Typed a) Source # 
Instance details

Defined in Gargantext.Core.Types

Methods

fmap :: (a0 -> b) -> Typed a a0 -> Typed a b #

(<$) :: a0 -> Typed a b -> Typed a a0 #

(Eq a, Eq b) => Eq (Typed a b) Source # 
Instance details

Defined in Gargantext.Core.Types

Methods

(==) :: Typed a b -> Typed a b -> Bool #

(/=) :: Typed a b -> Typed a b -> Bool #

(Ord a, Ord b) => Ord (Typed a b) Source # 
Instance details

Defined in Gargantext.Core.Types

Methods

compare :: Typed a b -> Typed a b -> Ordering #

(<) :: Typed a b -> Typed a b -> Bool #

(<=) :: Typed a b -> Typed a b -> Bool #

(>) :: Typed a b -> Typed a b -> Bool #

(>=) :: Typed a b -> Typed a b -> Bool #

max :: Typed a b -> Typed a b -> Typed a b #

min :: Typed a b -> Typed a b -> Typed a b #

(Show a, Show b) => Show (Typed a b) Source # 
Instance details

Defined in Gargantext.Core.Types

Methods

showsPrec :: Int -> Typed a b -> ShowS #

show :: Typed a b -> String #

showList :: [Typed a b] -> ShowS #

Generic (Typed a b) Source # 
Instance details

Defined in Gargantext.Core.Types

Associated Types

type Rep (Typed a b) :: Type -> Type #

Methods

from :: Typed a b -> Rep (Typed a b) x #

to :: Rep (Typed a b) x -> Typed a b #

type Rep (Typed a b) Source # 
Instance details

Defined in Gargantext.Core.Types

type Rep (Typed a b) = D1 ('MetaData "Typed" "Gargantext.Core.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "Typed" 'PrefixI 'True) (S1 ('MetaSel ('Just "_withType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 a) :*: S1 ('MetaSel ('Just "_unTyped") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 b)))

withType :: forall a b a. Lens (Typed a b) (Typed a b) a a Source #

unTyped :: forall a b b. Lens (Typed a b) (Typed a b) b b Source #

data TODO Source #

Constructors

TODO 

Instances

Instances details
Generic TODO Source # 
Instance details

Defined in Gargantext.Core.Types

Associated Types

type Rep TODO :: Type -> Type #

Methods

from :: TODO -> Rep TODO x #

to :: Rep TODO x -> TODO #

ToSchema TODO Source # 
Instance details

Defined in Gargantext.Core.Types

ToParamSchema TODO Source # 
Instance details

Defined in Gargantext.Core.Types

Methods

toParamSchema :: forall (t :: SwaggerKind Type). Proxy TODO -> ParamSchema t #

type Rep TODO Source # 
Instance details

Defined in Gargantext.Core.Types

type Rep TODO = D1 ('MetaData "TODO" "Gargantext.Core.Types" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "TODO" 'PrefixI 'False) (U1 :: Type -> Type))