operators.candidates.reducer.DocumentFirstReducer
- class operators.candidates.reducer.DocumentFirstReducer(preds_col='preds', probs_col='probs')
Reduces span predictions in a document to the span which occurs first.
Reduces span predictions in a document to the span which occurs first.