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
148
Issues
148
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
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
9bdcbf15
Commit
9bdcbf15
authored
Oct 20, 2022
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] Ngrams Extraction without verbs
parent
6023449c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
+2
-4
Group.hs
src/Gargantext/Core/Text/Terms/Multi/Group.hs
+0
-2
En.hs
src/Gargantext/Core/Text/Terms/Multi/Lang/En.hs
+1
-1
Fr.hs
src/Gargantext/Core/Text/Terms/Multi/Lang/Fr.hs
+1
-1
No files found.
src/Gargantext/Core/Text/Terms/Multi/Group.hs
View file @
9bdcbf15
...
@@ -31,5 +31,3 @@ group2 _ _ [x@(TokenTag _ _ (Just _) _)] = [x]
...
@@ -31,5 +31,3 @@ group2 _ _ [x@(TokenTag _ _ (Just _) _)] = [x]
group2
p1
p2
(
x
@
(
TokenTag
_
_
(
Just
_
)
_
)
:
y
@
(
TokenTag
_
_
Nothing
_
)
:
z
)
=
(
x
:
y
:
group2
p1
p2
(
y
:
z
))
group2
p1
p2
(
x
@
(
TokenTag
_
_
(
Just
_
)
_
)
:
y
@
(
TokenTag
_
_
Nothing
_
)
:
z
)
=
(
x
:
y
:
group2
p1
p2
(
y
:
z
))
group2
_
_
[]
=
[]
group2
_
_
[]
=
[]
src/Gargantext/Core/Text/Terms/Multi/Lang/En.hs
View file @
9bdcbf15
...
@@ -25,7 +25,7 @@ import Gargantext.Core.Text.Terms.Multi.Group
...
@@ -25,7 +25,7 @@ import Gargantext.Core.Text.Terms.Multi.Group
groupTokens
::
[
TokenTag
]
->
[
TokenTag
]
groupTokens
::
[
TokenTag
]
->
[
TokenTag
]
groupTokens
[]
=
[]
groupTokens
[]
=
[]
groupTokens
ntags
=
group2
NP
NP
groupTokens
ntags
=
group2
NP
NP
$
group2
NP
VB
--
$ group2 NP VB
-- $ group2 NP IN
-- $ group2 NP IN
$
group2
IN
DT
$
group2
IN
DT
-- $ group2 VB NP
-- $ group2 VB NP
...
...
src/Gargantext/Core/Text/Terms/Multi/Lang/Fr.hs
View file @
9bdcbf15
...
@@ -24,7 +24,7 @@ import Gargantext.Core.Text.Terms.Multi.Group (group2)
...
@@ -24,7 +24,7 @@ import Gargantext.Core.Text.Terms.Multi.Group (group2)
groupTokens
::
[
TokenTag
]
->
[
TokenTag
]
groupTokens
::
[
TokenTag
]
->
[
TokenTag
]
groupTokens
[]
=
[]
groupTokens
[]
=
[]
groupTokens
ntags
=
group2
NP
NP
groupTokens
ntags
=
group2
NP
NP
$
group2
NP
VB
--
$ group2 NP VB
-- group2 NP IN
-- group2 NP IN
-- group2 IN DT
-- group2 IN DT
$
group2
VB
NP
$
group2
VB
NP
...
...
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