Public | Automated Build

Last pushed: 2 years ago
Short Description
RESTful API for named entity recognition.
Full Description


RESTful API for named entity recognition.

Start the docker container and run the API on port 3000:

docker run -p 3000:3000 mbartoli/restful-ner 

Example usage:

curl http://localhost:3000/ner -d "data=Pomona College is located in Claremont, California" -X PUT
    "LOCATION": [
        "Pomona College"

The current implementation requires starting the ner server and flask application manually. You can do this by running the following two commands

java -mx1000m -cp stanford-ner.jar -loadClassifier classifiers/english.muc.7class.distsim.crf.ser.gz -port 8080 -outputFormat inlineXML &
python /home/restful-ner/ner/

Docker Hub: mbartoli/restful-ner

Docker Pull Command
Source Repository