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
145
Issues
145
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
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
5ef12110
Commit
5ef12110
authored
Dec 09, 2022
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] Graph Removing Hapax
parent
0dd81eb6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
gargantext.cabal
gargantext.cabal
+1
-1
API.hs
src/Gargantext/Core/Viz/Graph/API.hs
+2
-2
No files found.
gargantext.cabal
View file @
5ef12110
...
...
@@ -5,7 +5,7 @@ cabal-version: 1.12
-- see: https://github.com/sol/hpack
name: gargantext
version: 0.0.6.8.5.7
version:
0.0.6.8.5.7
synopsis: Search, map, share
description: Please see README.md
category: Data
...
...
src/Gargantext/Core/Viz/Graph/API.hs
View file @
5ef12110
...
...
@@ -212,8 +212,8 @@ computeGraph corpusId partitionMethod bridgeMethod similarity strength (nt1,nt2)
pure
(
m1
,
m2
)
-- Removing the hapax (ngrams with 1 cooc)
let
!
myCooc
=
HashMap
.
filter
(
>
1
)
$
getCoocByNgrams''
(
Diagonal
True
)
(
identity
,
identity
)
(
m1
,
m2
)
let
!
myCooc
=
{- HashMap.filter (>0
)
$
-}
getCoocByNgrams''
(
Diagonal
True
)
(
identity
,
identity
)
(
m1
,
m2
)
-- TODO MultiPartite Here
graph
<-
liftBase
...
...
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