Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Przemyslaw Kaminski
haskell-gargantext
Commits
ea808e49
Unverified
Commit
ea808e49
authored
Nov 22, 2018
by
Nicolas Pouillard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak instance Arbitrary NgramsTable
parent
70a01c91
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
Ngrams.hs
src/Gargantext/API/Ngrams.hs
+3
-4
No files found.
src/Gargantext/API/Ngrams.hs
View file @
ea808e49
...
...
@@ -116,16 +116,15 @@ instance Arbitrary NgramsTable where
[
NgramsTable
[
NgramsElement
"animal"
GraphList
1
Nothing
(
Set
.
fromList
[
"dog"
,
"cat"
])
,
NgramsElement
"cat"
GraphList
1
(
Just
"animal"
)
mempty
,
NgramsElement
"cats"
StopList
4
Nothing
mempty
,
NgramsElement
"dog"
GraphList
3
(
Just
"animal"
)(
Set
.
fromList
[
"dogs"
])
,
NgramsElement
"dogs"
StopList
4
(
Just
"dog"
)
mempty
,
NgramsElement
"fox"
GraphList
1
Nothing
mempty
,
NgramsElement
"object"
CandidateList
2
Nothing
mempty
,
NgramsElement
"nothing"
StopList
4
Nothing
mempty
]
,
NgramsTable
[
NgramsElement
"organic"
GraphList
3
Nothing
(
Set
.
singleton
"flower"
)
,
NgramsElement
"organic"
GraphList
3
Nothing
(
Set
.
singleton
"flower"
)
,
NgramsElement
"flower"
GraphList
3
(
Just
"organic"
)
mempty
,
NgramsElement
"moon"
CandidateList
1
Nothing
mempty
,
NgramsElement
"cat"
GraphList
2
Nothing
mempty
,
NgramsElement
"sky"
StopList
1
Nothing
mempty
]
]
...
...
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