Skip to content
This repository has been archived by the owner on Jun 24, 2019. It is now read-only.

Dockerfile with Stanford Named Entity Recognizer packed with HTTP server.

License

Notifications You must be signed in to change notification settings

lawinsider/stanford-ner-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stanford NER Docker

Dockerfile with Stanford Named Entity Recognizer packed with HTTP server which will answer with JSON on POST or GET requests with query variable.

This Mortgage Loan Purchase Agreement, dated as of February 25, 2015, is between J.P. Morgan Chase Commercial Mortgage Securities Corp., as purchaser and Barclays Bank PLC, as seller.
{"DATE": ["February 25, 2015"], "ORGANIZATION": ["J.P. Morgan Chase Commercial Mortgage Securities Corp.", "Barclays Bank PLC"]}

Base Docker Image

Installation

  1. Install Docker.

  2. Download automated build from public Docker Hub Registry:

docker pull lawinsider/stanford-ner-docker

alternatively, you can build an image from Dockerfile:

docker build -t="lawinsider/stanford-ner-docker" github.com/lawinsider/stanford-ner-docker

Usage

Note that if you use OSX with boot2docker you will need to use boot2docker ip instead of localhost.

$ docker run -d -p 4465:80 lawinsider/stanford-ner-docker
$ curl "localhost?query=This%20Mortgage%20Loan%20Purchase%20Agreement,%20dated%20as%20of%20February%2025,%202015,%20is%20between%20J.P.%20Morgan%20Chase%20Commercial%20Mortgage%20Securities%20Corp.,%20as%20purchaser%20and%20Barclays%20Bank%20PLC,%20as%20seller."
{"DATE": ["February 25, 2015"], "ORGANIZATION": ["J.P. Morgan Chase Commercial Mortgage Securities Corp.", "Barclays Bank PLC"]}

Deployment

The image respects the PORT environment variable, making it suitable for deployment on most modern container hosts.

About

Dockerfile with Stanford Named Entity Recognizer packed with HTTP server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages