mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-04 20:30:24 +03:00
parent
f638195bd7
commit
5fd419caf8
|
@ -33,7 +33,7 @@ class GreedyBatch(Batch):
|
||||||
self._next_states = self._moves.transition_states(self._next_states, scores)
|
self._next_states = self._moves.transition_states(self._next_states, scores)
|
||||||
|
|
||||||
def advance_with_actions(self, actions):
|
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):
|
def get_states(self):
|
||||||
return self._states
|
return self._states
|
||||||
|
|
Loading…
Reference in New Issue
Block a user