AlvisNLP/ML is a configurable NLP batch processing pipeline. It annotates text documents for the semantic annotation of textual documents. It integrates Natural Language Processing (NLP) tools for sentence and word segmentation, named-entity recognition, term analysis, semantic typing and relation extraction. These tools rely on resources such as terminologies or ontologies for the adaptation to the application domain. Alvis NLP/ML contains several tools for (semi)-automatic acquisition of these resources, using Machine Learning (ML) techniques. New components can be easily integrated into the pipeline. Part of this work has been funded by the European project Alvis and the French project Quaero.
- Nédellec et al., Handbook on Ontology, 2009.
- Ba et Bossy, Interoperability of corpus processing work-flow engines: the case of AlvisNLP/ML in OpenMinTeD, 2016
Please contact Robert Bossy if you have any questions.
This file contains instructions to download, compile AlvisNLP/ML, install the command-line interface, and deploy the web application.
The instructions assume you are running on a Unix system with a shell.
If you are running on Windows, then check the instructions in the
- Java >= 8
- Maven >= 3.0.5
git clone https://github.com/Bibliome/alvisnlp
Compile and build
mvn clean install
Host-specific parameter values
We recommend that you set default parameter values for your host. These parameter values avoid to set parameters in plans for external tools.
cp share/default-param-values.xml.template share/default-param-values.xml
This will create a standard default parameter file in
Edit this file and fill parameter values appropriate for your host.
Default command-line options
If you wish your installed AlvisNLP/ML to run with default command-line options, then you put them on the file named
default-options.txt in the
Once installed, the options will be automatically prepended to each invocation of
share directory, there is an example file named
Copy files to installation directory
DIR is the base directory of your AlvisNLP/ML install.
This directory must exist.
Launch this script as
root if necessary.
DIR is the base directory of your AlvisNLP/ML install. You migh also add the
DIR/bin sub-directory to your
PATH environment variable.
Deploy the the
alvisnlp-rest/target/alvisnlp-rest.war file in your favourite application container.
For instance, on glassfish, run:
asadmin deploy --contextroot CONTEXT --name NAME alvisnlp-rest/target/alvisnlp-rest.war
Set context parameters
Set the following context parameters:
||Absolute URL of the deployed AlvisNLP/ML application.
It should usually be the URL of the container cocatenated with the application context root.
||Directory where the data for each run will be stored.|
||Directory where exposed plans are found.|
||Directory where to find resources used in plans.|
||Fully qualified name of the class that launches runs.
Jetty Maven Plugin
You can quick-test the Web Service with the Jetty Maven Plugin:
From a browser open the URL of the AlvisNLP/ML application.