Skip to content
Snippets Groups Projects
Commit b3d8aa77 authored by Lange, Dr. Herbert's avatar Lange, Dr. Herbert
Browse files

rename parameter

parent 1231b5a1
Branches
No related tags found
1 merge request!6add feature to load criteria file from resource and place all criteria files...
...@@ -52,8 +52,8 @@ abstract class AnnotationChecker extends Checker implements CorpusFunction { ...@@ -52,8 +52,8 @@ abstract class AnnotationChecker extends Checker implements CorpusFunction {
public AnnotationChecker(Properties properties) { public AnnotationChecker(Properties properties) {
super(false, properties); super(false, properties);
if (properties.containsKey("tier-ids")) { if (properties.containsKey("annotation-tier-ids")) {
tierIds.addAll(Arrays.asList(properties.getProperty("tier-ids").split(","))); tierIds.addAll(Arrays.asList(properties.getProperty("annotation-tier-ids").split(",")));
setUp = true; setUp = true;
} }
// Tags as list in parameter // Tags as list in parameter
...@@ -161,7 +161,7 @@ abstract class AnnotationChecker extends Checker implements CorpusFunction { ...@@ -161,7 +161,7 @@ abstract class AnnotationChecker extends Checker implements CorpusFunction {
@Override @Override
public Map<String, String> getParameters() { public Map<String, String> getParameters() {
Map<String,String> params = super.getParameters(); Map<String,String> params = super.getParameters();
params.put("tier-ids","Mandatory identificator(s) for the tiers to be checked, separated by commas"); params.put("annotation-tier-ids","Mandatory identifier(s) for the tiers to be checked, separated by commas");
params.put("annotation-tags", "Optional list of expected annotation tags, separated by comma"); params.put("annotation-tags", "Optional list of expected annotation tags, separated by comma");
params.put("annotation-specification", "Optional list of expected annotation tags, in the EXMARaLDA " + params.put("annotation-specification", "Optional list of expected annotation tags, in the EXMARaLDA " +
"Annotation Panel compatible format"); "Annotation Panel compatible format");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment