mirror of https://github.com/explosion/spaCy.git
Fix typo in message
This commit is contained in:
parent
4194bc5744
commit
d7ae54ff44
|
@ -63,7 +63,7 @@ cdef class Tokenizer:
|
||||||
|
|
||||||
cpdef Doc tokens_from_list(self, list strings):
|
cpdef Doc tokens_from_list(self, list strings):
|
||||||
util.deprecated(
|
util.deprecated(
|
||||||
"Tokenizer.from_from list is now deprecated. Create a new Doc "
|
"Tokenizer.from_list is now deprecated. Create a new Doc "
|
||||||
"object instead and pass in the strings as the `words` keyword "
|
"object instead and pass in the strings as the `words` keyword "
|
||||||
"argument, for example:\nfrom spacy.tokens import Doc\n"
|
"argument, for example:\nfrom spacy.tokens import Doc\n"
|
||||||
"doc = Doc(nlp.vocab, words=[...])")
|
"doc = Doc(nlp.vocab, words=[...])")
|
||||||
|
|
Loading…
Reference in New Issue