mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 00:46:28 +03:00
* Use the dynamic oracle 'follow' strategy
This commit is contained in:
parent
60ffdc2eb7
commit
95282d4993
|
@ -100,7 +100,7 @@ cdef class NERParser:
|
|||
self.extractor.count(counts[guess.clas], self._feats, -1)
|
||||
self.model.update(counts)
|
||||
gold_str = self.tag_names[gold.clas]
|
||||
transition(s, gold)
|
||||
transition(s, guess)
|
||||
tokens.ner[s.i-1] = s.tags[s.i-1]
|
||||
return n_correct
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user