| Copyright | (c) CNRS 2017-Present |
|---|---|
| License | AGPL + CECILL v3 |
| Maintainer | team@gargantext.org |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Gargantext.Core.Types
Description
Here is a longer description of this module, containing some
commentary with some markup.
Synopsis
- module Gargantext.Core.Types.Main
- module Gargantext.Database.Admin.Types.Node
- data DebugMode = DebugMode {}
- withDebugMode :: Show a => DebugMode -> Text -> a -> b -> b
- newtype Term = Term {}
- data Terms = Terms {}
- type TermsCount = Int
- type TermsWithCount = (Terms, TermsCount)
- data TokenTag = TokenTag {
- _my_token_word :: [Text]
- _my_token_lemma :: Set Text
- _my_token_pos :: Maybe POS
- _my_token_ner :: Maybe NER
- data POS
- data NER
- type Label = [Text]
- type Stems = Set Text
- class HasValidationError e where
- assertValid :: (MonadError e m, HasValidationError e) => Validation -> m ()
- type Name = Text
- data TableResult a = TableResult {}
- type NodeTableResult a = TableResult (Node a)
- data Ordering
- data Typed a b = Typed {}
- 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 = TODO
Documentation
module Gargantext.Core.Types.Main
withDebugMode :: Show a => DebugMode -> Text -> a -> b -> b #
Constructors
| Terms | |
Fields
| |
type TermsCount = Int #
type TermsWithCount = (Terms, TermsCount) #
Constructors
| TokenTag | |
Fields
| |
Instances
| FromJSON POS # | |
| ToJSON POS # | |
Defined in Gargantext.Core.Types | |
| Generic POS # | |
| Show POS # | |
| Eq POS # | |
| Ord POS # | |
| Hashable POS # | |
Defined in Gargantext.Core.Types | |
| type Rep POS # | |
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]))))) | |
Instances
| FromJSON NER # | |
| ToJSON NER # | |
Defined in Gargantext.Core.Types | |
| Generic NER # | |
| Show NER # | |
| type Rep NER # | |
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)))) | |
assertValid :: (MonadError e m, HasValidationError e) => Validation -> m () #
data TableResult a #
Constructors
| TableResult | |
Instances
type NodeTableResult a = TableResult (Node a) #
NodeTableResult (Table computations)
Instances
| Bounded Ordering # | |
| Enum Ordering # | |
Defined in Gargantext.Core.Types | |
| Show Ordering # | |
| Eq Ordering # | |
Instances
| Functor (Typed a) # | |
| Generic (Typed a b) # | |
| (Show a, Show b) => Show (Typed a b) # | |
| (Eq a, Eq b) => Eq (Typed a b) # | |
| (Ord a, Ord b) => Ord (Typed a b) # | |
| type Rep (Typed a b) # | |
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))) | |
Constructors
| TODO |
Instances
| Generic TODO # | |
| ToParamSchema TODO # | |
Defined in Gargantext.Core.Types Methods toParamSchema :: forall (t :: SwaggerKind Type). Proxy TODO -> ParamSchema t # | |
| ToSchema TODO # | |
Defined in Gargantext.Core.Types Methods declareNamedSchema :: Proxy TODO -> Declare (Definitions Schema) NamedSchema # | |
| type Rep TODO # | |