Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
corpus-services
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lange, Dr. Herbert
corpus-services
Commits
b3d8aa77
Commit
b3d8aa77
authored
3 years ago
by
Lange, Dr. Herbert
Browse files
Options
Downloads
Patches
Plain Diff
rename parameter
parent
1231b5a1
No related branches found
No related tags found
Loading
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/uni_hamburg/corpora/validation/quest/AnnotationChecker.java
+3
-3
3 additions, 3 deletions
...i_hamburg/corpora/validation/quest/AnnotationChecker.java
with
3 additions
and
3 deletions
src/main/java/de/uni_hamburg/corpora/validation/quest/AnnotationChecker.java
+
3
−
3
View file @
b3d8aa77
...
@@ -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 identifi
cato
r(s) for the tiers to be checked, separated by commas"
);
params
.
put
(
"
annotation-
tier-ids"
,
"Mandatory identifi
e
r(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"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment