-
Notifications
You must be signed in to change notification settings - Fork 67
Maven Support
Jannik Strötgen edited this page Sep 20, 2016
·
6 revisions
This section explains how to use Maven with HeidelTime.
A basic set of dependencies to use HeidelTime in your project are the following two:
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-core</artifactId>
<version>2.8.1</version>
</dependency>
<dependency>
<groupId>com.github.heideltime</groupId>
<artifactId>heideltime</artifactId>
<version>2.2</version>
</dependency>
Beyond basic functionality, some of HeidelTime's functionality necessitates additional dependencies.
In order to process documents in Arabic (or other languages that the Stanford POS Tagger supports), you will need to add Stanford's CoreNLP package as a dependency:
<dependency>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
<version>3.3.1</version>
</dependency>
In order to use JVnTextPro as a preprocessor for Vietnamese documents, you may need to include the following packages into your Maven manifest:
<dependency>
<groupId>args4j</groupId>
<artifactId>args4j</artifactId>
<version>2.32</version>
</dependency>
<dependency>
<groupId>com.dbtsai.lbfgs</groupId>
<artifactId>lbfgs</artifactId>
<version>0.1</version>
</dependency>
An overview of released HeidelTime versions can be found here: http://mvnrepository.com/artifact/com.github.heideltime/heideltime