Skip to content

ljsking/PatternSearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preparation
1. Install ruby 1.8.x

2. Clone PatternSearch source from github

3. Install rubytree with dependecy
	gem install rubytree

4. Install stanfordparser
	gem install stanfordparser
	Download and copy englishPCFG.ser.gz, stanford-parser.jar to
		# UNIX:: /usr/local/stanford-parser/current
		# Windows:: C:\stanford-parser\current
		from http://nlp.stanford.edu/software/stanford-parser-2008-10-26.tgz

5. Install rjb
	gem install rjb

6. Install treebank
	gem install treebank

7. Setup jdk
	Install jdk
	set environment variable JAVA_HOME to C:\Program Files\Java\jdk1.6.0_xx

9. 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/

8. Install solr-ruby gem
	gem install solr-ruby


9. Do rake to test!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published