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

Description

 
Synopsis

Documentation

data Lang Source #

Language of a Text For simplicity, we suppose text has an homogenous language

Next steps: | DE | IT | SP

  • EN == english
  • FR == french
  • DE == deutch (not implemented yet)
  • IT == italian (not implemented yet)
  • SP == spanish (not implemented yet)

... add your language and help us to implement it (:

All languages supported TODO : DE | SP | CH

Constructors

EN 
FR 
All 

Instances

Instances details
Bounded Lang Source # 
Instance details

Defined in Gargantext.Core

Enum Lang Source # 
Instance details

Defined in Gargantext.Core

Methods

succ :: Lang -> Lang #

pred :: Lang -> Lang #

toEnum :: Int -> Lang #

fromEnum :: Lang -> Int #

enumFrom :: Lang -> [Lang] #

enumFromThen :: Lang -> Lang -> [Lang] #

enumFromTo :: Lang -> Lang -> [Lang] #

enumFromThenTo :: Lang -> Lang -> Lang -> [Lang] #

Eq Lang Source # 
Instance details

Defined in Gargantext.Core

Methods

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

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

Ord Lang Source # 
Instance details

Defined in Gargantext.Core

Methods

compare :: Lang -> Lang -> Ordering #

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

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

(>) :: Lang -> Lang -> Bool #

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

max :: Lang -> Lang -> Lang #

min :: Lang -> Lang -> Lang #

Show Lang Source # 
Instance details

Defined in Gargantext.Core

Methods

showsPrec :: Int -> Lang -> ShowS #

show :: Lang -> String #

showList :: [Lang] -> ShowS #

Generic Lang Source # 
Instance details

Defined in Gargantext.Core

Associated Types

type Rep Lang :: Type -> Type #

Methods

from :: Lang -> Rep Lang x #

to :: Rep Lang x -> Lang #

Hashable Lang Source # 
Instance details

Defined in Gargantext.Core

Methods

hashWithSalt :: Int -> Lang -> Int #

hash :: Lang -> Int #

ToJSON Lang Source # 
Instance details

Defined in Gargantext.Core

FromJSON Lang Source # 
Instance details

Defined in Gargantext.Core

FromHttpApiData Lang Source # 
Instance details

Defined in Gargantext.Core

GQLType Lang Source # 
Instance details

Defined in Gargantext.Core

Associated Types

type KIND Lang :: DerivingKind #

ToSchema Lang Source # 
Instance details

Defined in Gargantext.Core

HasDBid Lang Source # 
Instance details

Defined in Gargantext.Core

type Rep Lang Source # 
Instance details

Defined in Gargantext.Core

type Rep Lang = D1 ('MetaData "Lang" "Gargantext.Core" "gargantext-0.0.4.9.5-IFz7nHafad4HfDNkPsR1x8" 'False) (C1 ('MetaCons "EN" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "FR" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "All" 'PrefixI 'False) (U1 :: Type -> Type)))
type KIND Lang Source # 
Instance details

Defined in Gargantext.Core

type KIND Lang = TYPE

class HasDBid a where Source #

Methods

toDBid :: a -> Int Source #

fromDBid :: Int -> a Source #

Instances

Instances details
HasDBid PosTagAlgo Source # 
Instance details

Defined in Gargantext.Core

HasDBid Lang Source # 
Instance details

Defined in Gargantext.Core

HasDBid NodeType Source # 
Instance details

Defined in Gargantext.Database.Admin.Config

HasDBid ListType Source # 
Instance details

Defined in Gargantext.Core.Types.Main

type Form = Text Source #

type Lem = Text Source #

data PosTagAlgo Source #

Constructors

CoreNLP 

Instances

Instances details
Eq PosTagAlgo Source # 
Instance details

Defined in Gargantext.Core

Ord PosTagAlgo Source # 
Instance details

Defined in Gargantext.Core

Read PosTagAlgo Source # 
Instance details

Defined in Gargantext.Core

Show PosTagAlgo Source # 
Instance details

Defined in Gargantext.Core

Generic PosTagAlgo Source # 
Instance details

Defined in Gargantext.Core

Associated Types

type Rep PosTagAlgo :: Type -> Type #

Hashable PosTagAlgo Source # 
Instance details

Defined in Gargantext.Core

HasDBid PosTagAlgo Source # 
Instance details

Defined in Gargantext.Core

type Rep PosTagAlgo Source # 
Instance details

Defined in Gargantext.Core

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