mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 12:18:04 +03:00
* Remove TODO comment
This commit is contained in:
parent
fdabd93bfb
commit
f321b2b2eb
|
@ -109,7 +109,7 @@ cdef class GreedyParser:
|
||||||
best.do(&best, state)
|
best.do(&best, state)
|
||||||
else:
|
else:
|
||||||
guess.do(&guess, state)
|
guess.do(&guess, state)
|
||||||
n_corr = gold.heads_correct(state.sent, score_punct=True) # TODO
|
n_corr = gold.heads_correct(state.sent, score_punct=True)
|
||||||
if force_gold and n_corr != tokens.length:
|
if force_gold and n_corr != tokens.length:
|
||||||
raise OracleError
|
raise OracleError
|
||||||
return n_corr
|
return n_corr
|
||||||
|
|
Loading…
Reference in New Issue
Block a user