2 Module : Gargantext.Core
3 Description : Supported Natural language
4 Copyright : (c) CNRS, 2017-Present
5 License : AGPL + CECILL v3
6 Maintainer : team@gargantext.org
7 Stability : experimental
12 module Gargantext.Core
15 ------------------------------------------------------------------------
16 -- | Language of a Text
17 -- For simplicity, we suppose text has an homogenous language
19 -- Next steps: | DE | IT | SP
23 -- - DE == deutch (not implemented yet)
24 -- - IT == italian (not implemented yet)
25 -- - SP == spanish (not implemented yet)
27 -- ... add your language and help us to implement it (:
28 data Lang = EN | FR -- | DE | SP | CH
29 deriving (Show, Eq, Ord, Bounded, Enum)
32 allLangs = [minBound ..]