From d38dc466c5d17cc66f6be4edc028e13e41788b6c Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sun, 4 Oct 2020 15:26:01 +0200 Subject: [PATCH] Adjust error [ci skip] --- spacy/errors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/errors.py b/spacy/errors.py index 9145a7b19..20edf45b5 100644 --- a/spacy/errors.py +++ b/spacy/errors.py @@ -185,8 +185,8 @@ class Errors: "the documentation:\nhttps://nightly.spacy.io/usage/models") E030 = ("Sentence boundaries unset. You can add the 'sentencizer' " "component to the pipeline with: `nlp.add_pipe('sentencizer')`. " - "Alternatively, add the dependency parser, or set sentence " - "boundaries by setting `doc[i].is_sent_start`.") + "Alternatively, add the dependency parser or sentence recognizer, " + "or set sentence boundaries by setting `doc[i].is_sent_start`.") E031 = ("Invalid token: empty string ('') at position {i}.") E033 = ("Cannot load into non-empty Doc of length {length}.") E035 = ("Error creating span with start {start} and end {end} for Doc of "