Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Complete, concise instructions to build, train, and run a simple Natural Language Parsing program to tag parts of speech (PoS). Instructions are for Unix, but can easily adapt for Windows.

...

  1. Download and install Java.
  2. Download and install Maven.
  3. Download OpenNLP.
  4. Download a PoS Treebank into $HOME/archives/pos:
  1. Create development area:
    mkdir -p $HOME/dev/java/
  2. Change to development area:
    cd $HOME/dev/java
  3. Extract files:
    tar zxf $HOME/archives/apache-opennlp-*-incubating-src.tar.gz
  4. Rename directory:
    mv apache-opennlp-*-incubating-src opennlp