This commit is contained in:
Sofie Van Landeghem 2023-05-31 12:03:27 +02:00 committed by GitHub
parent 219410facb
commit 91b30f9155
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)