Commit 3772a95a authored by Alexandre Delanoë's avatar Alexandre Delanoë

Merge branch 'dev-doc-annotation-new-term-no-spaces' of...

Merge branch 'dev-doc-annotation-new-term-no-spaces' of ssh://gitlab.iscpif.fr:20022/gargantext/purescript-gargantext into dev-merge
parents 11a11b2a e6d5a03f
...@@ -179,8 +179,11 @@ normNgramInternal CTabSources = identity ...@@ -179,8 +179,11 @@ normNgramInternal CTabSources = identity
normNgramInternal CTabInstitutes = identity normNgramInternal CTabInstitutes = identity
normNgramInternal CTabTerms = S.toLower <<< R.replace wordBoundaryReg " " normNgramInternal CTabTerms = S.toLower <<< R.replace wordBoundaryReg " "
normNgramWithTrim :: CTabNgramType -> String -> String
normNgramWithTrim nt = DSC.trim <<< normNgramInternal nt
normNgram :: CTabNgramType -> String -> NgramsTerm normNgram :: CTabNgramType -> String -> NgramsTerm
normNgram tabType = NormNgramsTerm <<< normNgramInternal tabType normNgram tabType = NormNgramsTerm <<< normNgramWithTrim tabType
----------------------------------------------------------------------------------- -----------------------------------------------------------------------------------
newtype NgramsElement = NgramsElement newtype NgramsElement = NgramsElement
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment