Install Notes: Stanford Named Entity Recognition on Ubuntu 17.04

A few years ago, I wrote a guide to using Stanford Natural Language Processing Group‘s named entity recognition (NER) package to generate quick reports of documents, showing how it can be used to list and rank the personal, geographical, and organizational names in a text. In the coming days I plan on updating this guide, with some slightly more elegant code.

In the meantime, though,  here are some quick installation instructions for Stanford NER on Ubuntu 17.04. Open up a terminal and navigate to the directory where you would like run the program from. (I tend to use ~/run/ but that’s just my own preference.) The following commands with download and install Stanford NER and satisfy all its dependencies:

sudo apt-get update; sudo apt-get upgrade -y
sudo apt-get install default-jre default-jdk aria2 -y
aria2c -x3 https://nlp.stanford.edu/software/stanford-ner-2016-10-31.zip
unzip stanford*.zip
rm stanford*.zip
mv stanford* stanford-ner

In the next few days, I’ll post an updated guide to analyzing documents with Stanford NER.

This content is published under the Attribution-Noncommercial-Share Alike 3.0 Unported license.