mirror of
https://github.com/explosion/spaCy.git
synced 2025-03-03 19:08:06 +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 "
|
"the parser or NER, it's probably safe to increase the "
|
||||||
"nlp.max_length limit. The limit is in number of characters, "
|
"nlp.max_length limit. The limit is in number of characters, "
|
||||||
"so you can check whether your inputs are too long by checking "
|
"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))
|
raise ValueError(msg.format(length=len(text), max_length=self.max_length))
|
||||||
doc = self.make_doc(text)
|
doc = self.make_doc(text)
|
||||||
for name, proc in self.pipeline:
|
for name, proc in self.pipeline:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user