Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
140
Issues
140
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
haskell-gargantext
Commits
513b860e
Commit
513b860e
authored
Sep 24, 2019
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ELEVE] Specifications to test to fix concurrent multi-terms.
parent
b8fe7755
Pipeline
#579
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
Eleve.hs
src/Gargantext/Text/Terms/Eleve.hs
+5
-0
No files found.
src/Gargantext/Text/Terms/Eleve.hs
View file @
513b860e
...
...
@@ -374,6 +374,11 @@ mainEleve' n x y = mainEleveWith x' n y
where
x'
=
buildTries
n
(
fmap
toToken
x
)
-- | This function should take the longest possible chain of:
-- mainEleve'' n x y = maxChainWith [mainEleve' n x y, mainEleve' n x x]
mainEleve''
::
Int
->
[[
Text
]]
->
[[
Text
]]
->
[[[
Text
]]]
mainEleve''
=
undefined
mainEleveWith
::
Tries
Token
()
->
Int
->
[[
Text
]]
->
[[[
Text
]]]
mainEleveWith
m
n
i
=
fmap
(
split
n
info_autonomy
t
)
(
fmap
toToken
i
)
where
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment