With this script I can get it up and running all at once:

apt-get install maven

PREFIX=/opt
MODEL_PATH=/opt/dbpedia-spotlight/var/spotlight/data

cd $PREFIX

git clone https://github.com/dbpedia-spotlight/dbpedia-spotlight.git
cd dbpedia-spotlight
mkdir -p $MODEL_PATH
curl http://spotlight.sztaki.hu:2226/nl.tar.gz | tar
--strip-components=1 -C $MODEL_PATH -xzf -
echo "1.0 0.2 -0.2 0.1" > $MODEL_PATH/spotter_thresholds.txt
cd dist
mvn package
apt-get update
dpkg -i dbpedia-spotlight-*.deb || apt-get -fy install

java -jar /usr/share/java/dbpedia-spotlight-0.6-jar-with-dependencies.jar
$MODEL_PATH http://localhost:2222/ &

And you don't need to add the additional &spotter=Default&disambiguator=Default.

2013/3/13 Tom De Caluwé <[email protected]>:
> This works! Thanks!

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Dbp-spotlight-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbp-spotlight-users

Reply via email to