diff --git a/spacy/pipeline.pyx b/spacy/pipeline.pyx index 634d3e4b5..d1a2a2964 100644 --- a/spacy/pipeline.pyx +++ b/spacy/pipeline.pyx @@ -653,14 +653,6 @@ cdef class NeuralEntityRecognizer(NeuralParser): nr_feature = 6 - def predict_confidences(self, docs): - tensors = [d.tensor for d in docs] - samples = [] - for i in range(10): - states = self.parse_batch(docs, tensors, drop=0.3) - for state in states: - samples.append(self._get_entities(state)) - def __reduce__(self): return (NeuralEntityRecognizer, (self.vocab, self.moves, self.model), None, None)