Skip to content

Build instructions

Fedor Nikolaev edited this page Jul 4, 2014 · 8 revisions

First, install java 6 or 7 (not 8!) and maven. On Ubuntu, this can be done with

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
echo "export JAVA_HOME=/usr/lib/jvm/java-7-oracle" >> ~/.bashrc
sudo apt-get install maven

Next, install liblbfgs

sudo apt-get install build-essential
cd ~/Downloads
wget https://github.com/downloads/chokkan/liblbfgs/liblbfgs-1.10.tar.gz
tar xvf liblbfgs-1.10.tar.gz
cd liblbfgs-1.10
./configure CFLAGS=-fPIC
make
sudo make install

and crfsuite

cd ..
wget https://github.com/downloads/chokkan/crfsuite/crfsuite-0.12.tar.gz
tar xvf crfsuite-0.12.tar.gz
cd crfsuite-0.12
./configure CFLAGS=-fPIC
make
sudo make install

and crfsuite-jni

cd ..
sudo apt-get install git # if git is not installed already
git clone https://github.com/rgareev/crfsuite4j.git
cd crfsuite4j/crfsuite-jni
make
sudo cp bin/libcrfsuite-jni.so /usr/local/lib/

Next, place models and dictionary somewhere in your file tree and follow instructions on this page: How to configure maven to look up your resources and libs.

Now, install UIMA-Ext to your local maven repo:

cd ~
git clone https://github.com/CLLKazan/UIMA-Ext.git
cd UIMA-Ext/UIMA.Ext.Parent
mvn install
Clone this wiki locally