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}")