Sign inSign up

mbartoli/ner

By mbartoli

Updated about 11 years ago

Docker container for Stanford Named Entity Recognizer (NER)

Image
1

2.3K

mbartoli/ner repository overview

docker-ner

Docker container for Stanford Named Entity Recognizer (NER)

Start the NER server within the container

java -mx1000m -cp stanford-ner.jar edu.stanford.nlp.ie.NERServer \     
     -loadClassifier classifiers/english.muc.7class.distsim.crf.ser.gz  \
     -port 8080 -outputFormat inlineXML & 

Example usage with python within the container

import ner
tagger = ner.SocketNER(host='localhost', port=8080)
tagger.get_entities("Pomona College is located in Claremont, California")

Tag summary

Content type

Image

Digest

sha256:fd7cc024a

Size

667.7 MB

Last updated

about 11 years ago

docker pull mbartoli/ner