-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmireval.bat
23 lines (17 loc) · 1.24 KB
/
mireval.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
set TOPICS=d:\skola\mir\SIGIR-2015\NTCIR11-Math2-queries-participants.xml
set QRELS=d:\skola\mir\SIGIR-2015\NTCIR11_Math-qrels.dat
set OUTPUT_DIR=d:\skola\mir\projects\output\
set RUN_NAME=MIRMU_CMath-coord
set QUERY_URL=http://mir2.fi.muni.cz:8085/webmias-ntcir-12
rem set QUERY_URL=https://mir.fi.muni.cz/webmias-ntcir-or
set "EXECUTABLE=java -cp d:\skola\mir\projects\MIREVal\target\MIREVal-1.0-SNAPSHOT.jar "
rem Next command only gets results of MIaS for the specified topics
rem set CMD_LINE_ARGS=cz.muni.fi.mireval.query.QueryApp -queryurl %QUERY_URL% -runname %1 -topics %TOPICS% -outputdir %OUTPUT_DIR%
rem Next command gets results of MIaS for the specified topics and evaluates them
set CMD_LINE_ARGS=cz.muni.fi.mireval.query.QueryApp -queryurl %QUERY_URL% -runname %1 -topics %TOPICS% -outputdir %OUTPUT_DIR% -qrels d:\skola\mir\SIGIR-2015\NTCIR11_Math-qrels.dat
rem Next command evaluates the specified tsv file according to specified qrels file
rem set CMD_LINE_ARGS=cz.muni.fi.mireval.EvalApp -tsvfile %1 -outputfile %2 -outputdir d:\skola\mir\projects\output\ -qrels d:\skola\mir\SIGIR-2015\NTCIR11_Math-qrels.dat
set CMD="%EXECUTABLE%%CMD_LINE_ARGS%"
call %EXECUTABLE% %CMD_LINE_ARGS%