Running the latest repository version¶
1. Make sure you're using java 7 (on bibdev
, see /bibdev/install/java/environ.7.sh
).
2. Make sure you're using the latest Apache ant
(on bibdev
, see /bibdev/install/apache-ant-1.7.1/environ.sh
).
3. Get the sources from SVN:
svn co 'svn+ssh://bibdev/bibdev/svn/trunk/REORGANISATION/outils/linguistique/annotation/chaines/alvisnlp/trunk' alvisnlp cd alvisnlp4. If you are not comiling from
bibdev
, edit build.properties
. This properties file specifies the locations of the following dependencies:
- JavaCC (5.0, BSD)
- tuProlog (2.2, LGPL)
- json-simple (1.1, Apache 2.0)
- JLine (1.0, BSD)
- Weka (3.6.1, GPL2)
All dependencies but Weka
are distributed with AlvisNLP/ML so the default values should be ok.
However you must set the weka.jarfile
property to the path of the weka.jar
file.
CCGPosTagger
andCCGParser
require C&C tools (1.00, custom license) - these modules have not been tested with OpenCCGYateaExtractor
andYateaProjector
require YaTeA (0.6, GPL2) or BioYaTeAGeniaTagger
requires GENIA tagger (3.0.1, NetBSD?)TreeTagger
requires TreeTagger (3.2, custom license)
5. Compile:
ant realclean jarfiles
7. Run:
bin/alvisnlp
When you run AlvisNLP/ML, it assumes that there is a lib/
directory in the same directory than bin/
.