10パターンFP check

run command script

# setup solr server and birthmark server
for num in $(seq 100 100 1000)
do
  cd ./"$num"-jars-server
  git clone https://github.com/mitubaEX/birthmark_server.git
  curl -o solr-6.4.1.zip http://archive.apache.org/dist/lucene/solr/6.4.1/solr-6.4.1.zip
  unzip solr-6.4.1.zip

  cd birthmark_server && git clone https://github.com/tamada/stigmata.git
  cd stigmata && mvn package
  cd ../..
done

# copy each jar files to <birthmark_server/data/jar>
# after, run create birthmark_xml script
for num in $(seq 100 100 1000)
do
  cd ./"$num"-jars-server
  cd birthmark_server/script/xml_create && sh find_jar_ext_birthmark.sh 2gram 3gram 4gram 5gram 6gram uc
  mkdir ../../data/birth_xml && for i in 2gram 3gram 4gram 5gram 6gram uc ; do python birthmark_xml_create_python3.py "$i";done

  cd ../../../..
done

OK. You can start experimental.

Please install dependency.

# java8
brew cask install java8

# python3
brew install python3

# wget
brew install wget

# requests
pip3 install requests

Please run script.

# start server and setup
sh start.sh

# reset research tool condition
sh remove_ToolForResearch.sh

# search!
sh search.sh

# calculate comparison number of each birthmark.
sh count_num.sh

TODO