Preparation
Install ruby 1.8.x
Clone PatternSearch source from github
Install rubytree with dependecy gem install rubytree
Install stanfordparser gem install stanfordparser Download and copy englishPCFG.ser.gz, stanford-parser.jar to
# Windows:: C:\stanford-parser\current
from http://nlp.stanford.edu/software/stanford-parser-2008-10-26.tgz
Install rjb gem install rjb
Install treebank gem install treebank
Setup jdk Install jdk set environment variable JAVA_HOME to C:\Program Files\Java\jdk1.6.0_xx
Setup Solr Download solr from http://apache.tt.co.kr/lucene/solr/1.3.0/apache-solr-1.3.0.zip Configure solr server copy scheme.xml Start solr server cd {solr root}/example java -jar start.jar http://localhost:8983/solr/admin/
Install solr-ruby gem gem install solr-ruby
Do rake to test!