From 2049b363962a48a37c88d54af438650dd4e76525 Mon Sep 17 00:00:00 2001 From: Luca Foppiano Date: Mon, 25 Nov 2024 09:13:03 +0000 Subject: [PATCH] fix arguments --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index f0d998c910..ef81e9da94 100644 --- a/build.gradle +++ b/build.gradle @@ -580,7 +580,7 @@ project(":grobid-trainer") { task(jatsEval, dependsOn: 'classes', type: JavaExec, group: 'modelevaluation') { main = 'org.grobid.trainer.evaluation.EndToEndEvaluation' classpath = sourceSets.main.runtimeClasspath - args 'nlm', getArg('p2t', '.'), getArg('run', '0'), getArg('fileRatio', '1.0') + args 'nlm', getArg('p2t', '.'), getArg('run', '0'), getArg('fileRatio', '1.0'), getArg('flavor', null) if (JavaVersion.current().compareTo(JavaVersion.VERSION_1_8) > 0) { jvmArgs '-Xmx3072m', "--add-opens", "java.base/java.lang=ALL-UNNAMED" } else { @@ -592,7 +592,7 @@ project(":grobid-trainer") { task(teiEval, dependsOn: 'classes', type: JavaExec, group: 'modelevaluation') { main = 'org.grobid.trainer.evaluation.EndToEndEvaluation' classpath = sourceSets.main.runtimeClasspath - args 'tei', getArg('p2t', '.'), getArg('run', '0'), getArg('fileRatio', '1.0') + args 'tei', getArg('p2t', '.'), getArg('run', '0'), getArg('fileRatio', '1.0'), getArg('flavor', null) if(JavaVersion.current().compareTo(JavaVersion.VERSION_1_8) > 0) { jvmArgs '-Xmx3072m', "--add-opens", "java.base/java.lang=ALL-UNNAMED" } else {