Fix typo in message

This commit is contained in:
Daniel Hershcovich 2017-11-08 16:06:28 +02:00
parent 4194bc5744
commit d7ae54ff44
No known key found for this signature in database
GPG Key ID: A18B1CBB1C38B59D

View File

@ -63,7 +63,7 @@ cdef class Tokenizer:
cpdef Doc tokens_from_list(self, list strings):
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 "
"argument, for example:\nfrom spacy.tokens import Doc\n"
"doc = Doc(nlp.vocab, words=[...])")