Support meta-manual Answers as gold
Problem
By default all <meta-manual-answer> tags are removed from an incoming document, because they do not have data needed for ML model training.
But sometimes, it's required to count stats using incoming <meta-manual-answer>.
Workaround
Remove
MetaManualTagRemovingPreprocessorfrom the configuration:- Use the following code:
@Named("preprocessors") public List<IPreprocessor> preProcessors() { List<IPreprocessor> preprocessors = new ArrayList<>(); preprocessors.add(new TextPartsPreprocessor()); preprocessors.add(new SpaceRemovingPreprocessor()); return preprocessors; }Update
AutoMLElementHandlerto handle<meta-manual-answer>. See the fixed version:AutoMLElementHandler.java.
note
The provided workaround works only for execution and was not tested on training.
Feature request
The feature request was added to the AutoML backlog but with low priority as such cases are quite rare.