With this PR, we check if the annotation layer names required in the taskmodules match the ones in the document types that they usually would request and request no document type in the case of a mismatch (but log a warning).
This also changes the default value for annotation in TransformerTextClassificationTaskModule to "label" to match the requested document type (this was missed in #359).
With this PR, we check if the annotation layer names required in the taskmodules match the ones in the document types that they usually would request and request no document type in the case of a mismatch (but log a warning).
This also changes the default value for
annotation
inTransformerTextClassificationTaskModule
to"label"
to match the requested document type (this was missed in #359).