SemanticVectors: Still in development and maintenance. It seems to be a nice possibility. However there are several problems with the compatibility of Lucene and SV.
Please read the very last point before starting this tutorial.
This is an installation tutorial for dolts like me, that means, I wrote it after fighting for hours with my lack of intelligence. I hope it helps you to install SemanticVectors quickly. You might need several things before installing SV, in particular a java developer kit, a building tool (ant) and Lucene, a library to search text. Everything is documented in this tutorial.
sudo apt-get install openjdk-6-jdk sudo apt-get install ant sudo apt-get install ant-doc
ant -version
You should get something like
Apache Ant version 1.7.1 compiled on September 8 2010
ant
echo $CLASSPATH
gedit .bashrc
export {location of lucene}/lucene-3.0.2/lucene-demos-3.0.2.jar:{location of lucene}/lucene-3.0.2/lucene-core-3.0.2.jar"
in my case:
export CLASSPATH="/home/eduardo/programas/lucene/lucene-3.0.2/lucene-demos-3.0.2.jar:/home/eduardo/programas/lucene/lucene-3.0.2/lucene-core-3.0.2.jar"
java org.apache.lucene.demo.IndexFiles {complete bible_chapters path}
java org.apache.lucene.demo.IndexFiles /home/eduardo/programas/SemanticVectors/bible_chapters
export CLASSPATH="/home/eduardo/programas/lucene/lucene-3.0.2/lucene-demos-3.0.2.jar:/home/eduardo/programas/lucene/lucene-3.0.2/lucene-core-3.0.2.jar:/home/eduardo/programas/SemanticVectors/semanticvectors-1.8.jar"
java pitt.search.semanticvectors.BuildIndex {location in your computer}/bible_chapters/index/
— Eduardo Aponte 2010/10/31 13:49