operators.candidates.reducer.EntityLastReducer
- class operators.candidates.reducer.EntityLastReducer(preds_col='preds', probs_col='probs')
Reduces span predictions for a document entity to the last occuring span of that entity.
Reduces span predictions for a document entity to the last occuring span of that entity.