mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-04 06:16:33 +03:00
parser/ner: do not currently support returning activations
This commit is contained in:
parent
1c9be0d8ab
commit
009a96085b
|
@ -667,3 +667,9 @@ cdef class Parser(TrainablePipe):
|
||||||
if state.is_final():
|
if state.is_final():
|
||||||
break
|
break
|
||||||
return states, golds, max_length
|
return states, golds, max_length
|
||||||
|
|
||||||
|
@property
|
||||||
|
def activations(self):
|
||||||
|
# We currently do not have access to the state ids or probabilities
|
||||||
|
# after parsing. TODO: the parser refactor does provide some history.
|
||||||
|
return []
|
||||||
|
|
Loading…
Reference in New Issue
Block a user