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
160
Issues
160
List
Board
Labels
Milestones
Merge Requests
14
Merge Requests
14
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
87f3431a
Verified
Commit
87f3431a
authored
Jul 27, 2023
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[corenlp] update stanford coreNLP to 4.5.4
parent
323c3500
Pipeline
#4481
failed with stages
in 5 minutes and 40 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
2 deletions
+28
-2
.gitignore
devops/coreNLP/.gitignore
+1
-0
Dockerfile
devops/coreNLP/Dockerfile
+2
-1
build.sh
devops/coreNLP/build.sh
+20
-0
startServer.sh
devops/coreNLP/startServer.sh
+3
-0
docker-compose.yaml
devops/docker/docker-compose.yaml
+2
-1
No files found.
devops/coreNLP/.gitignore
0 → 100644
View file @
87f3431a
stanford-corenlp-*
devops/coreNLP/Dockerfile
View file @
87f3431a
FROM
openjdk
ADD
home/debian/CoreNLP /CoreNLP
#ADD home/debian/CoreNLP /CoreNLP
ADD
stanford-corenlp-current /CoreNLP
WORKDIR
/CoreNLP
CMD
./startServer.sh
devops/coreNLP/build.sh
0 → 100755
View file @
87f3431a
#!/bin/bash
# releases are here:
# https://stanfordnlp.github.io/CoreNLP/history.html
VERSION
=
4.5.4
FILE
=
"stanford-corenlp-
${
VERSION
}
.zip"
DIR_V
=
"stanford-corenlp-
${
VERSION
}
"
DIR
=
"stanford-corenlp-current"
URL
=
"http://nlp.stanford.edu/software/
${
FILE
}
"
[
!
-f
${
FILE
}
]
&&
echo
'Fetching file'
&&
wget
${
URL
}
-O
${
FILE
}
[
!
-d
${
DIR_V
}
]
&&
echo
'Unzipping file'
&&
unzip ./
${
FILE
}
[
!
-L
${
DIR
}
]
&&
echo
"Symlinking
${
DIR_V
}
->
${
DIR
}
"
&&
ln
-s
${
DIR_V
}
${
DIR
}
[
!
-f
${
DIR
}
/startServer.sh
]
&&
echo
"Copying startServer.sh"
&&
cp
./startServer.sh
${
DIR
}
/
echo
"You can now build with: docker build -t cgenie/corenlp-garg:
${
VERSION
}
"
--pull
.
devops/coreNLP/startServer.sh
0 → 100755
View file @
87f3431a
#!/bin/sh
java
-mx4g
-cp
"*"
edu.stanford.nlp.pipeline.StanfordCoreNLPServer
-port
9000
-timeout
15000
devops/docker/docker-compose.yaml
View file @
87f3431a
...
...
@@ -52,7 +52,8 @@ services:
-
pgadmin:/var/lib/pgadmin
corenlp
:
image
:
'
cgenie/corenlp-garg'
#image: 'cgenie/corenlp-garg:latest'
image
:
'
cgenie/corenlp-garg:4.5.4'
ports
:
-
9000:9000
...
...
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