[ngrams] some small refactoring

4 jobs for 217-dev-ngrams-patch in 61 minutes and 57 seconds (queued for 1 minute and 3 seconds)
latest
Status Job ID Name Coverage
  Deps
passed #7162
deps

00:13:40

 
  Test
passed #7163
test

00:20:58

 
  Docs
passed #7164
allowed to fail
docs

00:24:17

 
  Cabal
failed #7165
allowed to fail
cabal

00:03:01

 
Name Stage Failure
failed
cabal Cabal
cabal: Could not resolve dependencies:
[__0] trying: gargantext-0.0.6.9.9.5.4 (user goal)
[__1] unknown package: wikiparsec (dependency of gargantext)
[__1] fail (backjumping, conflict set: gargantext, wikiparsec)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: gargantext, wikiparsec

Cleaning up file based variables
ERROR: Job failed: exit code 1