To prepare, we need to follow these steps:
- Create a new Maven project
- Add the following dependency to the project's POM file:
<!-- https://mvnrepository.com/artifact/de.julielab/aliasi-lingpipe -->
<dependency>
<groupId>de.julielab</groupId>
<artifactId>aliasi-lingpipe</artifactId>
<version>4.1.0</version>
</dependency>
- Download the complete version of LingPipe 4.1.2 from http://alias-i.com/lingpipe/web/download.html
- Extract the Lingpipe-4.1.2.tar file from Lingpipe-4.1.2.tar.gz
- Unzip the files from Lingpipe-4.1.2.tar
- Copy the ...Lingpipe-4.1.2-websitedemosmodelslangid-leipzig.classifier file to the root of the project directory