+{-|
+Module : Ngrams.Lang.Occurrences
+Description :
+Copyright : (c) CNRS, 2017-Present
+License : AGPL + CECILL v3
+Maintainer : team@gargantext.org
+Stability : experimental
+Portability : POSIX
+
+Here is a longer description of this module, containing some
+commentary with @some markup@.
+-}
+
+{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
module Ngrams.Lang.Occurrences where
import Test.Hspec
-import Control.Exception (evaluate)
-
-import Data.Text (Text)
+import Data.Either (Either(Right))
import Gargantext.Prelude
-import Gargantext.Types.Main (Language(..))
-import Gargantext.Ngrams
-import Gargantext.Ngrams.Occurrences (parseOccurrences)
-import Gargantext.Ngrams.Parser (extractNgrams, selectNgrams)
-
+import Gargantext.Text.Metrics.Occurrences (parseOccurrences)
+parsersTest :: IO ()
parsersTest = hspec $ do
describe "Parser for occurrences" $ do