From 5fd419caf89aba7595a8cc0e0c65ffbe2788a79e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danie=CC=88l=20de=20Kok?= Date: Tue, 10 Jan 2023 19:26:47 +0100 Subject: [PATCH] Fix a rename that was missed in #10878. So that rehearsal tests pass. --- spacy/pipeline/_parser_internals/batch.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/pipeline/_parser_internals/batch.pyx b/spacy/pipeline/_parser_internals/batch.pyx index 93b8e08c1..91073b52e 100644 --- a/spacy/pipeline/_parser_internals/batch.pyx +++ b/spacy/pipeline/_parser_internals/batch.pyx @@ -33,7 +33,7 @@ class GreedyBatch(Batch): self._next_states = self._moves.transition_states(self._next_states, scores) def advance_with_actions(self, actions): - self._next_states = self._moves.apply_transitions(self._next_states, actions) + self._next_states = self._moves.apply_actions(self._next_states, actions) def get_states(self): return self._states