Fix syntax error

This commit is contained in:
Matthew Honnibal 2018-03-29 21:50:32 +02:00
parent 23afa6429f
commit f3b7c5e537

View File

@ -359,7 +359,7 @@ class Language(object):
"the parser or NER, it's probably safe to increase the "
"nlp.max_length limit. The limit is in number of characters, "
"so you can check whether your inputs are too long by checking "
"len(text)".)
"len(text).")
raise ValueError(msg.format(length=len(text), max_length=self.max_length))
doc = self.make_doc(text)
for name, proc in self.pipeline: