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
bd81f8dc
Verified
Commit
bd81f8dc
authored
Mar 23, 2023
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[nlp] corenlps/johnsnows/spacys for https versions of schema
parent
88c41939
Pipeline
#3793
failed with stage
in 33 minutes and 30 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
gargantext.ini_toModify
gargantext.ini_toModify
+7
-0
NLP.hs
src/Gargantext/Core/NLP.hs
+12
-0
No files found.
gargantext.ini_toModify
View file @
bd81f8dc
...
...
@@ -86,6 +86,13 @@ MAIL_FROM =
MAIL_LOGIN_TYPE = Normal
[nlp]
# Possible choices (see Gargantext.Core.NLP):
# - spacy:// (for http:// Spacy)
# - spacys:// (for https:// Spacy)
# - corenlp:// (for http:// CoreNLP)
# - corenlps:// (for https:// CoreNLP)
# - johnsnow:// (for http:// JohnSnow)
# - johnsnows:// (for https:// JohnSnow)
EN = corenlp://localhost:9000
FR = spacy://localhost:8001
All = corenlp://localhost:9000
src/Gargantext/Core/NLP.hs
View file @
bd81f8dc
...
...
@@ -28,14 +28,26 @@ nlpServerConfigFromURI uri@(URI { uriScheme = "corenlp:" }) =
Just
$
NLPServerConfig
{
server
=
CoreNLP
,
url
=
uri
{
uriScheme
=
"http:"
}
}
nlpServerConfigFromURI
uri
@
(
URI
{
uriScheme
=
"corenlps:"
})
=
Just
$
NLPServerConfig
{
server
=
CoreNLP
,
url
=
uri
{
uriScheme
=
"https:"
}
}
nlpServerConfigFromURI
uri
@
(
URI
{
uriScheme
=
"johnsnow:"
})
=
Just
$
NLPServerConfig
{
server
=
JohnSnowServer
,
url
=
uri
{
uriScheme
=
"http:"
}
}
nlpServerConfigFromURI
uri
@
(
URI
{
uriScheme
=
"johnsnows:"
})
=
Just
$
NLPServerConfig
{
server
=
JohnSnowServer
,
url
=
uri
{
uriScheme
=
"https:"
}
}
nlpServerConfigFromURI
uri
@
(
URI
{
uriScheme
=
"spacy:"
})
=
Just
$
NLPServerConfig
{
server
=
Spacy
,
url
=
uri
{
uriScheme
=
"http:"
}
}
nlpServerConfigFromURI
uri
@
(
URI
{
uriScheme
=
"spacys:"
})
=
Just
$
NLPServerConfig
{
server
=
Spacy
,
url
=
uri
{
uriScheme
=
"https:"
}
}
nlpServerConfigFromURI
_
=
Nothing
...
...
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