Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gatenlp/gate-cloud-chemdataextractor
GATE Cloud based wrapper for ChemDataExtractor
https://github.com/gatenlp/gate-cloud-chemdataextractor
Last synced: about 2 months ago
JSON representation
GATE Cloud based wrapper for ChemDataExtractor
- Host: GitHub
- URL: https://github.com/gatenlp/gate-cloud-chemdataextractor
- Owner: GateNLP
- License: mit
- Created: 2021-11-14T19:11:43.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-17T14:37:08.000Z (9 months ago)
- Last Synced: 2024-04-17T15:51:17.999Z (9 months ago)
- Language: Python
- Size: 75.2 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ELG and GATE Cloud wrapper for ChemDataExtractor
This repository contains the configuration to build the ChemDataExtractor app for GATE Cloud. The app is in two parts, an ELG-compatible service that does the actual Python NER, and a thin GATE application that uses the ELG client PR to call the tagger.
## Building the ELG Image
```
docker buildx build -t chemdataextractor:latest .
```The image is also built automatically and pushed to `ghcr.io` when changes are pushed, see the "packages" section to the right for details.
### Updating Dependencies
To aid reproducability we use fixed versions for all dependencies. This includes both within
the conda environent and the python modules```
conda lock -p linux-64 -f environment.yaml
``````
docker run -it --rm --entrypoint /bin/bash ghcr.io/gatenlp/chemdataextractor:main
``````
/env/bin/pip freeze -l | grep ==
```## Building the GATE Cloud Pipeline
The GATE Cloud pipeline is then a thin wrapper which calls the ELG endpoint using the ELG client PR. To build this, run `./gradlew cloudZip` in the `cloud-pipeline` directory and the zip file will be created under `build/distributions`.
## Licence
The code in this repository is licenced under the [MIT licence](LICENSE), as is [ChemDataExtractor](https://github.com/mcs07/ChemDataExtractor) itself.