Copyright | (c) CNRS 2017-Present |
---|---|
License | AGPL + CECILL v3 |
Maintainer | team@gargantext.org |
Stability | experimental |
Portability | POSIX |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data NgramsType
- ngramsTypes :: [NgramsType]
- data Ngrams = UnsafeNgrams {
- _ngramsTerms :: Text
- _ngramsSize :: Int
- ngramsTerms :: Lens' Ngrams Text
- ngramsSize :: Lens' Ngrams Int
- data NgramsT a = NgramsT {
- _ngramsType :: NgramsType
- _ngramsT :: a
- ngramsType :: forall a. Lens' (NgramsT a) NgramsType
- ngramsT :: forall a a. Lens (NgramsT a) (NgramsT a) a a
Documentation
data NgramsType #
Main Ngrams Types | Typed Ngrams Typed Ngrams localize the context of the ngrams ngrams in source field of document has Sources Type ngrams in authors field of document has Authors Type ngrams in text fields of documents has Terms Type (i.e. either title or abstract)
Instances
ngramsTypes :: [NgramsType] #
Instances
Generic Ngrams # | |
Show Ngrams # | |
Eq Ngrams # | |
Ord Ngrams # | |
Hashable Ngrams # | |
Defined in Gargantext.Core.Text.Ngrams | |
FromField Ngrams # | |
Defined in Gargantext.Database.Schema.Ngrams | |
ToRow Ngrams # | |
Defined in Gargantext.Core.Text.Ngrams | |
type Rep Ngrams # | |
Defined in Gargantext.Core.Text.Ngrams type Rep Ngrams = D1 ('MetaData "Ngrams" "Gargantext.Core.Text.Ngrams" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "UnsafeNgrams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ngramsTerms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_ngramsSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
ngramsTerms :: Lens' Ngrams Text #
ngramsSize :: Lens' Ngrams Int #
NgramsT | |
|
Instances
Functor NgramsT # | |
Generic (NgramsT a) # | |
Show a => Show (NgramsT a) # | |
Eq a => Eq (NgramsT a) # | |
Ord a => Ord (NgramsT a) # | |
Defined in Gargantext.Core.Text.Ngrams | |
type Rep (NgramsT a) # | |
Defined in Gargantext.Core.Text.Ngrams type Rep (NgramsT a) = D1 ('MetaData "NgramsT" "Gargantext.Core.Text.Ngrams" "gargantext-0.0.7.1.5.3-inplace" 'False) (C1 ('MetaCons "NgramsT" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ngramsType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NgramsType) :*: S1 ('MetaSel ('Just "_ngramsT") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 a))) |
ngramsType :: forall a. Lens' (NgramsT a) NgramsType #