mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +03:00
Fix syntax error
This commit is contained in:
parent
23afa6429f
commit
f3b7c5e537
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user