mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-21 17:41:59 +03:00
Merge branch 'bugfix/multiple-replace-listeners' of https://github.com/adrianeboyd/spaCy into bugfix/multiple-replace-listeners
This commit is contained in:
commit
138185248d
|
@ -188,7 +188,7 @@ def test_tok2vec_listener(with_vectors):
|
|||
for tag in t[1]["tags"]:
|
||||
tagger.add_label(tag)
|
||||
|
||||
# Check that the Tok2Vec component finds it listeners
|
||||
# Check that the Tok2Vec component finds its listeners
|
||||
assert tok2vec.listeners == [tagger_tok2vec]
|
||||
optimizer = nlp.initialize(lambda: train_examples)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user