Named entity recognition with Stanford NER and Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
ENTITIES
Gemfile
README
get_named_entities.rb

README

# Download the Stanford Named Entity Recognizer (NER)
$ curl -O http://nlp.stanford.edu/software/stanford-ner-2012-04-07.tgz
$ tar xvfz stanford-ner-2012-04-07.tgz

# Run NER as a service on port 8080:
$ java -mx1000m -cp stanford-ner-2012-04-07/stanford-ner.jar edu.stanford.nlp.ie.NERServer -loadClassifier stanford-ner-2012-04-07/classifiers/english.muc.7class.distsim.crf.ser.gz -port 8080 -outputFormat inlineXML &

# Install required gems
$ bundle install

# Try it
$ ruby get_named_entities.rb

# Optionally, pass in your own http address
$ ruby get_named_entities.rb http://example.com