This repository contains a Python application that creates a Flask server to serve a NeuroNER API. NeuroNER is a named entity recognition (NER) system that uses deep learning to identify entities in text. With this API, you can easily integrate NeuroNER into your applications.
In the root folder create a folder named model and in here store your Neuro NER pickle and checkpoint files. the root directory should look like this.
- model
- parameters.ini
- dataset.pickle
- model.ckpt.data-0000-of-000001
- model.ckpt.index
- model.ckpt.meta
- PharmaCoNER-Tagger
- Dockerfile
- app.py
docker build -t <name_of_image> .
docker run -p 8003:5000 -t <name_of_image>
docker tag <name_of_image>:latest <github_user>/<name_of_image>
docker push <github_user>/<name_of_image>:latest