From 2c8408f4f28bb0fca51569c6049b752e7f0690b5 Mon Sep 17 00:00:00 2001 From: kadarakos Date: Mon, 8 May 2023 12:07:26 +0200 Subject: [PATCH] Update spacy/errors.py Co-authored-by: Adriane Boyd --- spacy/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/errors.py b/spacy/errors.py index 9a8cf63c9..bcda4e821 100644 --- a/spacy/errors.py +++ b/spacy/errors.py @@ -970,7 +970,7 @@ class Errors(metaclass=ErrorsWithCodes): E1050 = ("Port {port} is already in use. Please specify an available port with `displacy.serve(doc, port=port)` " "or use `auto_select_port=True` to pick an available port automatically.") E1051 = ("'allow_overlap' can only be False when max_positive is 1, but found 'max_positive': {max_positive}.") - E1052 = ("Both 'min_length' and 'max_length' should be larger than 1, but found" + E1052 = ("Both 'min_length' and 'max_length' should be larger than 0, but found" " 'min_length': {min_length}, 'max_length': {max_length}")