This page is obsolete, please go to https://github.com/Bibliome/alvisnlp¶
Getting Started with AlvisNLP/ML¶
- Table of contents
- This page is obsolete, please go to https://github.com/Bibliome/alvisnlp
- Getting Started with AlvisNLP/ML
Requirements¶
- AlvisNLP/ML Sources:
- Subversion repository: http://genome.jouy.inra.fr/svn_alvisnlp, or
- Sources archive
- Java >= 7 + JDK
ant >= 1.9.6Weka = 3.6.1- Maven >= 3.3.9
Requirements included in the repo¶
These requirements do not need to be downloaded, they are listed here for information.
- tuProlog
- project:alvisir2 Core library
- OBO-Edit library
- Tools Java Utils
- JLine
- json-simple
- lucene
- NekoHTML
- PostgreSQL JDBC driver
- Xerces
- Xalan
- JavaCC
- Jena
- nanoHTTPd
- StanfordNER
Compilation¶
Inform requirements¶
- Make sure your
JAVA_HOME
environment variable points to the right Java install. Make sure yourANT_HOME
environment variable points to the right Ant install.Make sure yourPATH
environment variable searches for the rightant
.Edit thebuild.properties
file and set theweka.jarfile
to the path to theweka-3-6.jar
file.- Make sure your
PATH
environment variable searches for the rightmvn
.
[optional] Inform default parameter values¶
You can fill in values in the file core/src/main/resources/alvisnlp/app/cli/default-param-values.xml
.
These values are default parameter values for the specified modules.
Compile¶
mvn clean install
This will fetch prerequisites and build AlvisNLP/ML.
Install¶
Before installing, the code must be compiled:
./install.sh INSTALL_DIR
INSTALL_DIR
is the directory where AlvisNLP/ML will be installed. (!) The install.sh
script deletes and re-creates INSTALL_DIR
, except if the target directory is the current directory (.
).
Several subdirectories are created:
bin
:alvisnlp
executabledoc
: documentation (HTML API, HTML modules, PDF guides)lib
: core and module libraries, dependencies, (!) except for Wekashare
: miscellanous helper files
Run AlvisNLP/ML¶
$INSTALL_DIR/bin/alvisnlp -help
Another option is to put $INSTALL_DIR/bin
in the PATH
environment variable.
export PATH=$INSTALL_DIR/bin:$PATH
alvisnlp -help