mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 09:26:27 +03:00
* Remove whitespace
This commit is contained in:
parent
3feb52374c
commit
1705eccbbe
|
@ -105,11 +105,9 @@ cdef class GreedyParser:
|
||||||
cdef Transition guess
|
cdef Transition guess
|
||||||
cdef Transition best
|
cdef Transition best
|
||||||
cdef atom_t[CONTEXT_SIZE] context
|
cdef atom_t[CONTEXT_SIZE] context
|
||||||
|
|
||||||
while not is_final(state):
|
while not is_final(state):
|
||||||
fill_context(context, state)
|
fill_context(context, state)
|
||||||
scores = self.model.score(context)
|
scores = self.model.score(context)
|
||||||
|
|
||||||
guess = self.moves.best_valid(scores, state)
|
guess = self.moves.best_valid(scores, state)
|
||||||
best = self.moves.best_gold(scores, state, gold)
|
best = self.moves.best_gold(scores, state, gold)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user