Adjust error [ci skip]

This commit is contained in:
Ines Montani 2020-10-04 15:26:01 +02:00
parent 496228771d
commit d38dc466c5
1 changed files with 2 additions and 2 deletions

View File

@ -185,8 +185,8 @@ class Errors:
"the documentation:\nhttps://nightly.spacy.io/usage/models") "the documentation:\nhttps://nightly.spacy.io/usage/models")
E030 = ("Sentence boundaries unset. You can add the 'sentencizer' " E030 = ("Sentence boundaries unset. You can add the 'sentencizer' "
"component to the pipeline with: `nlp.add_pipe('sentencizer')`. " "component to the pipeline with: `nlp.add_pipe('sentencizer')`. "
"Alternatively, add the dependency parser, or set sentence " "Alternatively, add the dependency parser or sentence recognizer, "
"boundaries by setting `doc[i].is_sent_start`.") "or set sentence boundaries by setting `doc[i].is_sent_start`.")
E031 = ("Invalid token: empty string ('') at position {i}.") E031 = ("Invalid token: empty string ('') at position {i}.")
E033 = ("Cannot load into non-empty Doc of length {length}.") E033 = ("Cannot load into non-empty Doc of length {length}.")
E035 = ("Error creating span with start {start} and end {end} for Doc of " E035 = ("Error creating span with start {start} and end {end} for Doc of "