mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-10 16:22:29 +03:00
fix typo
This commit is contained in:
parent
219410facb
commit
91b30f9155
|
@ -188,7 +188,7 @@ def test_tok2vec_listener(with_vectors):
|
||||||
for tag in t[1]["tags"]:
|
for tag in t[1]["tags"]:
|
||||||
tagger.add_label(tag)
|
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]
|
assert tok2vec.listeners == [tagger_tok2vec]
|
||||||
optimizer = nlp.initialize(lambda: train_examples)
|
optimizer = nlp.initialize(lambda: train_examples)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user