diff --git a/concordia-clear-jrc.sh b/concordia-clear-jrc.sh new file mode 100755 index 0000000..55427ae --- /dev/null +++ b/concordia-clear-jrc.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +rm prod/resources/temp/* +rm prod/resources/text-files/jrc_smaller.txt diff --git a/concordia-index-jrc.sh b/concordia-index-jrc.sh new file mode 100755 index 0000000..197026f --- /dev/null +++ b/concordia-index-jrc.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +echo "CONCORDIA INDEXER: Decompressing test file" + +xz -dk prod/resources/text-files/jrc_smaller.txt.xz + +echo "CONCORDIA INDEXER: Running Concordia" + +rm prod/resources/temp/* + +echo "CONCORDIA INDEXER: reading from file" +./build/concordia-console/concordia-console -c prod/resources/concordia-config/concordia.cfg -r prod/resources/text-files/jrc_smaller.txt + + diff --git a/concordia-search-jrc.sh b/concordia-search-jrc.sh new file mode 100755 index 0000000..f8fd90c --- /dev/null +++ b/concordia-search-jrc.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +echo "CONCORDIA SEARCHER: searching for pattern: \"Parlamentu Europejskiego\"" +./build/concordia-console/concordia-console -c prod/resources/concordia-config/concordia.cfg -s "Parlamentu Europejskiego" -n +echo "CONCORDIA SEARCHER: searching for pattern: \"Dostęp do zatrudnienia\"" +./build/concordia-console/concordia-console -c prod/resources/concordia-config/concordia.cfg -s "Dostęp do zatrudnienia" -n +