Installation
Before Install
Make sure Java 8 and Maven 3 are installed on your machine.
Maven Project
For application programming interface (API), add the following dependency to pom.xml
:
<dependency>
<groupId>edu.emory.mathcs.nlp</groupId>
<artifactId>nlp4j-api</artifactId>
<version></version>
</dependency>
For command-line interface (CLI), add the following dependency to pom.xml
:
<dependency>
<groupId>edu.emory.mathcs.nlp</groupId>
<artifactId>nlp4j-cli</artifactId>
<version></version>
</dependency>
For English models, add the following dependency to pom.xml
.
<dependency>
<groupId>edu.emory.mathcs.nlp</groupId>
<artifactId>nlp4j-english</artifactId>
<version></version>
</dependency>
Install the maven project:
mvn clean install
Run the following command:
mvn exec:java -Dexec.mainClass="edu.emory.mathcs.nlp.bin.Version"
If you see the following message, it is properly installed:
=========================================
NLP4J Version
Contact: choi@mathcs.emory.edu
Webpage: https://emorynlp.github.io/nlp4j
=========================================
Command-line Tools
Download nlp4j-appassembler-.tgz, and uncompress it. This assembler includes all necessary class files as well as the english models. All the command-line tools can be found in the bin/
directory. Run the following command for testing:
bin/version
If you see the following message, it is properly installed:
=========================================
NLP4J Version
Contact: choi@mathcs.emory.edu
Webpage: https://emorynlp.github.io/nlp4j
=========================================