Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: add extra information to the output #85

Open
pkiraly opened this issue Nov 29, 2021 · 0 comments
Open

Feature request: add extra information to the output #85

pkiraly opened this issue Nov 29, 2021 · 0 comments

Comments

@pkiraly
Copy link
Owner

pkiraly commented Nov 29, 2021

A request came from Deutsche Digitale Bibliothek to add extra information into the output (CSV file). The easiest way to do this is to create a new AnnotationCalculator, which simply emits the information which the user sets by methods of the MeasurementConfiguration:

void setAnnotationConfiguration(String json)
void setAnnotationConfiguration(Map<String, Object> annotations)
MeasurementConfiguration withAnnotationConfiguration(String json)
MeasurementConfiguration withAnnotationConfiguration(Map<String, Object> annotations)

In both cases the input should be a key-value pair, where the key is a string, a value is a string, or a number (integer or double).

The output will simply contain the input among the columns or fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant