Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 948 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 948 Bytes

opener-docker-ner

Deploy to Azure Docker Pulls

Dockerfile for OpeNER named-entity recognition service.

Run and test locally:

docker run -p 8080:80 cwolff/opener-docker-language-identifier
docker run -p 8081:80 cwolff/opener-docker-tokenizer
docker run -p 8082:80 cwolff/opener-docker-pos-tagger
docker run -p 8083:80 cwolff/opener-docker-ner

text="I went to Rome last year. It was fantastic."
text="$(curl -d "input=$text" http://localhost:8080)"
text="$(curl -d "input=$text" http://localhost:8081)"
text="$(curl -d "input=$text" http://localhost:8082)"
curl -d "input=$text" http://localhost:8083