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

Gargantext.Core.Types

Description

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

Synopsis

Documentation

data DebugMode #

Constructors

DebugMode 

Fields

withDebugMode :: Show a => DebugMode -> Text -> a -> b -> b #

newtype Term #

Constructors

Term 

Fields

Instances

Instances details
IsString Term # 
Instance details

Defined in Gargantext.Core.Types

Methods

fromString :: String -> Term #

Show Term # 
Instance details

Defined in Gargantext.Core.Types

Methods

showsPrec :: Int -> Term -> ShowS #

show :: Term -> String #

showList :: [Term] -> ShowS #

Eq Term # 
Instance details

Defined in Gargantext.Core.Types

Methods

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

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

Ord Term # 
Instance details

Defined in Gargantext.Core.Types

Methods

compare :: Term -> Term -> Ordering #

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

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

(>) :: Term -> Term -> Bool #

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

max :: Term -> Term -> Term #

min :: Term -> Term -> Term #

data Terms #

Constructors

Terms 

Instances

Instances details
Show Terms # 
Instance details

Defined in Gargantext.Core.Types

Methods

showsPrec :: Int -> Terms -> ShowS #

show :: Terms -> String #

showList :: [Terms] -> ShowS #

Eq Terms # 
Instance details

Defined in Gargantext.Core.Types

Methods

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

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

Ord Terms # 
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 #

Instances

Instances details
Monoid TokenTag # 
Instance details

Defined in Gargantext.Core.Types

Semigroup TokenTag # 
Instance details

Defined in Gargantext.Core.Types

Show TokenTag # 
Instance details

Defined in Gargantext.Core.Types

data POS #

Constructors

NP 
JJ 
VB 
CC 
IN 
DT 
ADV 
NotFound 

Fields

Instances

Instances details
FromJSON POS # 
Instance details

Defined in Gargantext.Core.Types

ToJSON POS # 
Instance details

Defined in Gargantext.Core.Types

Generic POS # 
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 #

Show POS # 
Instance details

Defined in Gargantext.Core.Types

Methods

showsPrec :: Int -> POS -> ShowS #

show :: POS -> String #

showList :: [POS] -> ShowS #

Eq POS # 
Instance details

Defined in Gargantext.Core.Types

Methods

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

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

Ord POS # 
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 #

Hashable POS # 
Instance details

Defined in Gargantext.Core.Types

Methods

hashWithSalt :: Int -> POS -> Int #

hash :: POS -> Int #

type Rep POS # 
Instance details

Defined in Gargantext.Core.Types

type Rep POS = D1 ('MetaData "POS" "Gargantext.Core.Types" "gargantext-0.0.7.1.5.3-inplace" '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 "ADV" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NotFound" 'PrefixI 'True) (S1 ('MetaSel ('Just "not_found") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Char])))))

data NER #

Constructors

PERSON 
ORGANIZATION 
LOCATION 
NoNER 

Fields

Instances

Instances details
FromJSON NER # 
Instance details

Defined in Gargantext.Core.Types

ToJSON NER # 
Instance details

Defined in Gargantext.Core.Types

Generic NER # 
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 #

Show NER # 
Instance details

Defined in Gargantext.Core.Types

Methods

showsPrec :: Int -> NER -> ShowS #

show :: NER -> String #

showList :: [NER] -> ShowS #

type Rep NER # 
Instance details

Defined in Gargantext.Core.Types

type Rep NER = D1 ('MetaData "NER" "Gargantext.Core.Types" "gargantext-0.0.7.1.5.3-inplace" '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 'True) (S1 ('MetaSel ('Just "noNer") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text))))

type Label = [Text] #

type Stems = Set Text #

type Name = Text #

data TableResult a #

Constructors

TableResult 

Fields

Instances

Instances details
HasSwagger (WithCustomErrorScheme GargAPI) # 
Instance details

Defined in Gargantext.API.Routes

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

Defined in Gargantext.Core.Types

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

Defined in Gargantext.Core.Types

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

Defined in Gargantext.Core.Types

Generic (TableResult a) # 
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 #

Show a => Show (TableResult a) # 
Instance details

Defined in Gargantext.Core.Types

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

Defined in Gargantext.Core.Types

type Rep (TableResult a) # 
Instance details

Defined in Gargantext.Core.Types

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

type NodeTableResult a = TableResult (Node a) #

NodeTableResult (Table computations)

data Ordering #

Constructors

Down 
Up 

Instances

Instances details
Bounded Ordering # 
Instance details

Defined in Gargantext.Core.Types

Enum Ordering # 
Instance details

Defined in Gargantext.Core.Types

Show Ordering # 
Instance details

Defined in Gargantext.Core.Types

Eq Ordering # 
Instance details

Defined in Gargantext.Core.Types

data Typed a b #

Constructors

Typed 

Fields

Instances

Instances details
Functor (Typed a) # 
Instance details

Defined in Gargantext.Core.Types

Methods

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

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

Generic (Typed a b) # 
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 #

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

Defined in Gargantext.Core.Types

Methods

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

show :: Typed a b -> String #

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

(Eq a, Eq b) => Eq (Typed a b) # 
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) # 
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 #

type Rep (Typed a b) # 
Instance details

Defined in Gargantext.Core.Types

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

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

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

data TODO #

Constructors

TODO 

Instances

Instances details
Generic TODO # 
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 #

ToParamSchema TODO # 
Instance details

Defined in Gargantext.Core.Types

Methods

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

ToSchema TODO # 
Instance details

Defined in Gargantext.Core.Types

type Rep TODO # 
Instance details

Defined in Gargantext.Core.Types

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