dkpro / dkpro-tc

UIMA-based text classification framework built on top of DKPro Core and DKPro Lab.
https://dkpro.github.io/dkpro-tc/
Other
34 stars 19 forks source link

Add parameter to TcAnnotator to remove target annotations after classification #455

Closed reckart closed 6 years ago

reckart commented 6 years ago

When using TcAnnotator in production, it may not be necessary to retain the TextClassificationTarget annotations. It would be nice if there was a parameter to automatically remove them, e.g. PARAM_RETAIN_TARGETS with a default value of true for backwards compatibility.